vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Restricted Words & User Groups (https://vborg.vbsupport.ru/showthread.php?t=214935)

quikseps 05-30-2009 06:54 PM

Restricted Words & User Groups
 
I've added the usual list of words I'd like for people not to use on the boards. However, I'm adding a special User Group Forum where basically anything goes and would rather not restrict vocabulary to that particular Forum.

Is there any way to accomplish this?

If not, is there any way all registered uses can choose to view restricted words?

Thanks!

Lynne 05-30-2009 07:13 PM

Are you trying to disallow the censored word filter in that forum or make some sort of option for them to choose to see censored words? Those are two different things. To disable the word censor, you would put this in the plugin:

PHP Code:

$vbulletin->options['enablecensor'] = '0'

The condition you put around it and the hook location are two things I can't guess at from your post. fetch_foruminfo is a good one if it's just per forum.

quikseps 05-30-2009 08:17 PM

Hi Lynne,

Yes, to trying to disallow the censored word filter in that forum.

Thanks.

Lynne 05-30-2009 08:25 PM

Then use fetch_foruminfo and put a condition around it - change x to your forumid:
PHP Code:

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



quikseps 05-30-2009 08:30 PM

Thank you.....you're the best!

--------------- Added [DATE]1243735699[/DATE] at [TIME]1243735699[/TIME] ---------------

Excuse my ignorance, but where exactly do I find:

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

--------------- Added [DATE]1243736251[/DATE] at [TIME]1243736251[/TIME] ---------------

Found it!

Not sure about the Execution Order? Leave this at 5?

--------------- Added [DATE]1243737329[/DATE] at [TIME]1243737329[/TIME] ---------------

Got it.......Works! :)

cybergas 12-30-2009 11:37 PM

quikseps or lynne, can any of you guide me on this, not a clue how to implement this to some forums...

Lynne 12-31-2009 02:55 AM

There isn't really much else to write. The plugin is in post 4. If you don't know about plugins, please read the manual - Plugin System


All times are GMT. The time now is 03: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.01449 seconds
  • Memory Usage 1,723KB
  • 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)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