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.

4 Responses to “Fix for Joomla1.5 Bridge for phpBB3.0”
  1. I used the bridge but now cant access phpbb ACP. All phpbb users are no more recognized.. it doesnt accept the correct passwords to login.. I cant even login into joomla with phpbb user accounts.. only case is all joomla users are able to login into joomla(1.5) as well as phpbb(3) I want some way to authorize the existing phpbb users also.. please help..

  2. Hi,
    I have the same problem (only one way sync).

    I would like to try your method, but I have one question. I went to phpBB admin panel APC–>Cookie settings and found that default value is “phpbb3_9rztt” not phpbb_XYZ. I tryed to replace it to phpbb_XYZ but id doesn’t work. Thankfull for any help..

  3. Hello BW,
    the value is not literally phpbb_XYZ. XYZ is a random string.
    It doesn’t matter what value there is. The solution is just to hit the Submit button.
    Then clear your browser cookies and try to login again.

  4. Thank you for your fast reply. All day fighting this issue, already tired and no fix for me yet.

    Not working for me yet.. it seems that I am doing something wrong.

    Here is step by step what I am doing:
    1. Login to forum ACP>Cookies submit
    2. Clear all cokies for browser (FF and Opera)
    3. Login in Joomla, refreshing on phpBB trying to read forum.. not logged in on phpBB (vice versa works without playing with cookies)

    Waiting for some more help :)

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