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: 111
Released: 19 Jul 2007 Last Update: 29 Jul 2007 Downloads: 773
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:	1103
Size:	14.0 KB
ID:	67199   Click image for larger version

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

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

Name:	4.JPG
Views:	886
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.
Comments
  #2  
Old 19 Jul 2007, 05:03
shadowevil shadowevil is offline
 
Join Date: Apr 2006
first post ... nice mod ... *installed*
Reply With Quote
  #3  
Old 19 Jul 2007, 05:14
Roflstilzchen Roflstilzchen is offline
 
Join Date: Nov 2006
cool hack, thank you

[edit] doesn´t work with 3.6.5

Last edited by Roflstilzchen; 19 Jul 2007 at 05:24.
Reply With Quote
  #4  
Old 19 Jul 2007, 05:39
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
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.
Reply With Quote
  #5  
Old 19 Jul 2007, 05:50
bashy bashy is offline
 
Join Date: Nov 2005
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?
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #6  
Old 19 Jul 2007, 09:43
mhammed mhammed is offline
 
Join Date: Sep 2005
don't work
database error when downloading of a group subjected to this hack
Reply With Quote
  #7  
Old 19 Jul 2007, 11:04
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by mhammed View Post
don't work
database error when downloading of a group subjected to this hack
Can you post the error message?
Originally Posted by Roflstilzchen View Post
cool hack, thank you

[edit] doesn´t work with 3.6.5
What doesn't work?
__________________
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
  #8  
Old 19 Jul 2007, 12:22
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
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.

Upload BOTH files again.
__________________
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
  #9  
Old 19 Jul 2007, 12:53
mhammed mhammed is offline
 
Join Date: Sep 2005
install the 2 end version
member can download 1 st file
the second file give database error
Reply With Quote
  #10  
Old 19 Jul 2007, 14:37
Roflstilzchen Roflstilzchen is offline
 
Join Date: Nov 2006
Originally Posted by Abe1 View Post
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.

Upload BOTH files again.
uploaded new files, deinstalled old hack and installed new one, controlled settings but still doesn´t work.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #11  
Old 19 Jul 2007, 17:17
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by Roflstilzchen View Post
uploaded new files, deinstalled old hack and installed new one, controlled settings but still doesn´t work.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Can you uninstall then re-install?
__________________
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
  #12  
Old 19 Jul 2007, 18:36
Roflstilzchen Roflstilzchen is offline
 
Join Date: Nov 2006
Originally Posted by Abe1 View Post
Can you uninstall then re-install?
that´s what i meant with deinstalling and installing the new one.
Reply With Quote
  #13  
Old 19 Jul 2007, 19:50
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Any way I can check you ACP?
__________________
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
  #14  
Old 19 Jul 2007, 20:08
DJ XtAzY DJ XtAzY is offline
 
Join Date: Feb 2005
Awesome! Now i dont need to use the points to download attachments for our members =]
Reply With Quote
  #15  
Old 19 Jul 2007, 20:36
Roflstilzchen Roflstilzchen is offline
 
Join Date: Nov 2006
Originally Posted by Abe1 View Post
Any way I can check you ACP?
you´ve got a pm

Last edited by Roflstilzchen; 19 Jul 2007 at 20:52.
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:09.

Layout Options | Width: Wide Color: