View Full Version : Disable Swear Censor Per Forum
ImportPassion
10-12-2005, 10:00 PM
Here you go. Updated for 3.5 as a plugin. First one too! :)
Change the array of forum id's to the ones you want excluded from the swear censor.
I noticed there is another hack like this after I did it, but this has no db calls.
1.01 - Ok, for some reason the var forumids was messing up the edit attachments page in profile. So I renamed it. I just add "the" in front of it. So it is now $theforumids. You just need to go into the plugin and edit that, no need to download again if you have it installed already.
1.02 - As per boofo, I forgot one of the above vars I had to edit. All good now.
Daniel
10-13-2005, 12:52 AM
Wow, thanks a bunch!
dsotmoon
10-13-2005, 01:31 AM
i coulda swore i installed this a week ago ? ? ?
ImportPassion
10-13-2005, 03:33 AM
updated...please read the Edit if you installed this.
Boofo
10-13-2005, 04:48 AM
Uh, you need to change this:
if (in_array($forumid, $forumids)) {
to this:
if (in_array($forumid, $theforumids)) {
or it's never going to work, sir. ;)
ImportPassion
10-13-2005, 04:50 AM
ur right, missed that one. :o
Oblivion Knight
10-13-2005, 05:02 AM
i coulda swore i installed this a week ago ? ? ?Perhaps you installed this version (https://vborg.vbsupport.ru/showthread.php?t=93492)? ;)
I've not looked, but I dare say that the code is different.
ImportPassion
10-13-2005, 05:06 AM
he prolly did. I didn't notice it till after. BUt mine has no db calls.
GamerzWorld
10-13-2005, 09:05 AM
Maybe have an on/off switch for all forums per user ;)
Cyricx
10-14-2005, 01:14 AM
Totally different code :)
I didn't want hard coded IDs, wanted something that I wouldn't have to go back and edit each time I made a new forum I wanted to be disabled but that would have a simple yes/no box with it :)
Both ideas work great :)
Gamerz, I haven't had any luck getting it to parse or not based on user. I've tried alot of things with no luck so far :(
beano33
10-14-2005, 09:38 PM
Most advertisers prohibit excessive profanity in the site content so be careful with your usergroup permissions if you install this. Even if it's only in private forums a disgruntled member could report it and cause problems.
ImportPassion
10-14-2005, 11:44 PM
I don't have UG perms on this. just forum based. Ppl can report whatever they want, in the end it is a private forum and ppl have to agree to terms anyhow. Nothing ppl can do to report some f-words being used. Weel, in north america anyway. can't speak for other contries.
DevilYellow
10-17-2005, 02:12 AM
Thanks - now the moderating team can swear in peace :D They are very happy.
umm did it only disbale sensor for any particular forum(s)?
it could customize words for each & every forum separately?
say:
In :: Help Zone : dog -- is allowed..
In :: Gossip Zone : dog --- disallowed..
is that possible ?
maintain sensor words separately in every forum/sub-forum?
Thanks
doggy1
06-04-2006, 08:50 PM
Great hack!!!!!!
Where and how do you disable the forums for this?????
Thanks.
ImportPassion
06-04-2006, 09:58 PM
Great hack!!!!!!
Where and how do you disable the forums for this?????
Thanks.
go into the plugin section of the hack and edit the forum id's
Oblivion Knight
06-05-2006, 08:10 PM
Does this get affected by the "Rebuild Post Cache"?
On the other version that I posted, any uncensored posts appear as censored until they're edited after the post cache has been rebuilt. I bypassed it by excluding the non-censored forum(s) from the query, but it's kinda sloppy.
ImportPassion
06-05-2006, 08:16 PM
no affects
Oblivion Knight
06-05-2006, 09:07 PM
Cool.. Consider me switched! ;)
MichaelP
06-12-2006, 04:03 PM
Cool, works a treat and does what it says on the packet.
Apart from i forgot to delete the other forum id's that was in there :rolleyes:
doggy1
06-18-2006, 11:47 AM
go into the plugin section of the hack and edit the forum id's
Thank you!
ditangquan
06-22-2006, 03:06 AM
so all this thing did when I installed it with a single forum is disable another plugin.
needs more directions. this is a little vague.
ImportPassion
06-22-2006, 03:14 AM
what else do u want it to say?
Directions:
1. install plugin. if you don't know how to do that, u r in the wrong place.
2. edit the forum id's in the plugin.
3. take a nap. ur done.
WiseOne38221
10-01-2006, 04:08 PM
Is this available for 3.6?
Noonster
11-02-2006, 03:32 PM
Is this available for 3.6?
Anyone know??
jyajay
01-21-2007, 01:24 PM
Can this be changed from "per forum" to "per usergroup"?
lostgirl815
02-24-2007, 07:00 PM
I'd like to know if it's available for 3.6 too.
viper357
05-11-2007, 06:33 PM
me too, will it work in 3.6.5 ?
lostgirl815
05-11-2007, 06:49 PM
I'm using this or one like it in 3.6.4 but I can't figure out if I forgot to mark installed or if I marked it in the 3.6 mods. And I'll look around more thoroughly later, but meanwhile you might want to check the 3.6 mods for it.
:)
viper357
05-11-2007, 07:04 PM
ok thanks, I took a chance and installed it anyway, working perfectly :D
jmurrayhead
03-22-2008, 02:31 AM
I just installed this on 3.6.8 and there appears to be no problems...Excellent mod! :D
viper357
05-13-2008, 10:24 AM
Anybody got this running on 3.7 gold?
Baldilocks
05-18-2008, 03:58 AM
Yes, this works on 3.7.0 Gold.
Does this get affected by the "Rebuild Post Cache"?
On the other version that I posted, any uncensored posts appear as censored until they're edited after the post cache has been rebuilt. I bypassed it by excluding the non-censored forum(s) from the query, but it's kinda sloppy.
no affects
Cool.. Consider me switched! ;)
Post cache rebuild affects this plugin in 3.7.0 gold. Censors all posts after rebuild. You can reverse it by removing the words and rebuilding the cache.
So it works if you never rebuild the post cache or, if you did, you'd have to remove the censored words first and then readd them after the cache was rebuilt, which would uncensor any words that were previously cached of course... etc etc blah blah. catch 22
If you never have to rebuild your post cache (which would be rare indeed) there is no problem using this.
Anyone still working on this plugin?
SVTCobraLTD
10-14-2008, 04:36 PM
Installed on 3.6.10pl3
StevenTN
03-25-2009, 02:05 AM
Anyone using it on 3.8.0 or later? Question I'm asking is I have some moderators interested in this, we get foul-mouthed in our staff only forum and would like to exempt it.
jmurrayhead
03-25-2009, 10:55 AM
Anyone using it on 3.8.0 or later? Question I'm asking is I have some moderators interested in this, we get foul-mouthed in our staff only forum and would like to exempt it.
It still works fine for me in 3.8.1
tacampbell
09-25-2009, 01:24 PM
Works in 3.8.4
BirdOPrey5
05-19-2010, 09:23 PM
Installed and working in 3.8.4 PL2
Just need to go to "upload plugin" instead of "import product" as usual... then edit the array included to the forum ID's you want to disable the censor in.
zonatuning
06-24-2011, 04:33 PM
It doesn't works ni vb 3.8.7
Anyone can help me? Send me MP, please.
Thanks
BirdOPrey5
06-24-2011, 05:03 PM
It doesn't works ni vb 3.8.7
Anyone can help me? Send me MP, please.
Thanks
How far did you get, were you able to import the plugin?
In your plugin manager do you see the plugin?
If so copy and paste the entire plugin here (inside and tags) so we can see it.
BUDIMAN
10-01-2012, 02:15 AM
doesn't work with 4.1.17..
BigAl205
11-29-2012, 06:05 PM
This works with 4.4.0 Patch level 2.
-enable your word censor,
-write down the forum ID numbers of the forums you want to be uncensored
-import the plugin under admin cp-> plugins and products-> download/upload products
-go to the plugin manager and edit "Disable Swear Censor Per Forum"
-in the plugin PHP, change the top line to $theforumids = array(uncensored forum ID numbers);
-save
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.