The CommentCensor plugin will block the display of offensive words/phrases in comments. Each blog maintains its own list of offensive words. By default, the actual comment text, as stored in the database, is not changed. But it can be set to not allow offensive comments to be saved. Offensive words/phrases will be replaced by the string ”****” when the comment is displayed on the blog.
Note: If you want to censor items, as well as comments, please use the NP_Censor plugin.
Note from the developer: This is not designed to be a SPAM fighting plugin, though one could imagine it used for such a purpose with the block option enabled. I believe it would require a lot of management for minimal results as a SPAM fighting tool. It is intended to keep church or children sites from displaying naughty words, to keep Voldemort's name off the blogs at the Ministry of Magic, or to censor mention of the Yankees on a Red Sox fan's site. It is as the name implies a censor.
| General Plugin info | |
|---|---|
| Author: | Frank Truscott |
| Current Version: | 0.2.3 |
| Download: | NP_CommentCensor.zip size=1KB, 1 file |
| Demo: | none |
| Forum Thread: | here |
Compatibility Note: If you have NP_CommentControl, or any other plugin that subscribes to the PreAddComment event, you will need to move NP_CommentCensor up in the list of plugins so that it is listed before NP_CommentControl.
Simply set the list of banned words in the blog settings for each blog needed censorship. Below is an example of how it works.
If your list of banned words is:
Blasted, darn, foul up, uck
The comment
I am so peeved at the Darn filthy ducks that continue to foul up our blasted sidewalks.
will be displayed as
I am so peeved at the **** filthy d****s that continue to **** our **** sidewalks.
If you set the “Should comments with banned words be blocked” option to 'yes', the user will not be able to submit comments with offensive words. He will instead see an error indicating why he could not submit the comment.
please report to the forum thread here.
NP_CommentCensor version 0.2.3 works with Nucleus CMS version 3.31 - 2007-10-27 ftruscot