wiki:PhpBbAuthPlugin

Version 8 (modified by rjollos, 21 months ago) (diff)

Added syntax highlighting. Needs adoption.

phpBB Authentication with AccountManagerPlugin

Description

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 here, check out using Subversion, or browse the source with Trac.

Installation

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

Configuration

Enable the auth store

[components]
phpbbauth.main.PhpBBAuthStore = enabled

Set the phpBB database location

[account-manager]
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 setup.py keywords and added trove classifier

Author/Contributors

Author: pacopablo
Maintainer: none
Contributors:
Sponsored by Cobra