Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.219
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Limiting downloads or file size
Limiting downloads or file size

4 Replies / 2720 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » How To's

View previous topic :: View next topic


nextgen
Reputation: 495.1 Add RepSubtract Rep
Local time: 5:10 AM
Location: Maryland
usa.gif

Armour Whore
Armour Whore

0.02 posts per day
Medals: 0

Joined: Jan 09, 2007
Last Visit: 26 Apr 2012
Posts: 43
Points: 1908 

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

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 Messenger Reply with quote

Ped
Reputation: 94 Add RepSubtract Rep
votes: 37
Local time: 5:10 AM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 25 May 2012
Posts: 3675
Points: 191987 

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

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

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-mail Reply with quote

floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 11:10 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.16 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Posted: Sat Apr 14, 2007 12:52 pm

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

You should request some custom work from www.nukecoder.com if you can't find the answer yourself. I think he has done a project like this before.
 

Phpnuke Downloads | VMaxxRx Male Enhancement  
View user's profileSend private messageVisit poster's website Reply with quote


shixter
Reputation: 484.5 Add RepSubtract Rep
votes: 2
Local time: 10:10 PM
Location: Oklahoma, USA
usa.gif

Spammer
Spammer

0.05 posts per day
Medals: 0

Joined: Feb 06, 2007
Last Visit: 13 Apr 2008
Posts: 106
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: 495.1 Add RepSubtract Rep
Local time: 5:10 AM
Location: Maryland
usa.gif

Armour Whore
Armour Whore

0.02 posts per day
Medals: 0

Joined: Jan 09, 2007
Last Visit: 26 Apr 2012
Posts: 43
Points: 1908 

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

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 Messenger Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » How To's


 
4 Replies / 2720 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