SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
[QUESTION] Possible to change Max bandwidth, hour -> day

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
Rocket_Man



Joined: 28 May 2008
Posts: 19

PostPosted: May 28, 2008 12:06 pm    Post subject: [QUESTION] Possible to change Max bandwidth, hour -> day Reply with quote

Hello,

I see in demo it is possible to control Users Limits with the parameter
Max bandwidth per hour (Mbytes per IP)

Is it easy/possible to adjust this to something like
Max bandwidth per day (Mbytes per IP)?

(i want the function Rapidshare has with 25GB/5days, this would almost be the same).

If this is possible I will go for your script ASAP.

-----

Additionally, is it possible to have the Users Limits to follow user account as well as IP? (Problem with this User Limit is if several people are using same account or people use non-static IP). Maybe a future feature?


Last edited by Rocket_Man on May 30, 2008 10:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
Namaless



Joined: 20 Apr 2008
Posts: 107
Location: Italy

PostPosted: May 28, 2008 12:34 pm    Post subject: Reply with quote

I like feature to limited to user account but in addictional to limited to ip (use all two limits).

Regards.
Back to top
View user's profile Send private message MSN Messenger
Rocket_Man



Joined: 28 May 2008
Posts: 19

PostPosted: May 29, 2008 2:04 pm    Post subject: Reply with quote

yes. Both options is very usefull.

----

Is it possible to control Users Limits to "max bandwidth" "per day" ?
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: May 30, 2008 9:43 am    Post subject: Reply with quote

This is in my TODO list, but I'm leaving on vacation next week, so next version will be in July only.

But here goes quick hack for you if you wanna use limit per day instead of per hour:
in index.cgi find
Code:
3600*$file->{file_size}/($c->{mb_per_hour}*1048576

and replace 3600 with 3600*24

And use hour-limit in config as day-limit actually then.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Rocket_Man



Joined: 28 May 2008
Posts: 19

PostPosted: May 30, 2008 10:27 pm    Post subject: Reply with quote

Brilliant my friend. Thank you for info.

It is good to know your are working with development of the script.

Going to invest in it Wink
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Jun 05, 2008 5:58 am    Post subject: Reply with quote

Yea. Yesterday implemented feature that you can limit each type of user bandwidth X Mb per last Y days. Kind of like in rapidshare.
Will be in next version.

Now not sure if I should remove that current feature when after download we calculate next time when you can download next file, so you see "Wait 12 minutes till next download".
What do you think?
Back to top
View user's profile Send private message Visit poster's website AIM Address
Namaless



Joined: 20 Apr 2008
Posts: 107
Location: Italy

PostPosted: Jun 05, 2008 7:37 am    Post subject: Reply with quote

PilgrimX182 wrote:
Yea. Yesterday implemented feature that you can limit each type of user bandwidth X Mb per last Y days. Kind of like in rapidshare.
Will be in next version.

Now not sure if I should remove that current feature when after download we calculate next time when you can download next file, so you see "Wait 12 minutes till next download".
What do you think?

It's good..
I like this feature, but not remove hour/ip... add this to the script.. Wink

Regards.
Back to top
View user's profile Send private message MSN Messenger
Rocket_Man



Joined: 28 May 2008
Posts: 19

PostPosted: Jun 06, 2008 1:45 pm    Post subject: Reply with quote

PilgrimX182 wrote:
[..]Now not sure if I should remove that current feature when after download we calculate next time when you can download next file, so you see "Wait 12 minutes till next download".
What do you think?

Please keep this feature.
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
Page 1 of 1

 
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