forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: Trick on January 15, 2004, 05:34:22 pm

Title: bad words
Post by: Trick on January 15, 2004, 05:34:22 pm
sorry if this is a stupid questin, but i didn't find anything about this on the forum. I would like to filter bad words in the comments but i don't know where to write the bad words (i have to change them from english in slovene). I have already change to yes in configuration menu for filtering bad words...

thank you for answers...
Title: bad words
Post by: Joachim Müller on January 15, 2004, 05:48:22 pm
edit /lang/yourlanguage.php (e.g. /lang/slovenian.php) with a text editor (notepad will do) and search for
Code: [Select]
// For the word censorEdit the stuff inside the array (it's just a coma-separated list of bad words, each term in single quotes).

GauGau
Title: Re: bad words
Post by: springfield on July 30, 2005, 12:08:06 pm
Hello,

is there any possibility to censor bad words for already given comments? Or does it work only for future comments?
Our Gallery has been flooded with some bad comments I have to clean now; I changed /lang/german.php but there is no effect.
Configuration setting  for filtering bad words was "no" before - now set to "yes", of course.

I hope for response, trouble ahead ;)

Springfield
Title: Re: bad words
Post by: Joachim Müller on July 30, 2005, 01:39:06 pm
Sorry, there's no function built into coppermine to remove bad words once they exist, the filter only applies for fresh comments. You'll have to manually go through the comments (Menu item "review comments") or even use a database tool like phpMyAdmin if you have a high number of bad words to clean out.

Joachim