PHP Classes

PHPBB Login Integration: Authenticate PHPBB users with site login system

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 13,193 This week: 1All time: 83 This week: 560Down
Version License Categories
phpbb_login 1.0.0GNU General Publi...User Management, Forums
Description 

Author

This class allows you to integrate your own login system with phpBB forum system. Meaning that you can have one login valid across both your Web site and phpBB.

The class lets your site create a phpBB login session to be associate with the same user that has logged in a existing login system of your site.

To take full advantage of this PHPBB_Login class you just need to modify your own login system to include a call to the class functions to login or logout a given user.

The way this class works is reliant on the Web site username being exactly the same as the phpBB username. To insure this, it is recommended to disable the ability to change usernames from within the phpBB admin control panel.

Innovation Award
PHP Programming Innovation award nominee
March 2004
Number 3


Prize: One book of choice by O'Reilly
phpBB is a very popular forum system among the PHP community. Many developers have integrated it as part of their own sites.

Since phpBB has its own user management system and many sites that want to integrate it also have their own user management system, a solution for integrating both systems is often necessary.

The approach of this class to solve that problem is to artificially initiate a login session when the user has successfully authenticated in the login system that the site already had.

This way the users only have to authenticate once to use either the pages of the site or the pages of the phpBB system that require authentication.

Manuel Lemos
Picture of Duncan Gough
Name: Duncan Gough <contact>
Classes: 2 packages by
Country: United Kingdom
Age: 49
All time rank: 1348 in United Kingdom
Week rank: 416 Down15 in United Kingdom Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file PHPBB_Examples.php Example Some PHPBB_Login examples
Plain text file PHPBB_Login.php Class The phpbb_login class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:13,193
This week:1
All time:83
This week:560Down
User Ratings User Comments (1)
 All time
Utility:80%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2001
 
Good jobs, i'll give 5 stars
16 years ago (kiky)
55%StarStarStar