vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Reserve specific BBCode for Mods ? (https://vborg.vbsupport.ru/showthread.php?t=58595)

crazza 11-14-2003 11:08 AM

Reserve specific BBCode for Mods ?
 
I am looking for a way to make certain custom BB tags only available for moderators. I thought censoring the applicable tags would do the trick, but alas.. the BBCode parsing takes place before the Censoring.

Does anyone have a clue how to solve this ? It would be a very handy way to make certain automatic formatting available to moderators.. with little overhead.

Thanx for you input!

sabret00the 11-14-2003 12:52 PM

this is the long way to acheive what you wanna acheive but should do the trick

anyway in your functions.php find
PHP Code:

##### vBcode 

make 2 conditionals around it the first will be if any of the vbcodes you want then check usergroup if ok then do vbcode else make a little javascript pop up to say you are not authorised to use this vbcode

i would help you more but i'm nto on my computer and thus have no access to the code in order to try and wrtie the conditinals for you :(


All times are GMT. The time now is 08:06 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.01001 seconds
  • Memory Usage 1,708KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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