Register Members List Search Today's Posts Mark Forums Read

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

vB Version: 4.0.x Rating: (9 votes - 4.89 average) Installs: 71
Released: 02 May 2010 Last Update: Never Downloads: 407
Not Supported DB Changes Uses Plugins Additional Files  

Limit Attachment Downloads



The writing of this hack was originally 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.40 (05/02/10):
  • First release of this hack for vb 4.0.

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:	774
Size:	14.0 KB
ID:	116592   Click image for larger version

Name:	2.JPG
Views:	538
Size:	25.5 KB
ID:	116593   Click image for larger version

Name:	3.JPG
Views:	717
Size:	82.4 KB
ID:	116594   Click image for larger version

Name:	4.JPG
Views:	545
Size:	26.1 KB
ID:	116595  

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.
Similar Mod
Mod Developer Type Replies Last Post
Administrative and Maintenance Tools Limit Attachment Downloads Abe1 vBulletin 3.6 Add-ons 106 13 May 2014 15:03

  #16  
Old 16 May 2010, 17:17
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Real name: Haytham
Lightbulb

Does this also work on 3.8.5? 1.3 is giving weird dates like the attached pic..hope this will work.
Attached Images
File Type: jpg what.jpg (31.7 KB, 29 views)
Reply With Quote
  #17  
Old 16 May 2010, 19:24
kho91 kho91 is offline
 
Join Date: Dec 2007
yhank you !
installed and N MOTM
Reply With Quote
  #18  
Old 19 May 2010, 13:53
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Originally Posted by haytham View Post
Does this also work on 3.8.5? 1.3 is giving weird dates like the attached pic..hope this will work.
If you have a member that is a Mod but additionally is a (limited) registered member, you will get the weird dates. you need ( 1 ) group as the limited attachment group. example a VIP can not also be a registered member if they are limited. Or you get the weird dates.

as I said Before, I have 2 Groups registered and VIP registered are Limited, but if they become a VIP then I move them as primary VIP group and are not in the registered group. Of course the VIP is configured same as the Registered group but can enter the Vip section where Registered members can not. So they need to be separate and you can't have them as a VIP and a Registered member at the same time. I hope that made some sense LOL It's hard to explain it right.
Reply With Quote
  #19  
Old 12 Aug 2010, 05:41
MmS1 MmS1 is offline
 
Join Date: Nov 2008
Fatal error: Using $this when not in object context in /home/Io22/public_html/vb/attachment.php(132) : eval()'d code on line 1

vb 3.8.5
Reply With Quote
  #20  
Old 13 Sep 2010, 23:47
smoggy07 smoggy07 is offline
 
Join Date: Feb 2010
great tool, thumbs up ;o)

thanks for this

any chance on getting this working with 4.0.6 Patch Level 1?

we did have this working before we upgraded but now our resident VB guru informs me it has stopped working

is there anyone else on 4.0.6 Patch Level 1 who has this working or had it working but is now having problems after upgrading?
__________________
DJ Smoggy NZB-Forum
Reply With Quote
  #21  
Old 10 Jan 2011, 15:56
Da-Vinci Da-Vinci is offline
 
Join Date: Mar 2010
Originally Posted by haytham View Post
Does this also work on 3.8.5? 1.3 is giving weird dates like the attached pic..hope this will work.
Originally Posted by MmS1 View Post
Fatal error: Using $this when not in object context in /home/Io22/public_html/vb/attachment.php(132) : eval()'d code on line 1

vb 3.8.5
Funny how people wonder why a VB4 hack doesn't work on VB3.X forum.
Reply With Quote
  #22  
Old 27 Jan 2011, 13:50
ellinofatsa's Avatar
ellinofatsa ellinofatsa is offline
 
Join Date: Mar 2010
i have 4,1,1 is that work?
__________________
thanks for time
Reply With Quote
  #23  
Old 28 Jan 2011, 02:25
Dadoo Dadoo is offline
 
Join Date: Dec 2004
Yes, it's working with vBulletin 4.1.1 i just tested it..
Reply With Quote
  #24  
Old 28 Jan 2011, 05:51
ellinofatsa's Avatar
ellinofatsa ellinofatsa is offline
 
Join Date: Mar 2010
help

Originally Posted by Dadoo View Post
Yes, it's working with vBulletin 4.1.1 i just tested it..
i have instal that hack bad i dont find this setings in the image,can i have litle halp please?
i have vb 4,1,1

__________________
thanks for time

Last edited by ellinofatsa; 28 Jan 2011 at 06:20.
Reply With Quote
  #25  
Old 30 Jan 2011, 02:23
Dadoo Dadoo is offline
 
Join Date: Dec 2004
Have you tried to uninstall and reinstall the mod ?

You have blank setting instead, or no setting at all from mod ?
Reply With Quote
  #26  
Old 31 Jan 2011, 22:33
ellinofatsa's Avatar
ellinofatsa ellinofatsa is offline
 
Join Date: Mar 2010
i cant find this setings in the image were i can find this in vb 4?
__________________
thanks for time
Reply With Quote
  #27  
Old 05 Mar 2011, 10:15
shempsall2009 shempsall2009 is offline
 
Join Date: Feb 2010
Hi there,

I have just install this mod but I'm getting an Error. When I Activate the mod I try and download an Attachment but it is saying that my Download Limit has been reached and that I will be able to download again on the 01/01/70.

The weird thing is though I set is up for a daily limit and allowed Admin to download unlimited.

Please can someone help?

Thanks
Reply With Quote
  #28  
Old 11 Jan 2012, 04:14
huevncom huevncom is offline
 
Join Date: Dec 2011
How to limit download attach per day
eg: 5 download attach/user/1day
Reply With Quote
  #29  
Old 02 Feb 2012, 13:54
Munkholm Munkholm is offline
 
Join Date: Dec 2010
Is there a way to activate this for Usergroup 1 aka: "Unregistered / Not Logged In" ??
I'm allowing visitors to download attachments, but would like to limit their downloads with this awesome mod!
__________________
- Munkholm

www.revitforum.org
Reply With Quote
  #30  
Old 28 Feb 2012, 14:39
GossipAll GossipAll is offline
 
Join Date: Oct 2010
I am not able to get this to work on 4.1.7

I have set VB Options as Yes and set it to 12 hours.

I have set the option to Yes in attachment types for all the types of attachments.

I have set the permissions in usergroup (Admin) to Yes and put the attachment limit as 1.

But when I try to download attachments, I could download them all. How does this work?
__________________
IBPS Exam Forum | Easy Recipes Menu
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 08:59.

Layout Options | Width: Wide Color: