Page 1 of 1

Solution for cohabitate phpbb forum and website

Posted: Wed Jul 10, 2019 2:10 pm
by Stevenn

I am looking to cohabit a symfony 4 website with a phpbb forum.
I find several solutions, sometimes old or not very effective.
I would like know what is the best solution in 2019.

What I want to do :
Either my forum uses a custom user provider, the users of my site stored in another table.
Or getting get phpBB data in PHP, for use it (I need to know if the user is logged in or not, his data...).

The first solution would arrange me.

Finally, I try to have a "common" connection between the two. If a user is connected, he see all pages, else it is neither connected to the site nor to the forum.

The "remember me" system should works.

I have see "PhpbbSessionsAuthBundle" in github, with differents repository but it does not look great.
Also, an friend evoked me "Php cas", that could be a solution? I do not know this system.

Sorry for my english, It's not my mother tongue.

Thanks !

Re: Solution for cohabitate phpbb forum and website

Posted: Fri Jul 12, 2019 6:40 pm
by robboZ
I hit exactly the same problem of integration Symfony 4 project with phpbb. My (rather dirty) solution is sketched here:
It does work, but it is far from being ideal. It would be great to have some kind of generic method to share authentication system between phpbb and symfony.