![]() |
Censorship per Forum
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. |
great idea
|
Quote:
|
great idea thanks a lot and install
|
What would I need to change in the product file to have this default to censor off in the forums?
|
So that new forums were set to default off when they are created?
|
Quote:
|
Tomorrow I'll update the hack with a version for default on and a version for default off.
For now, after installing this plugin just run this query in your admincp to set the default to No censor. Code:
ALTER TABLE `forum` CHANGE `censor` `censor` SMALLINT( 3 ) UNSIGNED DEFAULT '0' NOT NULL; Code:
UPDATE `forum` SET `censor` = '0'; For example, I use a prefix of vb3_ So the second query for me looks like this Code:
UPDATE `vb3_forum` SET `censor` = '0'; |
Thanks! I'll go ahead and wait for the update then. ;)
EDIT: I just thought of something ... couldn't I just chnage the 1s in the queries in the plug-in to zeros? |
Well... yes and no.
No because the admincp area of the forums would show up backwards. Yes would be no, no would be yes.... The Edit forum spot uses the print yes no function, which interprets 1's as Yes and 0's as No. Hypothetically, you could change the 1s to 0s and change the phrase to say something like "Enable censor in this forum?" But that would be alot of rework when all your needing to do is change the default value in the database to what you need :) Running those two queries will take ya about 10 seconds :) Reworking the phrase and the code would take ya about 5mins :) I prefer the quick and clean route ;) |
Ok, then I'll wait for your release. I just thought it might save you having to do 2 versions. Glad I asked you before I tried it. ;)
|
Okay, made it two different versions.
If you have already installed this and want to use the Default OFF version either run the two queries I listed above, or uninstall the one you have currently, and install the Default OFF version. |
You need to add the intructions file back for the template edit. ;)
|
It was a "VERY" long Friday....
I'm stockin up on extra booze for tonight... DONE :) |
Quote:
Thank you, sir. ;) |
Awesome plugin!
|
Yeah, great idea, I've installed it.
Something worth pointing out: If you disable censorship in a forum, previously-censored words remain censored. They were stored in the database that way. That leads me to a question: If you have a forum with censorship disabled, and then you turn it ON for that forum, will previous bad words still show up literally or will they become displayed as censored? |
Works great for gold. :)
|
just what I came here looking for , thanks!!
|
I noticed after I installed this plugin , my shoutbox is no longer censored.
is there anyway to fix that? |
Question : Is there anyway i could have a global setting for users to turn on/off censor for all forums
|
Quote:
|
Quote:
Code:
if ($foruminfo['censor'] == 0) Code:
if ($foruminfo['censor'] == 0) |
I installed that product, but maybe I'm missing something as the words are still censored in the forums I have turned off.
|
Quote:
|
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.
|
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:
|
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..
|
Quote:
|
Quote:
I modified the xml file and re-installed, but no go :( Has anyone managed to fix this for the shoutbox please? |
Thanks, installed and works great
|
could it be configure to work/sensor differnet words for diff. forum..
just for an xample cat 1: dog is allow [no sensor] cat2 : dog is disallow [will be sensored] is it possible? Thaks |
Installed and working fine!
|
When I create a new forum, the selector is defaulted to No censor. I installed both the mods default on and off and either way, new forums are defualted to No.
Shouldnt this default to Yes on one of those? |
When rebuilding the post cache, any uncensored posts appear as censored until they're edited..
Any ideas? ;) |
Hi,
I have installed but Im having a problem with the YES/NO in the forum manager I have added a screenshot - Its showing 2 buttons instead of 1 lol Anyone have any ideas? Thanks for any help :) EDIT: re read the info above lol |
possibly see make user control appear by their age. age should be able to be set in settings area. that would be very nice.
|
I installed it, and it works fine in one forum, but still censors words in another forum.
|
Quote:
Admincp> Forums & Moderators > Forum Manager > bottom of forums? |
Quote:
I would up discovering that it really wasn't working anywhere anymore, so I uninstalled it and then reinstalled it. Works fine now. |
All times are GMT. The time now is 02:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|