********************************** E107 INTEGRATION FOR FLASHCHAT ********************************** This file describes the steps required to integrate FlashChat into an E107 environment. The normal installation procedure, as described in the FlashChat readme.txt file, does NOT apply in this case. YOU MUST FOLLOW THESE STEPS PRECISELY! STEP 1: Rename the "chat" folder that comes with the FlashChat distribution to "flashchat". If this folder is already named "flashchat" then you may skip this step. STEP 2: Delete the "index.php" file, and then rename the "index_e107.php" file to "index.php". STEP 3: Open the "common.php" file located in the "inc" directory of your FlashChat distribution. You should be able to use any plain-text editor, like TextPad (www.textpad.com) or Windows Notepad. Find the group of PHP commands that relate to CMS integration. They will have the "cmses/" label in them: //include_once(INC_DIR . 'cmses/defaultCMS.php'); //include_once(INC_DIR . 'cmses/statelessCMS.php'); include_once(INC_DIR . 'cmses/e107CMS.php'); //include_once(INC_DIR . 'cmses/postNukeCMS.php'); ... etc... As shown above, you must put double-slashes before ALL CMSES except for the "e107CMS" line. This will deactivate all other CMS support except for E107. Double-slashes are how programmers "comment-out" a line, thus deactivating it. Thus, ONLY this line will NOT be commented: include_once(INC_DIR . 'cmses/e107CMS.php'); STEP 4: Upload all files in the FlashChat folder to your "e107_plugins" directory in E107. Thus, the directory structure for E107 should look something like this: /{path to E107}/e107_plugins/flashchat/index.php (formerly index_e107.php) /{path to E107}/e107_plugins/flashchat/inc (folder) /{path to E107}/e107_plugins/flashchat/images (folder) etc. STEP 5: Using your web browser, open the install.php file, located at: http://www.yourserver.com/{path to E107}/e107_plugins/flashchat/install.php This file will use the MySQL options that your current E107 installation uses, and it will create the necessary table structures in MySQL using the same table prefix that E107 uses. If FlashChat is able to read your current E107 settings correctly, then this form should be auto-populated for you. Do NOT change anything in this form - accept all the default values. Note: config.srv.php in the "inc" directory must have write permissions enabled to properly complete this step. If not, it might need to be edited manually. If this is the case, edit the file with your correct database information and go onto the next step. STEP 6: You must now go to the Plugin Manager in E107's Administration panel. FlashChat should automatically show up as an uninstalled plugin. Click "Install." This will automatically add FlashChat to the main menu. The E107 install might say that it is unable to create tables -- this is ok. If the last step was completed properly, they should already be installed. If you had to edit the config.srv.php manually, this step will create the tables for you. STEP 7: Login to E107 as a normal user or as a moderator, click on the FlashChat link, and start chatting! If you notice any errors in these steps, or have any suggestions for improvement, please post a message on the TUFaT.com forum, located at http://www.tufat.com Thank you for using FlashChat! (c) 1999-2004 Darren G. Gates