Phorum / Core

The core of Phorum
http://www.phorum.org
68 stars 33 forks source link

Extension of words in banlist only for english #645

Open Phorum opened 13 years ago

Phorum commented 13 years ago

I just discovered that /include/format_functions.php extends all bad words from banlist with some typically english word endings: (ing|ed|s|er|es).

So if I ban "hack", the function also replaces "hacking", "hacked", "hacks", "hacker" and "hackes". For english it's ok, but for all other languages it's not useful.

I propose to put this also in the language file.

Regards Oliver

Reported by: Oliver Riesen oliver@riesen.org Imported from TRAC: http://trac.phorum.org/ticket/745

Phorum commented 13 years ago

it won't really help to put it in the language file as the user can usually change the language and would have different words censored or not. in the end it comes down to (as brian puts it), you only have to curse in the right language and it comes through.

By: ts77

Phorum commented 13 years ago

Different implementation proposal that would work IMO: Allow the admin to configure the stem endings in the admin interface. That way, the admin can clear them out if the default stem endings cause problems.

By: mmakaay