Looking for Login solution to BB from my front end site

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
User avatar
Zewtastic
Registered User
Posts: 30
Joined: Sat Dec 05, 2009 7:10 pm

Looking for Login solution to BB from my front end site

Post by Zewtastic » Wed Apr 18, 2018 2:43 pm

My goal:

rewrite:

I want to copy user registration from my front-end website into the PHPBB user site, and make it so PHPBB recognizes they are logged in when they go to the forums.

I want to block all registration thru the BB site, let it be handled from the front end site.

I'm hoping someone can point me to code (I'm sure people have done this) to help me implement this, or at least get me started.
Last edited by Zewtastic on Wed Apr 18, 2018 3:09 pm, edited 1 time in total.

User avatar
GanstaZ
Registered User
Posts: 272
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Looking for Login solution to BB from my front end site

Post by GanstaZ » Wed Apr 18, 2018 2:55 pm

Log in is easy, here is one way to achieve it Practical.External login.
About second part, one way to do this, is by making a bridge or export all data from your db to phpbb db & make phpbb db as main one.

User avatar
Zewtastic
Registered User
Posts: 30
Joined: Sat Dec 05, 2009 7:10 pm

Re: Looking for Login solution to BB from my front end site

Post by Zewtastic » Wed Apr 18, 2018 3:00 pm

GanstaZ wrote:
Wed Apr 18, 2018 2:55 pm
Log in is easy, here is one way to achieve it Practical.External login.
About second part, one way to do this, is by making a bridge or import all data from your db to phpbb db & make phpbb db as main one.
Thanks I will check that out.

I have already kind of made this work for an older website I have, although it is clunky.

When users register to my main site, their user info is inserted into the BB user table, and I basically edited out all the registration sections for PHPBB so users have to go thru mu main website login. It works but is a little clunky, meaning users still have to log in to BB using my main site registration.

User avatar
GanstaZ
Registered User
Posts: 272
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Looking for Login solution to BB from my front end site

Post by GanstaZ » Wed Apr 18, 2018 3:09 pm

Why not fully use/integrate phpbbs auth/user/session & make it easier for you/members?

User avatar
Zewtastic
Registered User
Posts: 30
Joined: Sat Dec 05, 2009 7:10 pm

Re: Looking for Login solution to BB from my front end site

Post by Zewtastic » Wed Apr 18, 2018 3:43 pm

GanstaZ wrote:
Wed Apr 18, 2018 3:09 pm
Why not fully use/integrate phpbbs auth/user/session & make it easier for you/members?
Can you elaborate?

User avatar
GanstaZ
Registered User
Posts: 272
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Looking for Login solution to BB from my front end site

Post by GanstaZ » Wed Apr 18, 2018 4:38 pm

Merge into one system, one db/registration/user session.

User avatar
Zewtastic
Registered User
Posts: 30
Joined: Sat Dec 05, 2009 7:10 pm

Re: Looking for Login solution to BB from my front end site

Post by Zewtastic » Wed Apr 18, 2018 5:08 pm

Hmm, not sure how best to handle that. I guess I can experiment.

Frankly, i want people registering thru my pretty front end. Not the ugly phpbb.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 19085
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Looking for Login solution to BB from my front end site

Post by Mick » Sat Apr 21, 2018 9:45 am

Why are you worried about what new registrants see? They only see it once, it seems a bit of an overkill to me.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

Post Reply

Return to “phpBB Custom Coding”

Who is online

Users browsing this forum: No registered users and 7 guests