vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Disable swear censor per forum (https://vborg.vbsupport.ru/showthread.php?t=65343)

ImportPassion 05-20-2004 09:00 PM

Disable swear censor per forum
 
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.

Aleksey 05-21-2004 12:53 AM

Useless

Cyricx 05-21-2004 04:31 AM

...

I actually find this very useful. For stuff like moderator forums where you want mods to be completely open.

or for "adult" forums, that require the user to be part of a secondary adult usergroup to be able to access, while still having the main forums being censored.

One is only limited by ones imagination :)

Boofo 05-21-2004 06:48 AM

This is still only a template mod with no hacking required.

ImportPassion 05-21-2004 09:01 AM

Quote:

Originally Posted by Aleksey
Useless

like you.

maybe so, but i know lots of ppl want it. ppl aren't going to go to vbt to look for this.

ImportPassion 05-21-2004 09:15 AM

straight from here https://vborg.vbsupport.ru/announcem...ouncementid=18 from NTLDR

Quote:

PHP Include hacks/modifications are allowed, and should normally go in the mini-mods forum as they are adding PHP Code.

Boofo 05-21-2004 09:18 AM

Quote:

Originally Posted by 7thgenCivic.Com
like you.

maybe so, but i know lots of ppl want it. ppl aren't going to go to vbt to look for this.

The first part of this comment really isn't needed. In the future, please try not to make personal attacks. Thank you.

ImportPassion 05-21-2004 09:06 PM

ha, that's funny, you should be telling that to guy who posted that comment in the first place. that was completely unnecessary.

Boofo 05-21-2004 09:36 PM

I agree, it wasn't necessary, but he was referring to the hack, he didn't make it personal. You did. Please, let's just leave it at that and continue on. ;)

ImportPassion 05-21-2004 10:58 PM

than delete them all. they don't need tobe here

Cyricx 06-05-2004 12:31 AM

Anyway to do an array for this?

Silverstangs 09-10-2004 11:01 PM

This is PERFECT!!!!!!, Just what I was looking for with my invite only area!!!!!!!!

SFishy 12-29-2004 03:31 AM

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?

Accord32 01-06-2005 04:26 AM

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

rinkrat 01-06-2005 08:12 PM

Quote:

Originally Posted by Aleksey
Useless


The only thing useless are comments like this one.

blackpheonix 01-16-2005 03:20 AM

could this be used for certain user group for eg

Code:

if ($usergroupid == XX) {
  $vboptions['enablecensor'] = 0;
}


Carnage 01-17-2005 08:48 AM

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

blackpheonix 01-17-2005 12:25 PM

ok thankyou

Floris 10-11-2005 10:31 AM

A seperate release for 3.5 would be cool :)

ImportPassion 10-11-2005 10:34 AM

ya, but unfortunately I don't know anything about the plugin system right now.

ImportPassion 10-12-2005 11:14 PM

ok, updated for 3.5

https://vborg.vbsupport.ru/showthrea...threadid=98269

I'm sure Aleksey will still think it's useless.


All times are GMT. The time now is 11:59 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.01665 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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