vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Restrict Attachment per Forum? (https://vborg.vbsupport.ru/showthread.php?t=118957)

thedvs 06-18-2006 02:12 PM

Restrict Attachment per Forum?
 
Is there a mod where you can allow/disallow file attachments on a specific forum?

e.g

freeware games - disallow attachments
freeware games torrents - allow attachments

Alan @ CIT 06-18-2006 02:20 PM

Easiest way is to turn "Moderate Attachments" on for the forums you don't want attachments in. Other than that, there is no built-in way to do it.

Thanks,
Alan.

thedvs 06-18-2006 05:03 PM

So basically I either request a custom paid mod or wait for someone to do it?

yup.

Alan @ CIT 06-18-2006 05:04 PM

That's about the size of it, yes.

Thanks,
Alan.

thedvs 06-18-2006 06:06 PM

*thedvs waits for Alan to code it* :)

Alan @ CIT 06-18-2006 06:08 PM

lol - I'll see what I can do later tonight. Just finishing off another hack at the moment :)

Thanks,
Alan.

Edit:
ok, just looked into this and it turns out it can be done without a hack.

AdminCP -> Fourm Permissions

Pick the forum you don't want attachments in and edit the usergroups you want to stop uploading attachments (ie, Registered Users), and set "Can Upload Attachments" to No.

Repeat for any other usergroups / forums and your all done :)

Thanks,
Alan.

thedvs 06-18-2006 09:05 PM

ah cool, thanks alot Alan!


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.01432 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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