**************************************************************************
** Joomla: Web Portal System                                            **
** Module for 123 Webmessenger Server software                            **
** ==============================================                       **
**                                                                      **
** Copyright (c) by TopCMM 					        **
** Daniel Jiang (support@123flashchat.com)          			**
** http://www.topcmm.com	
** http://www.123webmessenger.com  					**
** http://www.123flashchat.com                                          **
** http://www.joomla.org/                                               **
**                                                                      **
**************************************************************************



####################################################################################################################
## Notes:                                                                                                         ##
##                                                                                                                ##
##     IMPORTANT!!!!                                                                                              ##
##     Before installing this module, please download 123Webmessenger Server software first from this page:       ##
##                                                 																																##
##     http://www.123flashchat.com/web-messenger-download.html                                                    ##
##     You may get the latest free demo version of 123 Webmessenger server software at there.                     ##
##                                                                                                                ## 
##     And get professional support from: http://www.123flashchat.com/support.html                                ##
##     We provide email support, online live support, and phone support                     											##
##     etc.                                                                                                       ##
##                                                                                                                ##
####################################################################################################################


Step 1, Install the module in the Joomla admin panel
							
					   OPEN: Joomla Admin panel -> Extensions -> Install -> Upload Package File:
        			upload mod_webmessenger.zip

Step 2, Configure 123Webmessenger client
		
						 1). Copy 123WebMessenger client folder from <123webmessenger server installed directory>/client to <Joomla root directory>/wmclient
						 2). Open <Joomla root directory>/client/js/config.js, set webpath to <Joomla root directory>/client


Step 3, Integrate 123Webmessenger with Joomla user database

						1). Open <123webmessenger server installed directory>/server/etc/groups/default/server.xml
								Find <integrated-other-database>None</integrated-other-database>
								Change it to <integrated-other-database>URL</integrated-other-database>
								
								Find <auth-url charset="UTF-8">http://localhost/login_chat.php?username=%username%&password=%password%</auth-url>
								Change it to  <auth-url charset="UTF-8"><Joomla root directory>/modules/mod_webmessenger/login_chat.php?username=%username%&amp;password=%password%</auth-url>
            
            2). Restart 123 Webmessenger server.
            
Step 4, Embed 123Webmessenger into Jommla
					
					 1). Open <Joomla root directory>/templates/<your current template name>/templateDetails.xml (The template name should be "rhuk_milkyway")
					 		 Find 	<positions>
					 		 After Add <position>webmesssenger</position>
					 		 
					 2). OPEN: Joomla Admin panel -> Extensions -> Template Manager -> choose the current template your're using -> Edit HTML
					 		 Find </body>
					 		 Before Add <jdoc:include type="modules" name="webmesssenger" />
					 		 
					 3). OPEN: Joomla Admin panel -> Extensions -> Module Manager -> 123WebMessenger -> configure "Client location" to <Joomla root directory>/wmclient 
					 		 Change "Position" to "webmessenger" at left panel
					 		 
					 		 
Note: Replace <123webmessenger server installed directory> and <Joomla root directory> with the physical address in your server.

Integration done, enjoy your webmessenger:), if you have any question related chat room,please visit http://www.123flashchat.com/faq.html or contact our online supporter at http://www.123flashchat.com