vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Turning off the Censor in certain Forums (https://vborg.vbsupport.ru/showthread.php?t=294542)

Ba'al 01-29-2013 10:20 PM

Turning off the Censor in certain Forums
 
I know this has been posted but i just cant seem to find it "How do i turn off the Censorship in certain Forums", i apologize for this
but i just couldn't find it and searches brought up nothing.

Lynne 01-30-2013 03:29 AM

Try the forumdisplay_start hook location and something like this:
PHP Code:

if ($foruminfo['forumid'] == x) {
$vbulletin->options['enablecensor'] = 0;


Note that this will have no effect on posts already made and censored in that forum.

Ba'al 01-30-2013 07:17 PM

Quote:

Originally Posted by Lynne (Post 2400430)
Try the forumdisplay_start hook location and something like this:
PHP Code:

if ($foruminfo['forumid'] == x) {
$vbulletin->options['enablecensor'] = 0;


Note that this will have no effect on posts already made and censored in that forum.

And change 'enable' to 'disable' in that certain forum, ok gotcha........Thanx Lynne

Lynne 01-30-2013 08:12 PM

No. The name of the option is "enablecensor" not "disablecensor" (there is no such option as "disablecensor"). So, turn on the censor and then use that plugin to turn it off (0 for off, 1 for on) in that forum.

Ba'al 01-31-2013 04:43 AM

gotcha, sorry its been a long couple of days

Thanx, Lynne


All times are GMT. The time now is 05:03 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.01028 seconds
  • Memory Usage 1,721KB
  • 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_php_printable
  • (1)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