******************************************************************************************** * Forum Module for Mambo * * 12-07-2002 * * * * Copyright (C) 2002 Emir Sakic * * Distributed under the terms of the GNU General Public License * * This software may be used without warranty provided and these statements are left intact.* * This source is available at http://www.superbosna.com/mambo_hacks * * * * LoudMouth and Mambo are Copyright (C) 2000-2001 Miro Construct Pty Ltd * * Source is available at http://sourceforge.net/projects/mambo * * * * Site Name: Mambo Server Site Version 3.0.5 - 3.0.7 * * Component Name: Forum Module * * Developer: Emir Sakic - saka@hotmail.com * * Date: 12/07/2002 * * Version #: 1.0 * * Comments: This is forum module component for Mambo. * * Once installed the module can be placed anywhere on the site through the * * control panel. The module then shows a list of 10 latest submitted posts * * on your mambo forum linked to each. * * Demo can be viewed at http://www.superbosna.com * ******************************************************************************************** This module contains following scripts: - leftComponent.php (hacked Mambo script) - rightComponent.php (hacked Mambo script) - forummodule.php (module script) - instfm.php (installation file) Installation ============ Before you do anything please make a back up of the following files: leftComponent.php and rightComponent.php so you can regret the changes. Easy way (replace the files) ---------------------------- 1. Go to root directory of your Mambo installation. 2. Upload the file forummodule.php. 3. Replace the files leftComponent.php and rightComponent.php. 4. Upload the file instfm.php. Make sure the configuration.php is in the same directory. 5. Go to URL: http://www.yoursite.com/instfm.php to execute the installation file. Once successfully installed you can delete instfm.php from server. 6. Installation is now finished and you can go to your Mambo control panel to change module position. Done! Harder way (hack your files) ---------------------------- 1. Go to root directory of your Mambo installation. 2. Upload the file forummodule.php. 5. Open your leftComponent.php file. Search for code: }elseif ($module == "whos_online"){ include ("whosOnline.php"); $components->component($title, $content); echo "
"; Under that insert the following code: }elseif ($module == "forum"){ include ("forummodule.php"); $components->component($title, $content); echo "
"; Save and upload. 6. Open your rightComponent.php file. Search for code: }elseif ($module == "whos_online"){ include ("whosOnline.php"); $components->component($title, $content); echo "
"; Under that insert the following code: }elseif ($module == "forum"){ include ("forummodule.php"); $components->component($title, $content); echo "
"; Save and upload. 7. Upload the file instfm.php. Make sure the configuration.php is in the same directory. 8. Go to URL: http://www.yoursite.com/instfm.php to execute the installation file. Once successfully installed you can delete instfm.php from server. 9. Installation is now finished and you can go to your Mambo control panel to change module position. Done! Look at the files included for reference. Send your comments or suggestions to: saka@hotmail.com