Log in

View Full Version : phpbb3 and the rest of the world



Dirt_Diver
02-05-2009, 03:50 AM
I decided that I would reinstall PHPBB3 back on to my site after deciding that I didn't really like it. I figure it will server it's purpose for now and I can work on the integration later in life.


Here's my question, I am redesigning my site for the new year and going with a whole new set up and look. Before I was using a login system that created cookies and you could carry it from page to page but I wasn't really happy with it because it isn't really a complete login script.

What I would like to do is have someone login to the site and what they are really doing is logging into PHPBB3. I want to use the authentication from phpbb3 and use it for the rest of my site instead of having a user login to the site and login again to the forums. One login and restrict pages to that log in.

How hard would that be to extract the code from phpbb3 and use it on other pages I make?
What would I search for, or has anyone done this that could point me in the right direction or at least give me something.

Thanks in advance.

Stinger
02-05-2009, 08:11 AM
There are instructions on how to do this on phpbb.com; unfortunatly their website is down that the moment lol:( but ill dig out the link for you when they come online again.

Dirt_Diver
02-05-2009, 11:35 AM
ahhh thank you

found this

http://www.dailytip.net/post/2008/03/Integrating-phpBB3-login-on-your-sites.aspx

Dirt_Diver
02-06-2009, 12:20 PM
Does anyone know the section of code on PHPBB3 pages that I can copy it to other pages so the site knows if you are logged in or out?

I want to restrict some pages to members only but I am using PHPBB3 forums as my base. When you sign up with the forum the username and password is what gets you to other sections of the site.