Joomla tutorial – How to configure SMFforum on Joomla

Jul 05, 2012, by admin

joomla-TutorialThis tutorial will show you how to add an SMF forum to your Joomla website. We recommend you to create a backup of your website before you start the integration.

Disclaimer: Note that the Joomla-SMF bridge is officially discontinued. This tutorial is left only for reference how the bridge was used with old Joomla installations.

How to configure an SMF forum into Joomla

You can check the following URL for available SMF bridges:

http://download.simplemachines.org/index.php?bridges

Please follow these steps in order to install the component properly.

Step 1: Download Joomla’s configuration.php file via FTP. It can be found in Joomla main directory. Open it with Notepad or another editor. Find and copy the following rows:

$mosConfig_db = ‘username_joomla’;

$mosConfig_password = ‘yours’;

$mosConfig_user = ‘username_joomla’;

The information in the quotes will be different on your site –

$mosConfig_db determines your Joomla database.

$mosConfig_password determines which is the password for your Joomla’s database user.

$mosConfig_user determines which is your Joomla’s database user.

The above information will be used when installing the SMF forum in the next steps.

Step 2: Follow the tutorial to install manually SMF forum in a subdirectory on your site. In this example we will call it forum, i.e. http://www.yourdomain.tld/forum.

Upload and extract the forum’s files

Skip the step for setting up a new database because we will be using Joomla’s database

Follow the web installation instructions for specifying the correct details. Make sure to specify the database details from the Joomla file as described in Step 1.

Step 3: Download the SMF-Mambo bridge from the SMF Bridges page. It will work for the old Joomla release also.

Step 4: Install the Joomla-SMF component

Please, log in your Joomla admin panel and go to Installers -> Components:

configure-SMF-forum-on-Joomla-1Browse for the com_joomla_smf_forum_x.x.zip file you have previously downloaded and press the [Upload file and Install] button:

configure-SMF-forum-on-Joomla-2Step 5: Joomla-SMF configuration.

All that is left now is to configure the Joomla-SMF component. Please, Go to Components -> Joomla SMF Forum -> Configuration:

configure-SMF-forum-on-Joomla-3This is the most important step of the integration, and is essential that you complete all fields correctly:

Joomla-SMF configuration details:

SMF Absolute Path – the path where you installed SMF. You can use the path to the Joomla installation as reference. In our case it will be forum.

SMF Database Prefix – the default prefix is smf_. This should not be changed by default.

configure-SMF-forum-on-Joomla-4Fill in the above two and click on the [Save] button. Fix the errors, if any, and proceed by clicking on the click to patch links for the index files of Joomla and SMF. Clicking on the [Save] button after each change will help you avoid errors, and make it easier to revert wrong actions.

After completing all steps successfully, the SMF forum should work fine in your Joomla-based website. Well done!