troubleshooting Question

Best method to integrate PHPBB 3 sessions into an existing website login

Avatar of bigMlittleC
bigMlittleC asked on
5 Comments2 Solutions18978 ViewsLast Modified:
We have an existing website, that has an existing login system.  We need to add a forum to the website.  It's a PHP based app and we're going to use PHPBB3.  (Unless there is a better solution that would support an open ID framework?)  

So we'd like to have a single logon for both systems.  Here is what we propose doing:

1) create a script to import the user table from the existing site into the PHPBB table.
2) not bother with converting the passwords, as ours are MD5 and PHPBB uses a proprietary hashed encryption (I think).
3) Get the new PHPBB user ID number and insert that back into the existing user table
3) We just need PHPBB to think that person is logged in and to provide their PHPBB userID.
4) So when they log-in it would create the session variables for PHPBB aswell as for the existing site.
5) Any new members would have their data inserted into the PHPBB table and the existing table.  Their PHPBB userID would also be inserted back into the user table.

Is it possible to do this? any suggestions on what to approach, particularly with how you handle the session and what session variables need setting?



Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros