Version: 1.3, by Abe1
Developer Last Online: Jun 2010
Category: Administrative and Maintenance Tools -
Version: 3.6.8
Rating:
Released: 07-18-2007
Last Update: 07-28-2007
Installs: 115
DB Changes Uses Plugins
Additional Files
No support by the author.
Limit Attachment Downloads 1.3
The writing of this hack was sponsored by: sama3y.net
About this hack:
This hack allows you to limit the number of attachments users can download during a given time period.
This hack is pretty flexible right now. You can choose how many attachments a user can download in a give time. That given time can be set to an hour, a day, a week, a month, 3 months, 6 months, or a year. You also set which attachment types get counted for this hack. Also, you set which usergroups get affected by this hack and how many downloads each usergoup can make.
If a user tries downloading past their limit, they will get an error message. This error message includes when they will be able to start downloading again.
Also, there is a cron job to remove from the table that this hack creates, all the rows that are past the limit date so your table doesn't grow forever and saves you space.
Files edited: 0
Templates edited: 0
Files to upload: 2 (1 via ACP, 1 via FTP)
Time to install: 1 minute
Updates: Version 1.0 (7/19/07):
First Release of this Hack
Version 1.1 (7/19/07):
[FIXED] MAJOR BUG, the main table needed was not being installed, causing database errors.
[CHANGED] I moved over the attachment limit to the usergroup settings to give an option of different download amounts per usergroup.
Version 1.2 (7/19/07):
[FIXED] I REALLY now fixed the MAJOR BUG, the main table needed was not being installed, causing database errors.
Version 1.3 (7/29/07):
[ADDED] I added a lot more options to 'Download Limit Time Frame' option.
[CHANGED] Thumbnails are not counted as download attachments.
Please post your comments or suggestions for this hack. I read ALL posts.
MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released.
yep because this hack limits them to how many per day/month etc but no incentive to try boost their limit back up.
Not sure if u can pull it off but cheers for hack Abe1
Some of my suggestions for a future update:
1. Any chance to add captcha to the attachments as an option?
2. If users go over allowed attachments, add a count down timer, that they will have to wait before they can download.
These 2 options would be mod of the month for sure!
Quote:
Originally Posted by Abe1
Not sure what you mean. How would this help this hack.This is a feature already! If you try to download an attachment after you used your time already, then it tells you how much time you have left. (look at the first image in the main post)
1. I have 90 00 members on my site, I had a thread created 4 days ago which had a 1.9 meg attachment in it. within 4 days, 30 000 people have downloaded it, that is almost 60GB of bandwidth! I doubt those downloads were unique!
People can login create a bot, and then have that bot keep downloading that attachment to waste bandwidth. Having a catpcha image, would make the bot useless.
Not everyone may want this, but at least having the option in the admincp to turn it on/off would be great! as I would use it for sure!
2. I mean like rapidshare, if they go over then the countdown timer starts exactly like rapidshare, with ajax, so they dont have to refresh etc.
1. I have 90 00 members on my site, I had a thread created 4 days ago which had a 1.9 meg attachment in it. within 4 days, 30 000 people have downloaded it, that is almost 60GB of bandwidth! I doubt those downloads were unique!
People can login create a bot, and then have that bot keep downloading that attachment to waste bandwidth. Having a catpcha image, would make the bot useless.
Not everyone may want this, but at least having the option in the admincp to turn it on/off would be great! as I would use it for sure!
This would be a totally separate hack.
Quote:
Originally Posted by hornstar1337
2. I mean like rapidshare, if they go over then the countdown timer starts exactly like rapidshare, with ajax, so they dont have to refresh etc.
hello ,
if you can add a small feature for it make it limited by IP not by the username , because he can have other username directly and contine downloading , also if you can add speed limit feature it's will be too much nice ,
I really like you hack .
Thanks ,
Zi5