**************************************************************************
** Moodle: Web Portal System                                            **
** Module for 123 Flash Chat Server software                            **
** ==============================================                       **
**                                                                      **
** Copyright (c) by TopCMM 					                            **
** Daniel Jiang (support@123flashchat.com)          			        **
** http://www.topcmm.com					                            **
** http://www.123flashchat.com                                          **
** http://www.moodle.org/                                               **
** Version 3.0                                                          **
** Test Moodle Version 2.6.2                                            **
**                                                                      **
**************************************************************************



####################################################################################################################
## Notes:                                                                                                         ##
##                                                                                                                ##
##     IMPORTANT!!!!                                                                                              ##
##     If you need to use the chat service on a local machine, before installing this module, please              ##
##     download 123FlashChat Server software first from this page:                                                ##
##     http://www.123flashchat.com/download.html                                                                  ##
##     You may get the latest free demo version of 123 flash chat 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 and have a nice day!                                                                             ##
##                                                                                                                ##
####################################################################################################################


 


Step 1, Install module files to your moodle.
        
        File copy

             copy forder flashchat                     to                  <moodle installed directory>/mod/

			 
Step 2, Install the module in the admin panel.

        1). Once you have done Step 1, you have to install the module first.

        2). OPEN: Home -> "Administration" -> "Front page settings" -> "turn editing on" -> Choose: "add an activity or resource" (in "Main Menu") -> Select: "123 Flash Chat" -> Add.


Step 3, "Add a new 123 Flash Chat" and configure chat module's running mode.
        
        1). Please choose the running mode according to your needs.(in "Base Settings")
		
        2). Configure the parameters of the running mode you choosed.


Step 4, Integrate your chat with moodle user database

        If you choose "Chat Server Host By Your Own" or "Chat Server Host By 123 Flash Chat", integration is needed, you may achieve this by following the instructions below.

            1. Log in the Admin Panel of your 123FlashChat server
               OPEN: System Settings -> Integrate Panel
 
            2. Find: DataBase -> SELECT: URL -> edit 
      
            3. Change URL:
                 http://<moodle install directory>/mod/flashchat/login_chat.php?username=%username%&password=%password%

            4. Press OK to save your setting.
   
       

   Then Login on moodle with your account and enter chat, you will find yourself could automatically log in the chat. Enjoy!
