**************************************************************************
** DotNetNuke: Web Portal System                                        **
** DotNetNuke Chat Module for 123 Web Messenger Server software         **
** (123 Web Messenger Facebook Messenger Style Web Chat Bar)            **
** ==============================================                       **
**                                                                      **
** Copyright (c) by TopCMM 					        **
** Daniel Jiang (support@123flashchat.com)          			**
** http://www.topcmm.com						**
** http://www.123flashchat.com/web-messenger-chat.html                  **
**                                                                      **
**                                                                      **
**************************************************************************


####################################################################################################################
## Notes:                                                                                                         ##
##                                                                                                                ##
##     IMPORTANT!!!!                                                                                              ##
##     If you need to use the chat service on a local machine, before installing this module, please              ##
##     download 123 Web Messenger Server software first from this page:                                           ##
##     http://www.123flashchat.com/web-messenger-download.html                                                    ##
##     You may get the latest free demo version of 123 Web Messenger 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.                                     ##    
##                                                                                                                ##
##     Good luck on your business and have a nice day!                                                            ##
##                                                                                                                ##
####################################################################################################################
## Before Adding This MOD To Your DotNetNuke, You Should Back Up All The Files Related To This MOD                ##
####################################################################################################################


Step 1, Install module files to your DotNetNuke:
This module is 123 Web Messenger Facebook Messenger Style Web Chat Bar, which applies to DotNetNuke version 5.1.

123 Web Messenger Facebook Messenger Style Web Chat Bar can empower your website with an IM chat toolbar like Facebook.com.

Log in the system with your host account and click Host-->Module definitions in sequence. Then it will take you to the Module Definition page. On the bottom of it, there is an Install Module button and click it to finish the installation process according to the prompts.

Step2, Configure chat module's running mode:
If you have installed 123 Web Messenger Chat Bar, please copy client folder from <123webmessenger installation directory> to <dotnetnuke installation directory>/DesktopModules\topcmm_123webmessenger_FacebookMessengerStyleChatBar

Next, lets go back to that page. On the top of it, you will see the module management panel. Please select 123webmessengerfacebookbar in the Module dropdown list, allocate the position to display this module, and click add module to page. Then you will see it on the current page.

Click the small icon near its corresponding module to enter the editing mode, then you can modify some settings of that module under the mode.

There are three editions for the module as follows:
1. Standard
Enter the server address of the 123webmessenger in the Content textbox, for example http://192.168.0.203:1560. After that, please click update to finish the process.

If the default address works, it is unnecessary to modify it.

2. Host
Enter the server address of the 123webmessenger in the Content textbox, for example http://host2150.123flashchat.com/xxxxxx. After that, please click update to finish the process.

Login your 123 Web Messenger Admin Panel, and click System Settings->Integration Panel in sequence. A new panel will appear, select URL in the Database dropdown list and click the Edit button near it to enter the next panel. In that panel, enter http://your dotnetnuke installed directory/DesktopModules/topcmm_123webmessenger_FacebookMessengerStyleChatBar/login.aspx?username=%username%&password=%password% in the URL textbox and then click OK to save your settings.

3. Free 
Select Free and then click update to finish the process.


Notes:
a. How to enter the Module Settings?
Logging in the system with host account after finishing adding the module, then you may find a small icon, text link or button (that depends on your website settings) near the module. Just click it to make it.

b. How to add 123 Web Messenger Facebook Messenger Style Web Chat Bar to all pages?
Entering Module Settings, make the "display module on all pages" checked in the Advanced Settings. After that, click "update" to make it.

c. How to hide 123 Web Messenger Facebook Messenger Style Web Chat Bar
Entering Module Settings, set "module title" as null in the Basic Settings; check "None" among the three options of the "Collapse/Expand" in the Page Settings; uncheck the "Allow Print?" and "Display Container?" in the Page Settings and then click "update" to make it.

Step3, Integrate your chat with DotNetNuke user database  
If you have already integrated 123 Web Messenger Friend List Module for DotNetNuke 5.1, there is no need for you to do the actions below.
After finishing installing 123 Web Messenger FaceBook Messenger Style Web Char Bar, you can add the module to any page. Logged in the system with your host account, select the editing mode and then click the small icon near the added module to enter the module editing mode. When the installation path textbox appear, please input 123 Web Messenger installation directory (such as C:\Program Files\123WebMessenger2.3) here. Finally, click "update" to accomplish integration.

Notes: 1. Please make sure your account have read-and-write authorization under the folder C:\Program Files\123WebMessenger2.3
      2. Due to restarting the server, the effect of the integration may not come out immediately.
      3. We strongly recommend that you set the server address in the editing mode before first use, for the default one may not be correct.

