vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Limit Attachment Downloads (https://vborg.vbsupport.ru/showthread.php?t=152701)

chapsrulez 07-27-2007 03:14 PM

Installed and working.
Great work.
thanks.

Quote:

Originally Posted by Virtuosofriend (Post 1296428)
Great work mate. Is it possible, i still havent installed so i dont know, to limit it per forum?

I think it can be done, in my site i have a download subforum, and per usergoups i deny the downloads. on all other subforums downloads are enable.

Quote:

Originally Posted by PlymWS (Post 1302330)
If a user reaches their limit, will they still be able to see the thumbnails of attachment images or will they not be displayed ?

This mod would suit my site fantastically but I would still need users to be able to see thumbnails when they have reached their limit.

In my site works
I didn't enabled the plugin for "jpg, gif, png and psd files" and enabled it for .dwg, .3ds, .rar, .zip, etc.
When a user uploads a new attachment in (dwg, 3ds, rar, etc) i create a thumb so user sees what they are downloading.

PlymWS 07-27-2007 03:55 PM

Quote:

Originally Posted by PlymWS (Post 1302330)
If a user reaches their limit, will they still be able to see the thumbnails of attachment images or will they not be displayed ?

This mod would suit my site fantastically but I would still need users to be able to see thumbnails when they have reached their limit.

This was easier than I thought. For everyone else who wants this feature :

ACP -> Products & Plugins -> Plugin Manager -> Edit attachment_display thus :
Code:

change

if ($count_download)

to read

if ($count_download && !$vbulletin->GPC['thumb'])

Save.

Abe1 07-29-2007 04:06 AM

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.

Just re-upload the product XML file.

PlymWS 07-29-2007 12:12 PM

The product download is for 1.2 yet the latest version is 1.3 ???

Abe1 07-29-2007 01:36 PM

Quote:

Originally Posted by PlymWS (Post 1304543)
The product download is for 1.2 yet the latest version is 1.3 ???

Sorry, forgot to change the file. Check now.

Hornstar 08-01-2007 02:51 AM

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!

gforce75 08-01-2007 03:13 AM

Very good concept :p

Abe1 08-01-2007 10:58 AM

Quote:

Originally Posted by hornstar1337 (Post 1306693)
1. Any chance to add captcha to the attachments as an option?

Not sure what you mean. How would this help this hack.
Quote:

Originally Posted by hornstar1337 (Post 1306693)
2. If users go over allowed attachments, add a count down timer, that they will have to wait before they can download.

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)

lasto 08-04-2007 05:41 PM

this is quite good but how about if a user uploads an attachment in a specific forum then their attachment limit goes up by 1

This would encourage people to just not download attachments but also to upload stuff which is relevant to the site in question.

Abe1 08-05-2007 01:15 AM

Quote:

Originally Posted by lasto (Post 1309781)
this is quite good but how about if a user uploads an attachment in a specific forum then their attachment limit goes up by 1

This would encourage people to just not download attachments but also to upload stuff which is relevant to the site in question.

If a user uploads an attachment, then they get an extra download?


All times are GMT. The time now is 04:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01086 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete