Few days ago I’ve installed my first CMS and the chosen one was Joomla!
It’s great program with nice administration panel with many options (some may say too many ;)).
After clicking here and there I realized there wasn’t any form of discussion out of the box and I started looking for some plugin that enables writing comments. At the next day I decided I needed something more powerful… something like phpBB3. It tuned out that there is a nice Joomla1.5 Bridge for phpBB3.0 that enables integration of phpBB3. The main idea is to make the forum to use the Joomla’s users table.
And now the problem: there were many people (and me too) that install the bridge and it’s not working.

Hello, thanks for the great bridge! I have one question however, everything is installed correctly and new users to Joomla are added to phpbb. But users are not logged in to phpbb when they log in through Joomla.

If the users logs into both Joomla and phpbb separately and then logs out through Joomla - they will be logged out of phpbb.

What do I need to do to get the logins to sync?

Now I think I’ve found the problem.
When I go to ACP->Cookie settings I see

Cookie name: phpbb3_ABC

When I log in via phpBB it creates the cookies phpbb_ABC_k, phpbb_ABC_u, phpbb_ABC_sid
When I log in via Joomla it creates phpbb_XYZ_k, phpbb_XYZ_u, phpbb_XYZ_sid
So there was a problem with cookies naming.
I opened the phpBB database and there I saw in the config table

cookie_name: phpbb_XYZ

The bridge is loading correct data from DB.
So I suppose this is a phpBB3 bug, because for some reason they have one value shown in interface and really used and another value in the database.

So I needed to make the both values equal.
The easiest way was to go to ACP->Cookie settings and just hit Submit.
After that there was the same cookie name everywhere and since then everything works like a charm.

I hope this will help others too. If you have some questions or this doesn’t help to solve your problem you can leave a comment here or post a reply to this topic.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word