Web Hosting Talk







View Full Version : PHPBB3 - Autologin


maknet
02-24-2009, 08:31 PM
I have a client that wants PHPBB integrated with their website.
Well, PHPBB2 was already integrated, but #3 seems to be using a different model. Any tips?
Specifically, they want new users to have to register through thier website..
and existing forum users to login to their website to get to the forum.
So no actual NEW-registrations or logins on the forum side of the website.
THanks!
Lawrence

spykawg
03-01-2009, 04:38 PM
The phpBB KB has some articles on such things: http://www.phpbb.com/kb/
This tutorial: http://www.phpbb.com/kb/article/add-a-new-custom-page-to-phpbb/ should help you get started.
To keep the a user session just make sure you use this code (assuming you have included the correct phpBB files too):
$user->session_begin();
$auth->acl($user->data);
$user->setup();

maknet
03-01-2009, 05:23 PM
The phpBB KB has some articles on such things: http://www.phpbb.com/kb/
This tutorial: http://www.phpbb.com/kb/article/add-a-new-custom-page-to-phpbb/ should help you get started.
To keep the a user session just make sure you use this code (assuming you have included the correct phpBB files too):
$user->session_begin();
$auth->acl($user->data);
$user->setup();
Thanks a lot for your link.
Any ideas about "passwords"? Basically, they want us to mesh the forums with their regular user-database on the website. i can think of "new users", "logging in" and "change passwords". Can you think of any other functionality i may need to make them work well together?
Lawrence