vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to restrict file download for new users? (https://vborg.vbsupport.ru/showthread.php?t=222241)

sid_earth 09-01-2009 06:49 PM

How to restrict file download for new users?
 
How can I restrict new users (say who have less than 10 posts) from downloading any files uploaded on the forum (e.g. doc, xls, etc.)?

Thanks in advance!

Lynne 09-01-2009 07:20 PM

You would create a new usergroup and promote users to the new group after 10 posts. Then change the permissions for the original group (less than 10 posts) to not be able to download attachments. I think there may be a mod that does this a different way than using the default vbulletin way also.

Brandon Sheley 09-01-2009 07:23 PM

aww, I was hoping for something else when I read the thread title :p
was thinking it was going to be a bot or something :D

Lynne 09-01-2009 07:46 PM

*snicker* Now Brandon, get you mind back on vbulletin!

sid_earth 09-01-2009 07:57 PM

Quote:

Originally Posted by Lynne (Post 1877962)
You would create a new usergroup and promote users to the new group after 10 posts. Then change the permissions for the original group (less than 10 posts) to not be able to download attachments. I think there may be a mod that does this a different way than using the default vbulletin way also.

Thank you Lynne! Its now working perfectly. I have one more question though. For users, who do not have permission to download files, currently see the default Message, when they click on the document link:

Quote:

you do not have permission to access this page. This could be due to one of several reasons:
  1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

How can I put up a custom message, specific to this situation, and NOT show the above default message?

Thanks again and sorry for all the trouble!


All times are GMT. The time now is 12:56 PM.

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.01001 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete