You are invited to Log in or Register a free Frihost Account!

CMS and forum integration using DirectAdmin

I've been looking at integrating Mambo (or Joomla) and phpBB (or SMF)and have a couple tips that will help anyone who wants to do the same.

There are basically two ways you can run these together, stand-alone or integrated.

In stand-alone mode, when you install Mambo (or Joomla) you create a separate SQL database for your forum and Mambo and assign a user and password for each in DirectAdmin. The forum and Mambo each have a separate database and share no information. This is a good setup if you want to run Mambo as your entry page (with a link to enter your forum) and not allow any of your users to change any content in Mambo. All user profile information is handled by your forum. You can have user profiles for Mambo as well, but your users will have to log into each separately (and maintain separate user profiles in each as well).

If you integrate the applications, then they will share user information between them. You can have Mambo or your forum manage the user profiles and the other will share the information. When your user signs in to one, they are automatically signed into the other. There is a small component called a bridge that handles this sharing.

If you want to run stand-alone, you can stop reading now. Wink

Integrating the forums is not as straightforward. One of the requirements is to have one user that can access both your forum database and Mambo database. If you use DirectAdmin, you cannot create multiple databases with the same user. What is the solution? Install your forum first and create the database as normal. As part of the forum install process there is a field for the table prefix. You can use the default (for phpBB the default is phpbb_ and for SMF it is smf_).

After your forum is operational, install Mambo. Just like the forum, Mambo will ask you for the database information. Don't create a new database, but use the same database as your forum. The table prefix must be different than your forum! Mambo, for instance will have mos_ as the table prefix. It is fine to use this default. This will satisfy the bridge between your applications.

You can also run other applications (such as coppermine) as long as they have a bridge to your forum or Mambo as well. The process is the same, point it to your existing database and make sure the table prefix is unique.

If you read the directions for installing these programs, they tell you to create separate databases. This is for better performance. With the amount of bandwidth and storage we have available to us, you will not even come close to having a high enough load to impact performance.

If you made it this far, then I'm sorry to ramble! Smile And thanks for reading, hope it helps you out.
This information helped me greatly. Thankyou

Thanks for your advice, but I just don't understand why we have to install the forum first Sad I'm sorry, I'm just not technical at all...

I'm planning on a website with : Joomla + VirtueMart + PhpBB + Coppermine.

I don't have to do everything at the same time, so I was planning on adding the different part each time I can, in this same order...

But now, you tell me that I should have the forum first Sad

Hum, by the way, which bridge did you use with PhpBB ?

I don't think it matters what order these are installed because all the tables end up going into the same database. (I installed the SMF first and added Mambo on top of it, that's why I had it in that order Wink )

Luckily each system is completely separate, so after they are installed, the bridges provide the glue between them.

I haven't attempted a phpBB/Mambo bridge, I'm not sure if there is a good one yet. I did however do the SMF/Mambo bridge and it works well. I downloaded it from, they have different versions depending on what version of SMF is installed.

Hope that helps!
Thanks a lot n0xvb Smile

I'll test some phpBB bridge because I know it well, so it could save me time... I just find it "strange" that there is no "official" one... well, maybe I just didn't find it Wink

Thanks again,
Lilystock wrote:
Thanks a lot n0xvb Smile

I'll test some phpBB bridge because I know it well, so it could save me time... I just find it "strange" that there is no "official" one... well, maybe I just didn't find it Wink

Thanks again,

I looked too and didn't find one that I was very comfortable with either. Good luck!
Shouldnt this be in tutorials? Just curious.
Metaguy wrote:
Shouldnt this be in tutorials? Just curious.

Yeah... It should

-moved to Tutorials section-
Error came out when install directadmin host management software !
*** gcc is required for compiling, please install gcc (yum install gcc)***
*** g++ is required for compiling, please install g++ (yum install gcc-c++)***
Installation didn't pass, halting install.
It seems that gcc and g + + was not installed. The engine room worker should install this by default. How come there is no
gcc and g + + ? How to solve this problem? Thanks!
Noob Question but what is a bridge in this sense?
Related topics
Making Your Website Look Professional
easyphp help 4 total noob - take 1 second of your time plz
Perl module request.
How to config domain setting in DirectAdmin
possibly another dumb question.... cpanel/directadmin
Carl's Start-to-Finish Professional Website Tutorial
Im probably going to feel like an idiot, but here goes...
Sql Error: 1017. Missing all the indexes files of phpbb
creating a database
how to add my reg domian using directadmin...
parking a domain on server 2 using directAdmin
what's a good cms for this situation
Planet Freelance CMS FORUM!!!!!
Another difficulty with phpbb forum
Reply to topic    Frihost Forum Index -> Miscellaneous -> Tutorials

© 2005-2011 Frihost, forums powered by phpBB.