Profanity Filter?

wol - January 28, 2003 - 07:17

Is there a profanity filter or a suggested way to set one up? I would prefer not to have to monitor every comment.

Filter module

Steven - January 28, 2003 - 11:33

It's pretty easy to create filters... I suggest you look at urlfilter.module in contrib, which is simply 3 regular expression replacements wrapped in a filter module.

If it's just for personal use on your site (and you don't mind doing some simple PHP), this should do.

Wouldn't it simply be easier to get a userbase that doesn't swear though?

Profanity Filter

wol - January 28, 2003 - 18:07

I thought that might be the appropriate place. It shouldn't take too much then.

RE user base. The website deals with tax problems. Enough said?

I've written one...

rowanboy - February 27, 2003 - 18:42

I've worked out a swearing filter. It queries a table with swearwords and their replacements in it. You can get it from here. It's a bit rough and ready, but it works!

I am filtering profanity. Ki

ericatkins - November 18, 2004 - 06:33

I am filtering profanity. Kind of...

How?

I installed the "Smileys" module (http://drupal.org/project/smileys). It works by scanning comments and posts for typical smiley faces like :), :/, ;), etc. and replacing that text with a graphic.

So to filter out profanity, I created several more filters for the words I don't want to see.

For instance, I added the word, f***, as an acronym. I am replacing it with a small 1px x 1px transparent .gif. (Actually, I am replacing it with a devilish smiley face, but you get the point.)

The Smiley filter system is kind of filtering out bad words of my choice.

you may use spam module

kzeng - February 14, 2006 - 20:00

you may use spam module which allows you to add custom filters.

--------------------------
http://www.kzeng.info

Spam Filter Module

mjohnq3 - February 15, 2006 - 02:08

The Spam Filter module does a very good job of this. Easy to customize. You can choose which node types it will scan and also which user roles.

webpurify

jfreger5 - December 8, 2006 - 02:58

I stumbled upon http://www.webpurify.com seems pretty cool.

I've added such a module:

rwohleb - July 7, 2008 - 18:37

I've added such a module: http://drupal.org/project/webpurify

try this!

jfreger5 - December 8, 2006 - 03:00

I stumbled upon http://www.webpurify.com seems pretty cool.

the wordfilter.module in the

VeryMisunderstood - December 8, 2006 - 03:41

the wordfilter.module in the downloads area can be used for this.

 
 

Drupal is a registered trademark of Dries Buytaert.