RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
XFileSharing 1.8 thread
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next
 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2109
Location: UFO Lab

PostPosted: Aug 10, 2010 8:36 am    Post subject: Re: limitation issue Reply with quote

gembels wrote:
Hi,

A lot of our users back in Indonesia problem on limitation Max bandwidth last X day(s) settings, can we do limitation only on username only not IP's ? Because a lot of my user using Internet cafe's or university and they use same IP. The problem when you limit b/w on IP's its causing our premium its limited as well.

So I hope developer can help us to disabled limitation on IP Premium user.


Here goes quick hack for ya: in index.cgi find
Code:
#my $cond = $ses->getUser ? "usr_id=".$ses->getUserId : "ip=INET_ATON('".$ses->getIP."')";
my $bw = $db->SelectOne("SELECT SUM(size) FROM IP2Files WHERE ip=INET_ATON(?) AND created > NOW()-INTERVAL ? DAY",$ses->getIP,$c->{bw_limit_days});

then uncomment 1st line and replace 2nd line with
Code:
my $bw = $db->SelectOne("SELECT SUM(size) FROM IP2Files WHERE $cond AND created > NOW()-INTERVAL ? DAY",$ses->getIP,$c->{bw_limit_days});
Back to top
View user's profile Send private message Visit poster's website
PilgrimX182



Joined: 22 Mar 2006
Posts: 2109
Location: UFO Lab

PostPosted: Aug 10, 2010 11:40 am    Post subject: Reply with quote

Changed Sharingmatrix leech to Filesonic since they've made a rebranding.
upload.cgi + index.cgi updated.
Back to top
View user's profile Send private message Visit poster's website
mastypk



Joined: 04 Apr 2010
Posts: 124

PostPosted: Aug 10, 2010 12:23 pm    Post subject: Reply with quote

can we upgrade from v1.7 to v1.8

Can you please provide step by step instructions for those who have nginx & 100% download mod?

Regards
Back to top
View user's profile Send private message
Dulci



Joined: 10 Jun 2010
Posts: 78
Location: Netherlands

PostPosted: Aug 11, 2010 7:05 am    Post subject: Reply with quote

There schould be a sub forum for costumers only with how tos that would be great.
Back to top
View user's profile Send private message
adiga



Joined: 23 Jul 2009
Posts: 117

PostPosted: Aug 12, 2010 2:06 am    Post subject: Reply with quote

after enabled Hotlink original image all old images do not show and show instead the default image
Back to top
View user's profile Send private message MSN Messenger
nik0la



Joined: 30 Dec 2009
Posts: 102

PostPosted: Aug 12, 2010 2:09 am    Post subject: Reply with quote

filefactory.com leech is not working to if you need an account i have one..
Back to top
View user's profile Send private message
idupload



Joined: 04 Jun 2010
Posts: 97
Location: Indonesia

PostPosted: Aug 13, 2010 4:44 am    Post subject: Reply with quote

Report mod :

Can not leech 4shared.com

Code:
http://www.4shared.com/get/4N_dUiZk/The_Temptations_-_My_Girl__aca.html


Quote:
Filename: The_Temptations_-_My_Girl__aca.html
Error: Can not leech 4shared file


--------------------------------------------------------------------------------

For check files please provide all leech check files before download too admin just for suggestion. Thank you

----------------------------------------------------------------------------------

In remote upload please setup too for youtube to be mp3 or mp4 Thank you
Back to top
View user's profile Send private message
idupload



Joined: 04 Jun 2010
Posts: 97
Location: Indonesia

PostPosted: Aug 13, 2010 6:13 am    Post subject: Re: limitation issue Reply with quote

PilgrimX182 wrote:


Here goes quick hack for ya: in index.cgi find
Code:
#my $cond = $ses->getUser ? "usr_id=".$ses->getUserId : "ip=INET_ATON('".$ses->getIP."')";
my $bw = $db->SelectOne("SELECT SUM(size) FROM IP2Files WHERE ip=INET_ATON(?) AND created > NOW()-INTERVAL ? DAY",$ses->getIP,$c->{bw_limit_days});


then uncomment 1st line and replace 2nd line with
Code:
my $bw = $db->SelectOne("SELECT SUM(size) FROM IP2Files WHERE $cond AND created > NOW()-INTERVAL ? DAY",$ses->getIP,$c->{bw_limit_days});




I did not yet find this script in index.cgi
Code:

