RealChat Software

3.2.2. Configuration Directives Reference



User Profile and Restrictions

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



nick

Type: text
Default: not set

Specifies, if set, that 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:

Sets 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

Specifies the corresponding values for the user profile labels.

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

[Top]

textColor

Type: number [0..15]
Default: 0

Indicates 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 [0..15]
Default: 1

Enters the default nick color from the applet color palette.

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

[Top]

avatarIcon

Type: number
Default: not set

Sets the default avatar icon.

Example: <param name="avatarIcon" value="5">.

[Top]

canChangeProfile

Type: yes/no
Default: yes

Whether this user is allowed to change profiles. Use it in combination with pValue parameters to prohibit users from changing their profiles 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

Indicates the URL of a CGI script that will display additional information about the selected user. This option is accessible through the user list pop-up menu of the chat client, or the More info ... option when you right-click 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. For example, if you pass the following syntax:

<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 the following syntax:

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

[Top]

profileURLTarget

Type: text
Default: _blank

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

[Top]



Contents | Parent Topic | Previous Topic | Next Topic