Customize Control Panel Icons

OVERVIEW


Customizing Graphic Emoticons

  1. Icons.conf file
  2. Links.conf file
  3. Popup.conf file
  4. Emoticon.conf file
  5. Add emoticons to the control panel
  6. Delete various emoticons in the control panel list
  7. Select the emoticons in the pop-up list


Emoticons Files


All the images available for users are defined in one of three config files.

  • icons.conf
  • links.conf
  • popup.conf
  • emoticon.conf

These files can be found in the following directory: /ParaChat450/httpd/pchat/classes/clipArt/

1. icons.conf

The file "icons.conf" defines the mapping between the image names and the actual image file names. Below is an example:

    ## icons.conf file
    ## place the translation between the image name and the image file
    asprin=asprin.gif
    beer=beer.gif
    coffee=coffee.gif
    smile=smile.gif

2. links.conf

The file "links.conf" associates an image name with a URL so that an image is clickable. Below is an example:

    ## links.conf file
    ## clicking on the image will invoke a popup window associated to the URL
    ## add a URL link for an image like this
    asprin=http://www.headache.com
    beer=http://www.coors.com
    coffee=http://www.starbucks.com

3. popup.conf

The file "popup.conf" defines the images that will appear in the popup window for the images selection. Below is an example:

    ## popup.conf file
    ## names listed here must be in the icons.conf file
    ## This is a subset of the icon names in the icons.conf file
    asprin
    beer
    bigmouth
    coffee
    smile
    frown

4. emoticon.conf

The file "emoticon.conf" defines the images and the keyboard shortcuts associated with them. If you have not programmed an emoticon to a keyboard shortcut, the default setting for the main chat room is "::" before the image name. Example: ::smile would invoke image. Below is an example of the emoticon file:

    ## emoticon.conf file
    ## names listed here must be in the icons.conf file
    ## This is a subset of the icon names in the icons.conf file
    smile=:)
    teeth=:D
    biglips=:))
    cool=B)
    frown=:(
    sadeyes=;(
    yawn=:O
    tongue=:L
    wink=;)
    punk=:!!
    blink=;;)

If you decide to add your own emoticons, please make sure to upload them to the following directory: /ParaChat450/httpd/pchat/classes/clipArt/


Graphic Emoticons

5. Add emoticons to the control panel

Server Default:
all available icons
Parameter Name:
ui.AddIcons
Locations:
applet code, chat.conf
Permitted Value:
any emoticon you create
HTML Configuration:
<param name="ui.AddIcons" value="new,new1,new2">

6. Delete various emoticons in the control panel list

Server Default:
all available icons
Parameter Name:
ui.DeleteIcons
Locations:
applet code, chat.conf
Permitted Value:
smile,cool,teeth,biglips,wink,frown,
blink,surprise,yawn,tongue,sadeyes,beer,
coffee,smoke,eye,lips,rose,down,up,aspirin,punk
HTML Configuration:
<param name="ui.DeleteIcons" value="smile,cool,....">

7. Select the emoticons in the pop-up list. This will over ride the popup.conf file.

Server Default:
teeth,cool,frown,surprise,wink,
eye,lips,rose,beer,punk
Parameter Name:
ui.PopIcons
Locations:
applet code, chat.conf
Permitted Value:
smile,cool,teeth,biglips,wink,frown,
blink,surprise,yawn,tongue,sadeyes,beer,
coffee,smoke,eye,lips,rose,down,up,aspirin,punk
HTML Configuration:
<param name="ui.PopIcons" value="teeth,cool,.....">


Home | Hosting | Server | Features | Samples | Chat Now | Web Tools | Help | Affiliate

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