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 »

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: 1187
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

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

Post by GanstaZ »

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.
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
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 »

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: 1187
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

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

Post by GanstaZ »

Why not fully use/integrate phpbbs auth/user/session & make it easier for you/members?
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
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 »

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: 1187
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

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

Post by GanstaZ »

Merge into one system, one db/registration/user session.
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
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 »

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: 26502
Joined: Fri Aug 29, 2008 9:49 am

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

Post by Mick »

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©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
Post Reply

Return to “phpBB Custom Coding”