Basically this module is FREE.
What you CAN do in html code without purchasing this chat module:
- resize it with remaining the proportion of width and height.
- re-direct the swf to connect to your host and your port instead of 123flashchat main chat server by adding parameters.
- enable auto-login, by adding parameter.
- enable auto-login-room, by adding parameter.
- skip user enter or exit notification, by adding parameter.
We'll explain the parameters later.
Standard code to insert a banner chat of Pocket PC to your webpage
By editing: width="176" height="208", you can adjust its size.
You'd better retain the proportion of the width and height.
If you already purchased this chat module(source code), you can configure everything in "config.as", and you can insert above standard code to your html, skip all the parameters that follows!
Parameters
As we stated before, by adding parameters to html code, you can partially customize this inserted banner chat or Pocket PC chat.
- Add parameter to where?
In standard code, after "123lite.swf",add a "?", then follow with your parameter string.like this:
init_host=www.yourhost.com&init_user=abc&init_password=pwd&init_room=1001
- How to follow multiple parameters then?
Each parameter has to be delimited by "&", the code will be like:
Check the code and you will find that parameters have to be added simultaneously at two places:
- <param name="movie" value="123lite.swf
- <embed src="123lite.swf
The parameters 123lite.swf supports:
| parameter |
default value |
description |
| init_host |
www.123flashchat.com |
host of the chat server, which can be ip address or hostname.
By default it's the host value defined in config.as.
config.as is included in the chat module source code, which you can get after subscription of purchasing it. If you already bought it, edit config.as with text editor, then open 123lite.fla with flash MX 2004 and generate a new swf file. In this way you can directly call the new 123lite.swf without attaching this parameter "init_host". |
| init_port |
51127 |
It must be numerical. Similar with "init_host". If you don't configure it in config.as, you will be connected to the default port. Unless you buy the source code, edit port value in "config.as" with text editor, then open 123lite.fla with flash MX 2004 and generate a new swf file. In this way you can directly call the new 123lite.swf without attaching this parameter "init_port". |
| init_user |
<username> |
Without the parameters: init_user=username&init_password=password
users will auto login as guest with a random name: "guestXXXX"
(under the latter circumstance, please confirm that you enable guest login in chat server admin panel.) |
| init_password |
<password> |
| init_room |
1 |
optional, you will connect to the "defaultRoom" if you don't set this parameter. |
| skip_notify |
false |
It defines display or ignore notifications of user enter-room and exit-room.
By default it's "false", means all information will be displayed.
By setting it to "true", the notification of others' enter-room and exit-room will be skipped, only keep one's own enter or exit information. |
|