Clan Adverts

www.afgserv.com

 

www.clan-themes.co.uk :: View topic - Limiting downloads or file size

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Limiting downloads or file size

4 Replies / 1382 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » How To's

View previous topic :: View next topic


nextgen
Reputation: 472.2
Local time: 2:40 AM
Location: modded.nuke@yahoo.com
usa.gif

Status: Offline
0.08 posts per day
Medals: 0

Joined: Jan 09, 2007
Last Visit: 17 Aug 2008
Posts: 46
Points: 74 

Post Limiting downloads or file size Posted: Fri Apr 13, 2007 11:05 pm   

Shop Purchases:
Multi-T3 Multi Gaming Theme

Does anyone know of a way for me to either limit a users amount of downloads per day or limit a user to a certain size limit like 1 meg of downloads a day total. I am trying to save bandwidth and either of these would work. Does someone know of a way to help me ?
 

Electrician  
View user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger Reply with quote

Ped
Reputation: 368
votes: 17
Local time: 2:40 AM
Location: Great British Empire
uk.gif

Status: Offline
2.58 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 06 Sep 2008
Posts: 1710
Points: 11558 

Post Re: Limiting downloads or file size Posted: Sat Apr 14, 2007 8:15 am   

I have a add on to do:

Quote:
PHP-Nuke Download Module modification to restrict access based upon either post count or points total.


i bet this could be done, i know Western Studios does this or there downloads they have a limit downloads to 3 a day for none subscribers, where as us here at CT uses points, and we can set the points to what ever we like for a downloads...
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

floppy
Reputation: 2252.3
votes: 10
Local time: 8:40 PM
Location: Jackson Mississippi
usa.gif

Status: Offline
3.06 posts per day
Medals: 1 (View more...)
Dedicated User (Amount: 1)
Clan Themes Scripts/Coder
Clan Themes Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 06 Sep 2008
Posts: 2030
Points: 27601 

View user's profileSend private messageVisit poster's website Reply with quote

shixter
Reputation: 483.9
votes: 1
Local time: 7:40 PM
Location: Oklahoma, USA
usa.gif

Status: Offline
0.20 posts per day
Medals: 0

Joined: Feb 06, 2007
Last Visit: 13 Apr 2008
Posts: 113
Points: 2683 

Post Posted: Sun Apr 15, 2007 4:54 am   

As a start, couldn't you use something similar to what restricts pm box limits and implement it's coding to work somewhat with download allowances? I mean, everything should be there to setup the beginning code for limiting other options such as downloads and uploads. Also, this site has something that limits and counts the amount of uploads for the bonus feature that was just implemented. Wouldn't that be something similar? Instead of limiting or counting the amount, it could be modded to limit and/or count size.

Not that I know a whole lot about PHP, but the ideal seems to be the same.
 

 
View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger Reply with quote




nextgen
Reputation: 472.2
Local time: 2:40 AM
Location: modded.nuke@yahoo.com
usa.gif

Status: Offline
0.08 posts per day
Medals: 0

Joined: Jan 09, 2007
Last Visit: 17 Aug 2008
Posts: 46
Points: 74 

Post Re: Posted: Sun Apr 15, 2007 10:27 pm   

Shop Purchases:
Multi-T3 Multi Gaming Theme

Something like what is here would be a terrific start. This is just for saving bandwidth. I never looked at nukecoder but definately will. Thanks for the tips my friends. If you would care to share the code on how you put a cost on your downloads please feel free to pm it to me if not i understand.
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger Reply with quote
Post new topic   Reply to topic  
   www.clan-themes.co.uk Forum Index » How To's


 
4 Replies / 1382 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
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
You cannot attach files in this forum
You can download files in this forum