Solution for cohabitate phpbb forum and website

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Stevenn
Registered User
Posts: 2
Joined: Wed Jul 10, 2019 1:40 pm

Solution for cohabitate phpbb forum and website

Post by Stevenn » Wed Jul 10, 2019 2:10 pm

Hi,

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 !

User avatar
robboZ
Registered User
Posts: 6
Joined: Fri May 07, 2010 7:53 am
Contact:

Re: Solution for cohabitate phpbb forum and website

Post by robboZ » Fri Jul 12, 2019 6:40 pm

I hit exactly the same problem of integration Symfony 4 project with phpbb. My (rather dirty) solution is sketched here:
viewtopic.php?f=461&t=2513221
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.

Post Reply

Return to “[3.2.x] Support Forum”