#my $cond = $ses->getUser ? "usr_id=".$ses->getUserId : "ip=INET_ATON('".$ses->getIP."')";


I only found this line script in index.cgi
Code:
my $bw = $db->SelectOne("SELECT SUM(size) FROM IP2Files WHERE ip=INET_ATON(?) AND created > NOW()-INTERVAL ? DAY",$ses->getIP,$c->{bw_limit_days});


after I replace with new line with this error found in my web

Code:
my $bw = $db->SelectOne("SELECT SUM(size) FROM IP2Files WHERE $cond AND created > NOW()-INTERVAL ? DAY",$ses->getIP,$c->{bw_limit_days});


in our country Indonesia, many users have same IP to login. So could you please updated with limited bandwidth by username not with IP admin? Thank you
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2109
Location: UFO Lab

PostPosted: Aug 13, 2010 8:36 am    Post subject: Reply with quote

idupload: sorry, it's in index_dl.pm
Back to top
View user's profile Send private message Visit poster's website
gembels



Joined: 21 May 2010
Posts: 23

PostPosted: Aug 13, 2010 4:24 pm    Post subject: Reply with quote

@pilgrim

it's sure only limited b/w based on id premium ? but when they use registered and guest login they still limited on IP ? correct ? otherwise registered user just need to register again, its not effective.
Back to top
View user's profile Send private message
idupload



Joined: 04 Jun 2010
Posts: 97
Location: Indonesia

PostPosted: Aug 13, 2010 11:46 pm    Post subject: Reply with quote

gembels wrote:
@pilgrim

it's sure only limited b/w based on id premium ? but when they use registered and guest login they still limited on IP ? correct ? otherwise registered user just need to register again, its not effective.


gembels, so until now your users premium with same IP address public have same limitation bandwidth not different limitation with username??

Admin please help us to solve this solution. Thank you
Back to top
View user's profile Send private message
idupload



Joined: 04 Jun 2010
Posts: 97
Location: Indonesia

PostPosted: Aug 16, 2010 2:03 am    Post subject: Reply with quote

PilgrimX182 wrote:
idupload: sorry, it's in index_dl.pm


My files was exist index.cgi and index_dl.cgi
and now I upload index_dl.pm but it seems limitation bandwidth is not working....

There is a connection between index.cgi - index_dl.cgi and with index_dl.pm ?

I set permission for index_dl.pm : 666

Please I need more advise for this problem admin. Thank you
Back to top
View user's profile Send private message
idupload



Joined: 04 Jun 2010
Posts: 97
Location: Indonesia

PostPosted: Aug 16, 2010 8:17 am    Post subject: Reply with quote

Report can not leech anymore from :
filesonic.com with this files
Code:
http://filesonic.com/en/file/16809891/Inception.2010.720p.TS.XviD-PrisM.part11.rar


Quote:
Filename: Inception.2010.720p.TS.XviD-PrisM.part11.rar
Error: Received HTML page instead of file


status my premium account still valid until
Quote:
Premium Membership Valid Until:
2011-08-01 19:58:54



Please updated new system maybe to integrated filesonic.com admin. Thank you
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2109
Location: UFO Lab

PostPosted: Aug 16, 2010 8:34 am    Post subject: Reply with quote

idupload, first make sure you have 1.8 version, then update upload.cgi on your fileserver. It was updated recently for filesonic.com instead of sharingmatrix.com

gembels, BW is limited by IP ONLY now.
If you're interested, you can modify the logic in index_dl.pm in this part of code:
Code:
if($c->{bw_limit})
{
.....
}
Back to top
View user's profile Send private message Visit poster's website
idupload



Joined: 04 Jun 2010
Posts: 97
Location: Indonesia

PostPosted: Aug 16, 2010 4:16 pm    Post subject: Reply with quote

PilgrimX182 wrote:
idupload, first make sure you have 1.8 version, then update upload.cgi on your fileserver. It was updated recently for filesonic.com instead of sharingmatrix.com

gembels, BW is limited by IP ONLY now.
If you're interested, you can modify the logic in index_dl.pm in this part of code:
Code:
if($c->{bw_limit})
{
.....
}


PilgrimX182
what is the mean way to replace bw_limit with username not from IP ?? Because we are have same problem like gembels.
Please more detail. Thank you

PilgrimX182 can you change system premium account on megaupload, hotfile, 4shared.com from username:password with cookies only??
Thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next
Page 11 of 12

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group