Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: bad words  (Read 4898 times)

0 Members and 1 Guest are viewing this topic.

Trick

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 9
    • http://www.lenartjezakon.com
bad words
« 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...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
bad words
« Reply #1 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
Logged

springfield

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: bad words
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: bad words
« Reply #3 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
Logged
Pages: [1]   Go Up
 

Page created in 0.293 seconds with 19 queries.