![]() |
Enable/Disable Censor in individual forums
This is a fairly straightforward and semi easy hack to add. What it does is gives the administrator the option in the admin control panel for their vB board to enable or disable the swear filter (censored words list) on a forum-by-forum basis. Just in case you would like to have swearing allowed in an individual or private forum, but not allowed in other forums.
I would like to give credit to Logician for helping me figure out how to do this correctly in the request forum. Thanks much! It has been tested on a version 2.2.7 board, but should work as is on a 2.2.8 board I do believe. :) |
Nice! Been looking for this. Does this add any extra queries?
|
None.
|
Yes it'S look nice thnaks for the works !
:D |
Very cool idea indeed. I'll be installing this, thanks :D
|
anyone have this installed and running ok on your forums?
|
Looks quite nice:)
Shame I dont censor what users say;) Satan |
are you sure this query is correct?
PHP Code:
PHP Code:
|
Sorry about that. The query should have been:
PHP Code:
|
thanks, i was wondering what the forceusepostprefix had to do with anything ;)
Should I remove that column from the table or doesnt it take any space. And how would i safely remove it? (i'm not too experienced with sql :() |
Yeah you should delete it. Use this command.
PHP Code:
|
In order to make this work with VBulletin 2.2.8 you must change any instances of the following in the hack:
Quote:
Quote:
Just do a mass search and replace on the hack code and you'll be set. :) |
Does anyone know if this will work on 2.2.5?
|
In vb 2.2.9, this doesnt exist :
PHP Code:
|
It exists.
|
Quote:
One more thing, if you have Lesane's store hack, be careful you don't overwrite your queries. |
Cool hack, but I don't use censors. If someone wants to cuss every 3rd word they say, then, whatever, they'll just be making themselves look immature, and if it annoys me and my mods enough, we'll bake some ban cakes. :)
|
Great hack!!
Had to do the changes in post 12 and remove one of the } from the second edit for the editpost.php but other then that.. Works like a charm. :) |
SWFans.net, if you replace all instances of this:
PHP Code:
PHP Code:
|
Like another person here said, you need to remove a { to get it to work when you edit a post, otherwise you'll get a parse error.
This Code:
// censor hack Code:
// censor hack |
Hmm using 2.3.2 and unable to disable the censor in PMs
Anyone else having this problem with this hack? |
Do we have to replace all $subject=censortext($subject);
Cause I want to use vB 2.3.2 |
i need this for vb 3.03
|
All times are GMT. The time now is 04: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:
|