vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Attachment Extensions on a Per Forum Basis? (https://vborg.vbsupport.ru/showthread.php?t=64781)

dustyb 05-05-2004 04:34 PM

Attachment Extensions on a Per Forum Basis?
 
Background: A couple of our forums could be greatly enhanced by a subforum which would act as the moderator's file library. Only the moderator would have post privileges (custom permissions), and the "library" files would essentially be just attachments. I figure for the anticipated volume of library files, the customized subforum approach would be far easier than deploying a full-blown file libary hack.

Problem: I need to allow the moderator to post .xls, .doc, and even .exe and .dll files. Even though this subforum post privileges would be limited to one person (the moderator), it appears I would still need to add these attachment extensions to the global settings. I don't want to enable these extensions for any of the other forums, so that is a problem.

Question: This has been posted before with no replies... Is there a hack or hack suggestion that would enable custom attachment extensions on a per forum basis

dustyb 05-10-2004 07:44 PM

Nobody has any thoughts on this? I should think it would be a very useful hack. If no free tips are forthcoming here, would any of the vBulletin experts be willing to undertake this as a paid job? I need to make it happen one way or another. Thanks.

Robbban 07-22-2004 03:34 PM

Gah, no solution yet?!

Robbban 07-22-2004 04:37 PM

I have fixed a simple hack now that denies the user to upload a certain filetype (stored in an array) if he is not posting in an certain forum (stored in an array). Pretty simple but haven't made any config options yet.


All times are GMT. The time now is 02:21 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.00875 seconds
  • Memory Usage 1,717KB
  • 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
  • (4)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