Client Customization

Home >>> Custom


Customizing the appearance of individual ParaChat rooms is accomplished through inserting HTML parameters into the base applet HTML code (i.e. the applet HTML sample provided in the testroom.html document). The structure of the ParaChat applet requires certain HTML parameters to be included by default. Optional HTML parameters are added to the base applet HTML to change the appearance of ParaChat rooms that you create.

If you wish to customize all rooms on the chat server without inserting individual HTML parameters into the applet HTML for each room, please see the Server-wide Client Configuration section of the Documentation.

Required values
Parameter Value Example
Codebase URL The URL of where you download the ParaChat applet code. codebase="http://www.yourdomainname.com:
7877/pchat/classes"
Height This value can be changed to increase or decrease your default ParaChat Room height size. HEIGHT=400
Width This value can be changed to increase or decrease your default ParaChat Room width size. WIDTH=600
ServerPort Port number on which the chat server accepts requests. <param name="ServerPort" value="7777">
HTTPPort Specifies the HTTP port to be used for tunneling and save-to-server. The default value for this parameter is 100 above the chat port number. <param name="HTTPPort" value="7877">
cabbase ParaChat Java class files <param name="cabbase" value="pchat.cab">
roam.Group Name of the group. <param name="roam.Group" value="Group">
Channel Name of the chat room. <param name="Channel" value="#MyChatRoom">
Enable Roaming This setting will enable user created rooms and admin created rooms to be visible on the rooms list. <param name="ctrl.Roam" value="true">
TopRooms This setting will enable your main room to be seen from user created and admin created rooms when there are zero users in your main room. This will also force your main and admin created rooms to display on the top of the rooms list. <param name="roam.TopRooms" value="#MyChatRoom,#MyChatRoom2">


Below is sample ParaChat room HTML code.

    <!-- Begin "ParaChat" v5.7 Applet Code -->
    <applet codebase="http://www.yourdomainname.com:7877/pchat/classes"
     archive=pchat.zip code=ParaChat.class height=400 width=600>
    <param name="ServerPort" value="7777">
    <param name="HTTPPort" value="7877">
    <param name="cabbase" value="pchat.cab">
    <param name="roam.Group" value="Your_Group_Name">
    <param name="Channel" value="#Your_Room_Name">
    <param name="roam.TopRooms" value="#Your_Room_Name,room#2">
    <param name="ctrl.Roam" value="true">
    If you see this message you do not have a Java enabled browser.
    Visit <a href="http://www.parachat.com/faq/java.html">ParaChat Support</a>
    for more information on how to upgrade your browser!
    </applet>
    <!-- End Applet Code -->

Optional parameters


Below you will find a list of customizable features that you can add to your ParaChat Room(s). You may easily customize your ParaChat room by adding parameters to your ParaChat HTML as demonstrated in the sample above. Simply select the type of customization you desire from the links below, and add the appropriate "HTML Configuration" to your own ParaChat HTML to customize your chat room.

If these parameters are absent, the applet exhibits its default behavior. Do NOT try to set the values of these parameters to anything other than what is specified.


How To Customize Your ParaChat Room


How to add HTML parameters to your applet code.

The following is an example on how to add HTML applet code to your current ParaChat Room.

If you wanted to change the background color of the ParaChat applet to FF0000 (red) you would add the following HTML to your chat applet code (new changes are in green).

    <!-- Begin "ParaChat" v5.7 Applet Code -->
    <applet codebase="http://www.yourdomainname.com:7877/pchat/classes"
     archive=pchat.zip code=ParaChat.class height=400 width=600>
    <param name="ServerPort" value="7777">
    <param name="HTTPPort" value="7877">
    <param name="cabbase" value="pchat.cab">
    <param name="roam.Group" value="Your_Group_Name">
    <param name="Channel" value="#Your_Room_Name">
    <param name="roam.TopRooms" value="#Your_Room_Name,room#2">
    <param name="ctrl.Roam" value="true">
    <param name="ui.BgColor" value="FF0000">
    If you see this message you do not have a Java enabled browser.
    Visit <a href="http://www.parachat.com/faq/java.html">ParaChat Support</a>
    for more information on how to upgrade your browser!
    </applet>
    <!-- End "ParaChat" v5.7 Applet Code -->


©1996 - 2006   M Square, Inc. |  Privacy Policy