Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Censorship per Forum Details »»
Censorship per Forum
Version: 1.00, by Cyricx Cyricx is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Version: 3.5.8 Rating:
Released: 08-02-2005 Last Update: 08-04-2005 Installs: 76
DB Changes Uses Plugins Template Edits
 
No support by the author.

This hack enables you to disable the censorship for certain forums through the admincp.

Special thanks to KirbyDe and Live Wire for their two excellent posts on the Product Management System and How to add options per forump

Pretty easy to install, just import this through your product management system.

And if you wish, one template edit to add a line to the Forum Rules box denoting whether the censor is on or off for that forum.

Screenshots of the admincp and forumrules included.

UPDATE - Included a version to have the censor off on default.

If you have already installed the first version (Default ON), and want the Default OFF, uninstall the old one, then install the Default OFF version.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-12-2005, 09:40 AM
GamerzWorld's Avatar
GamerzWorld GamerzWorld is offline
 
Join Date: Aug 2003
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question : Is there anyway i could have a global setting for users to turn on/off censor for all forums
Reply With Quote
  #23  
Old 10-12-2005, 10:46 AM
woodysfj40 woodysfj40 is offline
 
Join Date: Jun 2004
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #24  
Old 10-13-2005, 05:10 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #25  
Old 10-25-2005, 04:46 PM
KimmiKat KimmiKat is offline
 
Join Date: Jul 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed that product, but maybe I'm missing something as the words are still censored in the forums I have turned off.
Reply With Quote
  #26  
Old 10-25-2005, 04:48 PM
Ncturnal Ncturnal is offline
 
Join Date: Feb 2005
Location: Atlanta, GA
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #27  
Old 10-25-2005, 04:49 PM
KimmiKat KimmiKat is offline
 
Join Date: Jul 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 11-01-2005, 04:16 PM
KimmiKat KimmiKat is offline
 
Join Date: Jul 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 11-02-2005, 07:36 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #30  
Old 12-09-2005, 08:46 PM
davew davew is offline
 
Join Date: Oct 2005
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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??
Reply With Quote
  #31  
Old 12-11-2005, 05:25 AM
davew davew is offline
 
Join Date: Oct 2005
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05090 seconds
  • Memory Usage 2,307KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete