View Full Version : Disable swear censor per forum
ImportPassion
05-20-2004, 10:00 PM
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.php?p=492547&postcount=3
in your phpinclude_start template
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, 01:53 AM
Useless
Cyricx
05-21-2004, 05: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, 07:48 AM
This is still only a template mod with no hacking required.
ImportPassion
05-21-2004, 10:01 AM
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, 10:15 AM
straight from here https://vborg.vbsupport.ru/announcement.php?f=35&announcementid=18 from NTLDR
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, 10:18 AM
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, 10: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, 10: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, 11:58 PM
than delete them all. they don't need tobe here
Cyricx
06-05-2004, 01:31 AM
Anyway to do an array for this?
Silverstangs
09-11-2004, 12:01 AM
This is PERFECT!!!!!!, Just what I was looking for with my invite only area!!!!!!!!
SFishy
12-29-2004, 03:31 AM
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
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
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...
if ($usergroupid == XX) {
$vboptions['enablecensor'] = 0;
}
won't work either...
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, 11:31 AM
A seperate release for 3.5 would be cool :)
ImportPassion
10-11-2005, 11:34 AM
ya, but unfortunately I don't know anything about the plugin system right now.
ImportPassion
10-13-2005, 12:14 AM
ok, updated for 3.5
https://vborg.vbsupport.ru/showthread.php?s=&threadid=98269
I'm sure Aleksey will still think it's useless.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.