I am using PHPBB for my forum. My intention is if someone registers to my website, he/she will be login to forum as well, automatically. That means no need to register twice to use the forum. Is there a way forward to achieve this?
Will greatly appreciate your suggestions.
Thanks
Thanks. I watched the videos related to phpBB posted by Alex. I found “Login Integration video” not “Registration Integration”. For my case, I want to make my registration form to insert the data in both the website user’s table and the forum user’s table so that users can login to both the website and forum with the same username and password.
I did this kind of thing when I was building a community web site based on phpbb3. However, I didn’t use a separate table but extended the existing phpbb users table and added my own columns. In general, I initialized phpbb session on each page, even outside forum, so that the login system could work site-wide. Something like this in index.php (every request went through index.php):
But that was some 3 year ago and all I remember the integration with phpbb was a real PITA… The phpbb code is messy as hell (and db design, too) and I had to hack it in several places to make it all work smoothly - I don’t even remember now what I changed. The site is no loger live for various reasons but it worked pretty well. Alas, I wasn’t able to upgrade phpbb due to too many hacks I had to make. I don’t know if there is an elegant solution to this, all I know is I don’t want to go through this again
Hi,
Sorry for late reply. I followed the steps described in the Alex’s video and use the insert query to insert the data into both tables instead of select query.