Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Limit Attachment Downloads Details »»
Limit Attachment Downloads
Version: 1.40, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.x Rating:
Released: 05-01-2010 Last Update: Never Installs: 73
DB Changes Uses Plugins
Additional Files  
No support by the author.

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

File Type: zip limit_attachment_downloads_1_40.zip (4.1 KB, 531 views)

Screenshots

File Type: jpg 1.JPG (14.0 KB, 0 views)
File Type: jpg 2.JPG (25.5 KB, 0 views)
File Type: jpg 3.JPG (82.4 KB, 0 views)
File Type: jpg 4.JPG (26.1 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 04-01-2012, 09:43 PM
angeljs's Avatar
angeljs angeljs is offline
 
Join Date: Aug 2005
Location: UK
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Munkholm View Post
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!
Yes, this is a really important thing, to be able to limit guests. I'd like them to be able to see image attachments, but not to be able to download any zip or rar files.

Other than that, really great mod!
Reply With Quote
  #33  
Old 04-20-2012, 06:28 AM
angeljs's Avatar
angeljs angeljs is offline
 
Join Date: Aug 2005
Location: UK
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wondering if this has been addressed, yet? I desperately need this mod but really need to be able to configure it for guests.
Reply With Quote
  #34  
Old 09-24-2012, 02:07 AM
ScrapingWeb.com ScrapingWeb.com is offline
 
Join Date: Aug 2012
Location: Kavoir.com
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod. I just marked it installed

Can you please tell me where all the settings are? Thus far I can only find this: Attachments -> Attachment Permissions -> click one of the types -> Limit Downloads with this Attachment Type, Yes or No.....

That's it. Where is the settings to set time frame and number of downloads per time frame?

============ Edit ============

I was able to find the other settings but this one I still couldn't find:

https://vborg.vbsupport.ru/attachmen...5&d=1272829929

Can you please tell me where it is?

And is the download limit per attachment or across the entire forum?

For example, say I have 3 attachments for members to download: a1, a2, a3. I have set the download limit to be 1 per month. The user is then able to:

1. Perform 1 download per month, no matter which attachment. He or she must be a member for 3 months to download all 3 attachments.
2. Perform 1 download per attachment per month. This means he or she can download only once per attachment per month, but he or she can download all 3 attachments in just 1 month.

Which one of the above sayings is true?
Reply With Quote
  #35  
Old 09-25-2012, 08:55 PM
keyla31's Avatar
keyla31 keyla31 is offline
 
Join Date: Feb 2009
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working perfect in 4.2
Reply With Quote
  #36  
Old 11-19-2012, 12:05 AM
t.uzuner t.uzuner is offline
 
Join Date: Oct 2007
Location: ankara/t?rkiye
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to be a member to redirect warning by changing the words
Reply With Quote
  #37  
Old 02-13-2014, 08:24 AM
Alex6969 Alex6969 is offline
 
Join Date: May 2012
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

info for installation? thanks all
Reply With Quote
  #38  
Old 02-13-2014, 11:19 AM
Alex6969 Alex6969 is offline
 
Join Date: May 2012
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed the product,
but I do not understand where to set restrictions for new users
Can you tell how to make the blocks for different users? thanks
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04925 seconds
  • Memory Usage 2,310KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (5)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete