vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Censorship per Forum (https://vborg.vbsupport.ru/showthread.php?t=93492)

GamerzWorld 10-12-2005 09:40 AM

Question : Is there anyway i could have a global setting for users to turn on/off censor for all forums

woodysfj40 10-12-2005 10:46 AM

Quote:

Originally Posted by GamerzWorld
Question : Is there anyway i could have a global setting for users to turn on/off censor for all forums

excellent question....I'd love it to be user-controlled as well....thanks!

Oblivion Knight 10-13-2005 05:10 AM

Quote:

Originally Posted by makaveli420
I noticed after I installed this plugin , my shoutbox is no longer censored.

is there anyway to fix that?

Looking at the code (default on), I think some kind of else statement on the if condition below is needed:
Code:

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

Try this (untested):
Code:

if ($foruminfo['censor'] == 0)
{
        $vbulletin->options['enablecensor'] = 0;
} else {
        $vbulletin->options['enablecensor'] = 1;
}

This would apply to any other modifications that use the censor I think.

KimmiKat 10-25-2005 04:46 PM

I installed that product, but maybe I'm missing something as the words are still censored in the forums I have turned off.

Ncturnal 10-25-2005 04:48 PM

Quote:

Originally Posted by KimmiKat
I installed that product, but maybe I'm missing something as the words are still censored in the forums I have turned off.

I don't think it is retroactive, but new words shouldn't be censored.

KimmiKat 10-25-2005 04:49 PM

There was some new posts after it was installed, but the words still got censored. My co-admin is taking a look at it though.

KimmiKat 11-01-2005 04:16 PM

Update: My co-admin found the problem. Some of the words was in the replacement variable manager. Nuking them their made the plug-in work.

Quote:

Originally Posted by KimmiKat
There was some new posts after it was installed, but the words still got censored. My co-admin is taking a look at it though.


Jafo232 11-02-2005 07:36 AM

You may want to consider writing this hack up to also affect variable replacements. If you are like me, I use the variable replacement as my filter. So if someone says the f word, it switches it to fudge, etc..

davew 12-09-2005 08:46 PM

Quote:

Originally Posted by Oblivion Knight
Looking at the code (default on), I think some kind of else statement on the if condition below is needed:
Code:

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

Try this (untested):
Code:

if ($foruminfo['censor'] == 0)
{
        $vbulletin->options['enablecensor'] = 0;
} else {
        $vbulletin->options['enablecensor'] = 1;
}

This would apply to any other modifications that use the censor I think.

Sorry, where do I find this code to modify??

davew 12-11-2005 05:25 AM

Quote:

Originally Posted by davew
Sorry, where do I find this code to modify??


I modified the xml file and re-installed, but no go :(

Has anyone managed to fix this for the shoutbox please?


All times are GMT. The time now is 03:07 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.01495 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete