![]() |
Limit Attachment Downloads
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.
Updates: Version 1.0 (7/19/07):
Version 1.1 (7/19/07):
Version 1.2 (7/19/07):
Version 1.3 (7/29/07):
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. Pictures:
|
first post ... nice mod ... *installed*
|
cool hack, thank you :)
[edit] doesn?t work with 3.6.5 :( |
This is something that heaps of people have been wanting for ever! very nice work.
Will install it on my site very soon. I have some ideas for extra features, if your interested in expanding it, let me know. thanks. |
Hi
Great idea, i will take a look at it tonight Abe1, thanks :) Perhaps 1 post could reset the limit? Also, would this work with Downloads II or, could you make this work with it please Abe1? |
don't work
database error when downloading of a group subjected to this hack |
Quote:
Quote:
|
Version 1.1 (7/19/07):
Upload BOTH files again. |
install the 2 end version
member can download 1 st file the second file give database error |
Quote:
Code:
Invalid SQL: |
Quote:
|
Quote:
|
Any way I can check you ACP?
|
Awesome! Now i dont need to use the points to download attachments for our members =]
|
Quote:
|
Version 1.2 (7/19/07):
|
thank you, works great now :)
|
Great work mate. Is it possible, i still havent installed so i dont know, to limit it per forum?
|
Quote:
|
If a user reaches their limit, will they still be able to see the thumbnails of attachment images or will they not be displayed ?
This mod would suit my site fantastically but I would still need users to be able to see thumbnails when they have reached their limit. |
Installed and working.
Great work. thanks. Quote:
Quote:
I didn't enabled the plugin for "jpg, gif, png and psd files" and enabled it for .dwg, .3ds, .rar, .zip, etc. When a user uploads a new attachment in (dwg, 3ds, rar, etc) i create a thumb so user sees what they are downloading. |
Quote:
ACP -> Products & Plugins -> Plugin Manager -> Edit attachment_display thus : Code:
change |
Version 1.3 (7/29/07):
Just re-upload the product XML file. |
The product download is for 1.2 yet the latest version is 1.3 ???
|
Quote:
|
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! |
Very good concept :p
|
Quote:
Quote:
|
this is quite good but how about if a user uploads an attachment in a specific forum then their attachment limit goes up by 1
This would encourage people to just not download attachments but also to upload stuff which is relevant to the site in question. |
Quote:
|
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 |
Quote:
Quote:
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. thanks. |
Thanks...nice mod ...
But now I'm have a simple problem... Group "Unregistered / Not Logged In" don't have "Limit Attachment Downloads" and "Download Attachment Limit" parameters :confused: |
Quote:
Quote:
|
K, but it would be really cool to have it all in one, with options to turn certain things on/off
|
Quote:
|
Quote:
|
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 |
thank you SOOOO much :D
|
Quote:
|
All times are GMT. The time now is 02:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|