How To: If bad word exists, delete comment? How To: If bad word exists, delete comment?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How To: If bad word exists, delete comment?

Started by keith204, August 23, 2007, 08:01:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

keith204

If a bad word exists, I just want the comment to disappear completely (or simply not be submitted).  And in the list of bad words, I want "http" as well as all the rest that we know of.

So, rather than just starring out the bad words, delete the post instead.

Any ideas on where I can code that?

Nibbler