Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Limit Attachment Downloads Details »
Limit Attachment Downloads
Mod Version: 1.3, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (12 votes - 4.83 average) Installs: 112
Released: 19 Jul 2007 Last Update: 29 Jul 2007 Downloads: 777
Not Supported DB Changes Uses Plugins Additional Files  

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.

Pictures:
  • The error message.
  • Found in the main vb settings
  • Found in the attachment types setting
  • Found in the usergroup settings

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	1.JPG
Views:	1110
Size:	14.0 KB
ID:	67199   Click image for larger version

Name:	2.JPG
Views:	774
Size:	25.5 KB
ID:	67211   Click image for larger version

Name:	3.jpg
Views:	875
Size:	51.2 KB
ID:	67212   Click image for larger version

Name:	4.JPG
Views:	894
Size:	26.1 KB
ID:	67213  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 05 Aug 2007, 04:41
lasto lasto is offline
 
Join Date: Jan 2002
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
Reply With Quote
  #32  
Old 08 Aug 2007, 05:22
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Originally Posted by hornstar1337 View Post
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!
Originally Posted by Abe1 View Post
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.

thanks.
Reply With Quote
  #33  
Old 09 Aug 2007, 11:43
iDenis iDenis is offline
 
Join Date: Jan 2007
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
Reply With Quote
  #34  
Old 10 Aug 2007, 12:58
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by hornstar1337 View 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!
This would be a totally separate hack.
Originally Posted by hornstar1337 View Post
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.
I dont think I'll add it.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #35  
Old 14 Aug 2007, 01:44
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
K, but it would be really cool to have it all in one, with options to turn certain things on/off
Reply With Quote
  #36  
Old 17 Aug 2007, 15:54
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by hornstar1337 View Post
K, but it would be really cool to have it all in one, with options to turn certain things on/off
You do.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #37  
Old 18 Aug 2007, 07:41
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Originally Posted by Abe1 View Post
You do.
was referring to the extra features I mentioned above would be cool to have those built in
Reply With Quote
  #38  
Old 04 Sep 2007, 00:05
Zi55 Zi55 is offline
 
Join Date: Dec 2006
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
Reply With Quote
  #39  
Old 10 Sep 2007, 21:02
Red Spider's Avatar
Red Spider Red Spider is offline
 
Join Date: Jan 2006
thank you SOOOO much
Reply With Quote
  #40  
Old 11 Sep 2007, 23:27
canntoon canntoon is offline
 
Join Date: Feb 2007
Originally Posted by iDenis View Post
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
Yeah I'm having this same issue.
Reply With Quote
  #41  
Old 11 Sep 2007, 23:46
xandizitxu xandizitxu is offline
 
Join Date: Mar 2005
Thanks a lot! I was looking forward for it ^^
Reply With Quote
  #42  
Old 12 Sep 2007, 11:32
Seiyaboy Seiyaboy is offline
 
Join Date: May 2006
I know this mod is said to be for 3.6.8, but I seriously don't plan on upgrading my 3.6.7PL board at this point. If there aren't much datebase and table changes between the 2 versions, this mod should still work for 3.6.7PL right?


EDITED:
Yes, it works for 3.6.7PL. Thank you very much for this wonderful mod.

Last edited by Seiyaboy; 12 Sep 2007 at 13:07.
Reply With Quote
  #43  
Old 12 Sep 2007, 21:35
xandizitxu xandizitxu is offline
 
Join Date: Mar 2005
Hey! Just want to make a board free of Limit Download is it possible?
Reply With Quote
  #44  
Old 13 Sep 2007, 03:13
xandizitxu xandizitxu is offline
 
Join Date: Mar 2005
it bugged my vbtt :/ had to uninstall
Reply With Quote
  #45  
Old 27 Oct 2007, 14:31
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
where in phrase can i change the wording when they reach the certain amount of downloads, i want to add few things

-pb
__________________
Android Custom Creations
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:43.

Layout Options | Width: Wide Color: