Configuring the bad words and bad nicks filter
Prerequisites:
- working AVChat installation
- access to badnicks.xml and badwords.xml
About the 2 xml files
The 2 xml files contain the bad words and nicks that will be filtered. They are basic XML, UTF-8 encoded, files. To edit them you can use Notepad or any other text editor.
Words that are found in the badnicks.xml file can not be used by users as a nick by normal users. Admins can use those words as nicks.
Words that are found in the badwords.xml file will be replaced by *** in the text chat window in the designated rooms.
Modifying the 2 files
To add or remove words (either usernames in badniks.xml or bad words in badwords.xml), open the file you want to edit in a text editor, and on a new line in the xml structure, add these 2 tags:
<?xml version="1.0" encoding="utf-8"?>
<badwords>
<bad>admin</bad>
<bad>email</bad>
<bad>porno</bad>>
<bad>new word</bad>
</badwords>
As you can see you can also add word pairs, like 'John Doe'. If your name is John Doe and you want no one else to enter with that name you can add it in your badnicks.xml file. It's great to be an admin isn't it! :) Here's an example:
<?xml version="1.0" encoding="utf-8"?>
<badwords>
<bad>bad admin</bad>
<bad>im a bad admin</bad>
<bad>Britney Spears</bad>>
<bad>John Doe</bad>
</badwords>
Where will the badwords be censored
The php or asp configuration file allows you to tell AVConference in what rooms to replace the words in badwords.xml with ***. Available options are: none, all rooms and only in the lobby. To change this open the php or asp configuration file and modify the value of langagefilter to 'lobby' (only for lobby), 'full' (for all rooms) or 'off' (no language filter).


