User Manual

Home HomePre page User Profile Integration | Chat Client Parameters Next page

For Developers


Client Parameters List (123flashchat.swf)
Chat Client Parameters Sample

Chat Client Parameters List (123flashchat.swf)

Parameter Default value type Description
init_group default String the group's value
init_host * String the primary server's host value
init_port 51127 Number the primary server's port value
init_host_s * String the secondary server's host value
init_port_s 51128 Number the secondary server's port_value
init_host_h * String the HTTP server's host value
init_port_h 35555 Number the HTTP server's port value
init_user   String User's name
init_password   String User's password
init_nickname   String This parameter gives logged on users a display nickname automatically.
It will only be valid if you set it in the server.xml configuration as follows:
<change-nick enable="On" enableCustomProfile="On"></change-nick>
It can be used in conjunction with init_user and init_password, so that a user can have their own nickname once they are automatically logged in.
init_root   String The init_root is the string of an URL or a directory.
It is only useful when the chat html file and the
123flashchat.swf are located in different directories.
With init_root, the swf can automatically load the skin folder under the specified root directory:
Note: please add a slash at the end of this value,
It should look like the following:
http://www.yourhostname.com/yourdir/
It should NOT look like the example below:
http://www.yourhostname.com/yourdir
init_room   Number/ String init_room=room id or init_room=room name
To be effective, this parameter must be used in conjunction with the other two parameters: init_user and init_password.
init_room_pwd   String If the room is password protected, you need to set init_room_pwd ( init_room_pwd=)
Of course init_room_pwd is not obligatory.
init_lang   String This parameter helps the chat client to load a defined language file.
init_lang in html code will disable the language value in the client.xml because init_lang has a higher priority.
In this way, your dynamic web application can choose to show the local language for specific users in any country.
init_skin   String This parameter helps the flash client to load a specified skin.
init_skin in html code will disable the skin value in the client.xml because init_skin has a higher priority.
In this way, your dynamic web application can 'listen' to each user's favorite skin.
123flashchat.swf will then automatically load the skin under directory "skin/".
admin_mode   Boolean (0/1) With this parameter, functions which are disabled in client.xml for ordinary users will be activated for the administrator.
This will usually only need to be used in special circumstances.
By default it is 'false'.
For example: in client.xml, if you configure it to:
<visiblePasswordInput value="false"/>
then you block yourself from entering a password to enter the admin panel.
If this is the case, with admin_mode = 1, you can resolve this problem.
You can create a special html file or dynamic webpage with this parameter to give the admin a control panel.
init_ad   Boolean (0/1) This will enable or disable the 'advertisment banner' function.
init_ad=1/0
This parameter has a higher priority over the value of advertisingBanner in client.xml.
init_private   String The receiver name in the destination room.
init_private_message   String Words you would like to start with.
init_listroom   String This API can be added using html code by admin to ensure that only specific rooms can be visible in the room list. Devide rooms using ",".
For example: init_listroom="1,3,5"
init_invisible   Boolean(1/0) This API can be added using html code by admin to set default value of admin's visible. If this value is "1", admin will be set invisible as default when login.
init_email   String

User email, it's not valid unless it follows the parameter init_user.

init_avatar   String

Custom avatar URL, it's not valid unless together with the parameter init_user.

Chat Client Parameters Sample

<script src="123flashchat.js"></script>

<script language="javascript">
init_user="myusername";

init_password="mypassword";

init_room=1;

init_host ="www.123flashchats.com";

init_port="99";

init_group="default";

openSWF(123flashchat.swf','634','476');
</script>
<noscript>
<DIV id="flashchat">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-99B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,19,0" WIDTH="990" HEIGHT="600" id="topcmm_123flashchat">
<PARAM NAME=movie VALUE="123flashchat.swf?init_user=myusername&init_password=mypassword&init_room=1 &init_host=www.123flashchats.com&init_port=99&init_group=default">
<PARAM NAME=quality VALUE="high">
<PARAM NAME="menu" value="false">
<EMBED src="123flashchat.swf?init_user=myusername&init_password=mypassword&init_room=1 &init_host=www.123flashchats.com&init_port=99&init_group=default" quality=high menu=false WIDTH="990" HEIGHT="600" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" scale="noscale" name="topcmm_123flashchat" swLiveConnect="true"></EMBED>
</OBJECT>
</DIV>

Related links:

Introduction


Home HomePre page User Profile Integration | Chat Client Parameters Next page

About Us | Contact us | Company Blog | Partnership | Affiliate | Forum | Privacy policy | Terms of Use | SiteMap | Links

Call Sales Now! USA +1 315 636 6657, UK +972 59 9380061, HK +970 56 8169833

Share 123 Flash Chat:

Copyright © TopCMM Software Limited 2001-2016 All Rights Reserved.

Error: Table '123flashchat201311.ip_countries' doesn't exist