Version 7 (modified by rje, 4 years ago) (diff)


phpBB Authentication with AccountManagerPlugin


Use a phpBB3 database as the authentication store for Trac

Bugs/Feature Requests

Existing bugs and feature requests for PhpBbAuthPlugin are here. If you have any issues, create a new ticket.

Download and Source

Download the zipped source from [download:phpbbauthplugin here], check out using Subversion, or browse the source with Trac.


  • First make sure you have AccountManagerPlugin installed
  • Grab the source
  • Unpack the source
  • Change into the source directory that contains the file
  • Build an egg:
    python bdist_egg
  • Copy the egg, found in dist/ to the plugins directory of the desired trac environment


Enable the auth store

phpbbauth.main.PhpBBAuthStore = enabled

Set the phpBB database location

phpbb_database = mysql://user:pass@host/database
password_store = PhpBBAuthStore

To use this, it requires mysql-python which can be installed with pip from a command line

pip install mysql-python

Recent Changes

4041 by pacopablo on 2008-07-20 08:08:46
  • Fixes #3355 - Indeed the default prefix should have been lowercase. This is fixed in the applied patch. Thanks for the report and the suggestion.
3560 by pacopablo on 2008-04-26 18:19:06
Fixed session population on login.
3558 by pacopablo on 2008-04-26 05:08:00
Added session population functionality on login. updated keywords and added trove classifier


Author: pacopablo
Sponsored by Cobra