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
|
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_loading_bk | | String | The flash preloader. Supported formats are: *.jpg, *.jpeg, *.gif, *.png, *.bmp or *.swf, and the recommended logo size is 160*160 pixels. Without defining one, the default logo will show. |
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. |