Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
Daz's Avatar
Daz : To right I fecking bite
Daz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond repute
offline Joined: Sep 2007 Posts: 455 Thanked: 166
  #1  
Thread Starter Unread 09-30-07
Limit Attachment Downloads 1.3

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.

Pictures:
  • The error message.
  • Found in the main vb settings
  • Found in the attachment types setting
  • Found in the usergroup settings
Attached Images You must register or login to view attachments.
Attached Files Click the thanks button to view this attachment.
D-Spayre's Avatar
D-Spayre : Newbie +
D-Spayre is on a distinguished road
offline Joined: Feb 2009 Posts: 10 Thanked: 1
  #2  
Unread 04-08-09
Will this work for vBulletin 3.8.1?
If not is there one that will?

Thanks
dark_hunter's Avatar
dark_hunter : OldSkool
dark_hunter is on a distinguished road
offline Joined: Jan 2009 Location: New Zealand, Auckland Posts: 1,697 Thanked: 458
  #3  
Unread 04-08-09
Originally Posted by D-Spayre View Post
Hover to view full quote
Will this work for vBulletin 3.8.1?
If not is there one that will?

Thanks
Even better, I tested on vB 3.8.2 and works well!
Quote
The Following User Says Thank You to dark_hunter For This Useful Post:
D-Spayre's Avatar
D-Spayre : Newbie +
D-Spayre is on a distinguished road
offline Joined: Feb 2009 Posts: 10 Thanked: 1
  #4  
Unread 04-08-09
Thanks very much...
mindhunter77's Avatar
mindhunter77 : Newbie
mindhunter77 is on a distinguished road
offline Joined: Dec 2008 Posts: 2 Thanked: 0
  #5  
Unread 05-05-09
Tried this on 3.72 and never got it to work. Very buggy.
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
downloads, attachment, limit
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
Powered by GYSN Underground 2021