|
You may easily configure ParaChat rooms on your ParaChat Server to override the
server default chat room configuration. Through the addition of configuration
entries, or parameters, to a simple text file, you may customize most buttons,
labels, and message strings for every ParaChat room that is served from your ParaChat
Server. This feature allows you to customize most or all of your ParaChat rooms
without having to implement a number of HTML parameters within the ParaChat applet
HTML. When a ParaChat room is downloaded from the chat server, the code looks to
the chat.conf file to determine if a parameter to override the server
default has been entered. If no parameter is found in the chat.conf file, the
server default setting is downloaded. It is important to note that HTML parameters
included in the ParaChat applet code will override both the chat.conf file, and the
server default settings.
The chat.conf file is located in the "conf" directory within the ParaChat class
file directory. Here is the file path for the chat.conf file:
C:\Program Files\ParaChat\ParaChat570\httpd\pchat\classes\conf\chat.conf
By default, the chat.conf file is an empty file. When you first open the chat.conf
file (in your text editor), you will see:
# ParaChat 5.7
# Welcome to ParaChat's Client Configuration File
# Additions made to this file will over-write the server default settings
# and will take effect immediately.
# This is a comment. Any line starting with a pound sign is a comment,
# and not recognized.
For example, you may wish to customize all of your ParaChat rooms to an RGB color
value that matches your Web site (i.e. black and red), to change the Help button to
say "?" instead of "Help", to point the Help button to a web page on your own web site,
to change the User Name [required] label on the log-in panel to say "Nickname [required],
to remove the Email Address [optional] label and field completely from the log-in panel, and
to remove the 88x31 Logo Banner panel. To implement these changes without entering individual
HTML parameters into the ParaChat applet, you may add them to the chat.conf file. As such,
the following entries would be made to your chat.conf file:
# ParaChat 5.7
# Welcome to ParaChat's Client Configuration File
# Additions made to this file will over-write the server default settings
# and will take effect immediately.
# This is a comment. Any line starting with a pound sign is a comment,
# and not recognized.
ui.BgColor=000000
ui.FgColor=FF0000
button.Help=?
ui.HelpPage=http://www.your-domain.com/help.html
label.Nickname=Nickname [required]
ctrl.NoEmail=true
ctrl.LogoAd=false
When you save these changes to the chat.conf file, the changes will take effect
immediately in ParaChat rooms that are downloaded from your ParaChat Server.
To review the abundance of configuration options that are available for the ParaChat
client, please review the ParaChat Client section of
the ParaChat Server v5.7 documentation.
Each configuration entry includes the "Parameter Name" for use in the chat.conf file, as well as
the "HTML Parameter" for use in customizing ParaChat rooms by adding HTML parameters to the ParaChat applet.
|