RealChat Software 2.0

1.2.2. Configuration directives reference



User Profile and Restrictions

These parameters allow you to pass additional information from an user profile ( membership ) database to client applet, thus integrating RealChat with your existing site membership system. There is an example in the Notes and HOWTOs section.



nick

Type: text
Default: not set

If this parameter is set, the chat client will skip the 'login' panel, and the user will automatically be logged in once the client applet has loaded.

Example: <param name="nick" value="John">

[ top ]

pLabel

Type: text
Default:
pLabel1 = Real name:, pLabel5 = Homepage:
pLabel2 = Age:,       pLabel6 = email:
pLabel3 = Gender:,    pLabel7 = Other 1:
pLabel4 = Location:,  pLabel8 = Other 2:

These are the labels used in the user profile tab. You can change any label:

<param name="pLabel7" value="Favorite drink:">

[ top ]

pValue

Type: text
Default: not set

These are the corresponding values for the user profile labels.

Example: <param name="pValue7" value="Beer">

[ top ]

textColor

Type: number
Default: 0

The default text color ( from the applet color palette ).

Example: <param name="textColor" value="2"> - will auto-select Orange text color.

[ top ]

nickColor

Type: number
Default: 1

The default nick color ( from the applet color palette ).

Example: <param name="textColor" value="6"> - will auto-select Green nick color.

[ top ]

canChangeProfile

Type: yes/no
Default: yes

Whether this user is allowed to change profile. Use it in combination with pValue parameters, to prohibit user from changing his/her profile once logged in.

[ top ]

canCreateRooms

Type: yes/no
Default: yes

Whether this user is allowed to create rooms.

[ top ]

canSendPrivate

Type: yes/no
Default: yes

Whether this user is allowed to send private messages.

[ top ]

externalProfileURL

Type: URL
Default: not set

URL of a cgi script which will display additional information about the selected user. This option is accessible through the user list pop-up menu of the chat client ( the "More info ..." option when you right-click on a user name ) or through the standard Profile button. The chat client will automatically replace the first occurance of the token "_USER_" with the currently selected user name, e.g. if you pass:

<param name="externalProfileURL" value="http://www.yoursite.com/cgi-bin/dbscript.cgi?user=_USER_&action=showprofile">

and the currently selected user name is 'John', the applet will transform the url to:

http://www.yoursite.com/cgi-bin/dbscript.cgi?user=John&action=showprofile

[ top ]

profileURLTarget

Type: text
Default: _blank

The frame target to open externalProfileURL in. The default value "_blank" will open the URL in a new browser window.

[ top ]



Contents | JTAN Members Area