Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Disable swear censor per forum Details »»
Disable swear censor per forum
Version: 1.00, by ImportPassion ImportPassion is offline
Developer Last Online: Oct 2008 Show Printable Version Email this Page

Version: 3.0.11 Rating:
Released: 05-20-2004 Last Update: Never Installs: 8
 
No support by the author.

I am not going to take any credit for this hack. I found it and thought it should be posted. I don't consider it a template hack since it invloves php code additions.

Credit goes to Wayne Luke https://vborg.vbsupport.ru/showpost....47&postcount=3

in your phpinclude_start template

PHP Code:
 if ($forumid == XX) { 
  
$vboptions['enablecensor'] = 0

Replace XX with your forum. If that doesn't work then you will most likely need to modify the newthread and newpost files.

Show Your Support

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

Comments
  #12  
Old 06-05-2004, 01:31 AM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to do an array for this?
Reply With Quote
  #13  
Old 09-11-2004, 12:01 AM
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Location: Roseville Sacramento CA
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is PERFECT!!!!!!, Just what I was looking for with my invite only area!!!!!!!!
Reply With Quote
  #14  
Old 12-29-2004, 03:31 AM
SFishy SFishy is offline
 
Join Date: Nov 2001
Location: NY
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Silverstangs
This is PERFECT!!!!!!, Just what I was looking for with my invite only area!!!!!!!!
Would love the same thing except to disable censor feature for user notes...

any help?
Reply With Quote
  #15  
Old 01-06-2005, 04:26 AM
Accord32 Accord32 is offline
 
Join Date: Sep 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to get this hack to work for individual usergroups instead of by each forum? I'd like to disable the word filter for my admin usergroup, I tried replacing forumid with usergroupid and then putting 6 (my admin group id #) but it didn't work.

Thanks
Reply With Quote
  #16  
Old 01-06-2005, 08:12 PM
rinkrat's Avatar
rinkrat rinkrat is offline
 
Join Date: Jan 2002
Location: Long Beach
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aleksey
Useless

The only thing useless are comments like this one.
Reply With Quote
  #17  
Old 01-16-2005, 03:20 AM
blackpheonix blackpheonix is offline
 
Join Date: Nov 2004
Location: Great Yarmouth - UK
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could this be used for certain user group for eg

Code:
if ($usergroupid == XX) { 
  $vboptions['enablecensor'] = 0; 
}
Reply With Quote
  #18  
Old 01-17-2005, 08:48 AM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

useing usergroup may produce unexpected effects... does it censor posts before putting them into the database or before displaying them? because if its the first, admins will be able to use censored words and other users will see them however admins won't be able to see the censored words that other users say...

Code:
if ($usergroupid == XX) { 
  $vboptions['enablecensor'] = 0; 
}
won't work either...

Code:
if ($bbuserinfo[usergroupid] == XX) { 
  $vboptions['enablecensor'] = 0; 
}
even that will only effect a users primary group
Reply With Quote
  #19  
Old 01-17-2005, 12:25 PM
blackpheonix blackpheonix is offline
 
Join Date: Nov 2004
Location: Great Yarmouth - UK
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thankyou
Reply With Quote
  #20  
Old 10-11-2005, 11:31 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A seperate release for 3.5 would be cool
Reply With Quote
  #21  
Old 10-11-2005, 11:34 AM
ImportPassion ImportPassion is offline
 
Join Date: Mar 2002
Location: Gilbert, AZ
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ya, but unfortunately I don't know anything about the plugin system right now.
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 12:53 AM.


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.09065 seconds
  • Memory Usage 2,300KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (1)bbcode_php
  • (2)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
  • (2)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