|
|||
|
123 Web Messenger provide FREE seamless database integration for you. Your users could keep away the bother with extra register or login to enjoy chatting then. Maybe you will ask how to add 123 Web Messenger to website. Please refer to the following for detailed information of Web messenger integration. Web messenger integration with website includes 3 parts (you can see the demo on yourself server). Firstly, you should have a server and running 123webmessenger, it can be hosting on your server or hosting on 123flashchat.com. If it is hosted on your server please copy the client folder to web server directory. Secondly, you should configure your config.js in <web server directory>/client/js/config.js Find var webpath = ""; |
|
|||
|
Thirdly, separate for the different style to introduce. 1. Facebook bar part ![]() It adds a bottom web toolbar on your browser with the friend list button, empowering your website with a Facebook style Web Messenger! ![]() If you use the popular CMS system (for example, phpBB, Joomla!, vBulletin, etc), please directly download the 123 Web Messenger modules from:Integration with 123 Web Messenger -- Instant Messaging Software, Facebook Messenger, IM Software, Website Messenger, 1 to 1 Chat And there is an example: how to add 123 Web Messenger to your vBulletin? ![]() Step2, copy files. 1. Copy: wm_get_userinfo.php To: <vBulletin installed directory>/wm_get_userinfo.php 2. Copy: wm_config.php To: <vBulletin installed directory>/wm_config.php 3. Copy: login_chat.php To: <vBulletin installed directory>/login_chat.php Step3, configure wm_config.php. Step4, install the module in the vBulletin admin panel. Then add the following code into the last. <script language="javascript" src="<vBulletin installed directory>/wm_get_userinfo.php"></script> <script language="javascript" src="<123webmessenger client directory>/js/123webmessenger_fb.js"></script> Step5, integrate your 123 Web Messenger Chat with vBulletin user database, after doing that, users logged in the vBulletin website don’t have to re-enter username or password to access 123 Web Messenger Chat. 1. Log in 123 Web Messenger Admin Panel. 2. System Settings -> Integrate Panel ->DataBase -> SELECT: URL -> edit 3. Change URL to http://<vBulletin installed directory>/login_chat.php?username=%username%&password=%passw ord%. 4. Press OK to save your setting. 5. Restart chat server at System Management -> Restart Integration done, enjoy your 123 Web Messenger chat. ![]() |
|
|||
|
If you don’t use the popular CMS system (for example, phpBB, Joomla!, vBulletin, etc), you also can integrate 123 Web Messenger with your website successful, please refer to the following instructions. 1.1 Please add the following script into your website head or food part. You should make sure all pages on your server can load it. e.g: <?php $dir = "http://yourClientFolerURL/client/" $user = $_SESSION[username]; //you should give the log in member's username to the variable when the guy log into your website. How to get the name, you should write a function, $_SESSION[username] is just a simple code $password = $_SESSION[password]; //you should give the log in member's password to the variable when the guy log into your website. How to get the password, you should write a function, $_SESSION[password] is just a simple code ?> <script language="javascript" src="<?php echo $dir ?>js/config.js"></script> <script language="javascript"> var username_123webmessenger = "<?php echo $user ?>"; var password_123webmessenger = "<?php echo $password ?>" </script> <script language="javascript" src="<?php echo $dir ?>js/123webmessenger_fb.js"></script> 1.2 About the validate page. For example: login_chat.php 1.2.1 Get two variable transport from 123flashchat server (GET method), A (GET variable username) B (GET variable password) 1.2.2 Define an admin group ID e.g: define ("ADMINGROPU","5") 5 is your web system admin group id. |
|
|||
|
1.2.3 You should get the userpassword and usergroup form DB, according to the variable (GET variable username), and then you need to match the account and password. e.g: if (DB ERROR){ print (3); } if (user exist in your DB){ if((GET variable userpassword)== DB userpassword){ if ( ADMINGROPU == DB usergroup ){ print (5); } else { print (0); } } else { print (1); } } else { print (4); } Please make sure use the same way to encrypt the password, both in swf view page and validate page. (What does each number means in terms of the authentication result? Please view the following annotation.) 0 - login successfully 1 - password error 4 - account is not exist 3 - DB link not successful (Unknown error) 5 - administrator log in successfully 1.3 Add the login_chat.php file to your web messenger server. |
|
|||
|
2. Friend list part ![]() The friends list of 123 Web Messenger will help you quickly locate a friend in the long user list. 2.1 You should add the following script into your website head or food part. You should make sure all pages on your server can load it. <?php $dir = "http://yourClientFolerURL/client/" $user = $_SESSION[username]; //you should give the log in member's username to the variable when the guy log into your website. How to get the name, you need to write a function, and $_SESSION[username] is just a simple code $password =$_SESSION[password]; //you should give the log in member's password to the variable when the guy log into your website. How to get the password, you need to write a function, and $_SESSION[password] is just a simple code ?> <script type="text/javascript" src="<?php echo $dir?>js/123webmessenger.js"></script> <script type="text/javascript"> var init_user="<?php echo $user ?>"; var init_password="<?php echo $password ?>"; </script> <script type="text/javascript" src="<?php echo $dir?>js/config.js"></script> <script type="text/javascript" src="<?php echo $dir?>js/cookies.js"></script> <script type="text/javascript" src="<?php echo $dir?>js/fly.js"></script> <script type="text/javascript" src="<?php echo $dir?>js/dc.js"></script> <script language="javascript"> dcInit(); </script> |
|
|||
|
2.2 Add a button for popup the friend list. Please add the following code in your need page. <script type="text/javascript"> <!-- function open123WebMessengerFriendList() { window.open ("123webmessenger_friendlist.html","123webmessenge r_friendlist_"+Math.round(Math.random()*1000) ,"height=461,width=260,toolbar=no,menubar=no,alway sRaised=yes,scrollbars=no,resizable=yes,location=n o,status= no,alwaysRaised=yes,directories=no,titlebar=no"); } function MM_popupMsg(msg) { //v1.0 alert(msg); } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> //Button e.g: <a onclick="open123WebMessengerFriendList();return false;" href="123webmessenger_friendlist.html">Friend list</a> 2.3, 2.4, and 2.5 same as Facebook bar part 1.2, 1.3 and 1.4. 3. 1to1 chat part ![]() You think the guy is funny, why don’t you chat with him / her one to one? 3.1 Same as Friend list part 2.1 3.2 Add a button for chat. Please add a button in your user profile page or other page you like. e.g: <a href="javascript: FC_invite_1to1_chat('lisa')">chat now</a> |
|
|||
|
Nice work, now i can IM to my site...thanks Guys!
__________________
The Closets Organizer|Closet organization ideas- provides variety of services ranging from quality products and services to proper installation. |
|
|||
|
This is great.... And very clear instructions.
__________________
Pennsylvania rate caps are now expired allowing companies like Ambit Energy to offer electricity and natural gas service to the PECO service territory. Last edited by admin; 06-03-2011 at 01:23 AM. Reason: no link |
|
|||
|
I did try to install my space im messenger but this messenger did not work properly due to show some missing files .
How can I install this messenger to work it properly . Buy Cialis - Online Pharmacy Last edited by John009; 07-27-2011 at 06:32 AM. |
![]() |
Was this information helpful? Yes No
| Tags |
| facebook-like messenger |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.123flashchat.com/community/123-web-messenger-support/4526-how-add-im-website.html
|
||||
| Posted By | For | Type | Date | |
| TopCMM Community--Flash Chat Software, Online Chat Software, Online Webcam Chat, Java Chat Server, Website Messenger, Face Book Messenger, Live Support Software | This thread | Refback | 10-18-2011 07:31 PM | |