Multi purposing phpbb3 login and user creation code

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Cjk75
Registered User
Posts: 4
Joined: Mon Oct 14, 2024 4:16 am

Multi purposing phpbb3 login and user creation code

Post by Cjk75 »

I have www.example.com and phpbb3 installed at www.example.com/phpBB3/

I want to piggy back on the phpBB3 code on both my domain and the forums so I have 1 login and 1 registration throughout the site. How can i call the login, check if logged in, and user creation functions of phpBB3 on my main page? A little complexity now saves me a lot later. Thank you for any help even if it's just pointing me elsewhere...
User avatar
janus_zonstraal
Registered User
Posts: 6613
Joined: Sat Aug 30, 2014 1:30 pm

Re: Multi purposing phpbb3 login and user creation code

Post by janus_zonstraal »

Sorry! My English is bat ;) !!!
User avatar
GanstaZ
Registered User
Posts: 1219
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

Re: Multi purposing phpbb3 login and user creation code

Post by GanstaZ »

It depends on how is your main site built up.
One way is to use the method that was posted above by Janus.
Another way is to use symfony project like phpBB site is doing or use specific components to do a custom project.
And of course you can build an extension that does everything without over-complicating anything.
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!

Return to “[3.3.x] Support Forum”