File: /home/asjudine/www/chat - Copia/doc/config-client.html
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>Morevil Web Chat 4.23 : Configuration file</TITLE>
<LINK rel="stylesheet" href="styles.css" type="text/css">
</HEAD>
<BODY>
<A HREF="http://www.morevil.com"><IMG SRC="images/logo.gif" width="117" height="39" ALT="Morevil" border=0></A>
<TABLE><TR>
<TD class=c1>
<A HREF="config-applet.html"><IMG src="images/left.gif" width="25" height="25" border="0" alt="Previous"></A>
<A HREF="config.html"><IMG src="images/up.gif" width="25" height="25" border="0" alt="Parent"></A>
<A HREF="config-script.html"><IMG src="images/right.gif" width="25" height="25" border="0" alt="Next"></A>
</TD>
<TD valign=middle> <A HREF="index.html">Contents</A></TD>
</TR></TABLE>
<SPAN class=c1>3.2. Configuration file</SPAN>
<HR SIZE=3>
<BLOCKQUOTE>
The chat applet is configured by placing directives in the plain text file <CODE>config.txt</CODE>.
This file must reside in the same directory as the chat applet archive <CODE>chat.jar</CODE>.
<BR><BR>
The configuration file contain one directive per line.
Directives are case sensitive.
Lines which begin with the hash character "#" are considered comments,
and are ignored.
<BR>
<BR>Contents of the file <CODE>config.txt</CODE>:
<BR>
<BR>
<TABLE cellpadding=20 bgcolor=#DDDDDD><TR><TD>
bad_words "word1;word2"
<BR>permitted_hosts "domain_1;domain_2"
<BR>kickpage "kick.html"
<BR>
<BR><BR>
# You can translate the following phrases in any language.
<BR>
<BR># Login panel
<BR>1 "Nickname:"
<BR>2 "Login"
<BR>
<BR># Chat panel
<BR>6 "Users"
<BR>7 "Rooms"
<BR>8 "in"
<BR>9 "Logout"
<BR>10 "Send"
<BR>11 "Settings"
<BR>
<BR># Prompt
<BR>50 "Ignore"
<BR>51 "Private"
<BR>52 "Profile"
<BR>53 "Enter"
<BR>
<BR># Settings dialog
<BR>15 "Save"
<BR>16 "Close"
<BR>
<BR># Font pane
<BR>19 "Font"
<BR>20 "Message area font"
<BR>21 "Example"
<BR>
<BR>#Sound pane
<BR>23 "Sound"
<BR>24 "Beep at"
<BR>25 "The user has entered a room"
<BR>26 "The user has left a room"
<BR>27 "Private messages"
<BR>
<BR>#Other pane
<BR>30 "Other"
<BR>31 "Auto popup private messages"
<BR>32 "Show smiles"
<BR>
<BR>#messages
<BR>35 "left the chat"
<BR>36 "entered the chat"
<BR>37 "left the room"
<BR>38 "entered the room"
<BR>39 "Nickname is used"
<BR>40 "White..."
<BR>41 "You logged off"
<BR>42 "You were kicked by the admin"
<BR>
<BR>#private
<BR>57 "private chat with"
<BR>58 "(private) : "
<BR>59 "Send"
</TD></TR></TABLE>
<BR>
<TABLE cellpadding=10>
<TR><TD valign=top><B>bad_words</B></TD><TD> List of bad words. The words must be separated by a semicolon. <BR> These words will be displayed as "#$%&" in the chatting area.</TD></TR>
<TR><TD valign=top><B>permitted_hosts</B></TD><TD> List of permitted domain names. Domain names must be separated by a semicolon. <BR>The chat applet will work if HTML page with the chat is loaded from the web server whose domain is listed here. <BR>If this list is empty the chat will work if HTML page is loaded from any web server.</TD></TR>
<TR><TD valign=top><B>kickpage</B></TD><TD> This is the link from the chat page to the "kick" page. This page will be displayed in the browser of the user who was kicked by the administrator.</TD></TR>
</TABLE>
</BLOCKQUOTE>
<HR SIZE=3>
<TABLE><TR>
<TD class=c1>
<A HREF="config-applet.html"><IMG src="images/left.gif" width="25" height="25" border="0" alt="Previous"></A>
<A HREF="config.html"><IMG src="images/up.gif" width="25" height="25" border="0" alt="Parent"></A>
<A HREF="config-script.html"><IMG src="images/right.gif" width="25" height="25" border="0" alt="Next"></A>
</TD>
<TD valign=middle> <A HREF="index.html">Contents</A></TD>
</TR></TABLE>
</BODY>
</HTML>