**************************************** LUNABYTE FORUM INTEGRATION FOR FLASHCHAT **************************************** This file describes the steps required to integrate FlashChat into a LunaByte installation. 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: Open the "common.php" file within the "inc" folder of your FlashChat distribution, and make sure that "lbCMS.php" is the ONLY uncommented line relating to CMS integration. I recommend that you use TextPad (www.textpad.com) as your plain text editor - NOT Windows Notepad or WordPad. Thus, the common.php file will have something similar to this: //include_once(INC_DIR . 'cmses/defaultCMS.php'); //include_once(INC_DIR . 'cmses/statelessCMS.php'); //include_once(INC_DIR . 'cmses/phpNukeCMS.php'); //include_once(INC_DIR . 'cmses/postNukeCMS.php'); //include_once(INC_DIR . 'cmses/xoopsCMS.php'); //include_once(INC_DIR . 'cmses/vbulletinCMS.php'); //include_once(INC_DIR . 'cmses/xmbCMS.php'); //include_once(INC_DIR . 'cmses/ipbCMS.php'); //include_once(INC_DIR . 'cmses/wowCMS.php'); //include_once(INC_DIR . 'cmses/moodleCMS.php'); //include_once(INC_DIR . 'cmses/smfCMS.php'); include_once(INC_DIR . 'cmses/lbCMS.php'); Thus, "//" appears before all the CMS references EXCEPT for the lbCMS reference ('lb' = LunaByte). Double slashes are how programmers "comment-out" a line, thus deactivating it. STEP 2: On your web server, create a new folder called "FlashChat" as a sub-folder of the LunaByte directory (the directory that contains LunaByte's index.php file). Copy all of the files in the "chat" folder from your FlashChat download to the newly created FlashChat directory. In other words, you should now have a folder called "FlashChat" which resides in the LunaByte directory, and within the "FlashChat" directory you have the actual FlashChat files... for example: .../{lunabyte root}/FlashChat/index.php .../{lunabyte root}/FlashChat/install.php .../{lunabyte root}/FlashChat/inc/ .../{lunabyte root}/FlashChat/sql/ .../{lunabyte root}/FlashChat/templates/ ...etc for other files in the "chat" folder of your FlashChat distribution. CHMOD the /FlashChat/inc/config.srv.php file to a world-writable format, like 777. This will ensure that the FlashChat installer can write configuration data to the config.srv.php file. If you are unsure of how to do this, please contact your website administrator. STEP 3: Using your web browser, open the .../FlashChat/install.php file, and accept the provided values. These values will probably look familiar to you since they should draw from your current LunaByte configuration. If the values do not look familiar, then go back to steps 1 and 2, and make sure that you have done those steps correctly. If the values are correct, submit the form to create the database tables that are required for FlashChat. STEP 4: Login to LunaByte as an administrator, and go to the Admin Center. Then, go to the 'Menu Management' area, located under the 'Website management' section. Choose to edit 'menu2' (the left-side Text menu). On the 'Add menu item' form, enter the following data: Name/Alt tag: FlashChat Is this a 'special' link?: (leave blank) Linked to: FlashChat/flashchat.php Link Target: _blank (i.e., type the word "_blank" into this field) Position: 0 (you can modify this later) Member groups who can see it: (select 'Members', or whatever group(s) you prefer) Press the 'Add Link' Button. This will create a text link for FlashChat in the left-side navigational menu. STEP 5: Close all instances of your web browser. Then, restart your browser, and open the LunaByte main page - upon logging in, you'll see the FlashChat link in Menu Block, (located on the left on most skins). Logging in as a standard LunaByte user will now auto-login to FlashChat, and logging into LunaByte as an admin or moderator will auto-login to FlashChat as a chat moderator. If you notice any errors in these steps, or have any suggestions for improvement, please post a message on the TUFaT.com support forum, located at http://www.tufat.com/ Thank you for using FlashChat!