|
How to auto-login a room How to auto-login a room?You can have your users to skip room list page and auto-login a specific chat room once they are logged on. As we stated before, you can insert 123 flash chat room into your webpage (static or dynamic) by adding script of a flash object tag. Then Parameter "init_room" attached after "123flashchat.swf" can help you with auto-login-room.
Sample: If user name = myusername, password = mypassword, room id= 1001, the code you should add into your html will be as follows: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="634" HEIGHT="476"> <PARAM NAME=movie VALUE="123flashchat.swf?init_user=myusername&init_password=mypassword&init_room=1001"> <PARAM NAME=quality VALUE="high"> <PARAM NAME="menu" value="false"> <EMBED src="123flashchat.swf?init_user=myusername&init_password=mypassword&init_room=1001" quality=high menu=false WIDTH="634" HEIGHT="476" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> You can see this parameter must be used together with the other 2 parameters: init_user and init_password, or it won't be effective. Then what if user login as guest? You can leave the init_password to blank like the following sample: Â… src="123flashchat.swf?init_user=myusername&init_password=&init_room=1001" |
![]()
![]()
| |||||||||||||||||||||


















