I need to develop a Wordpress site that will use an external user database. I've done this before by creating a custom login/registration page and using standard PHP sessions. The only problem now is that I also need to integrate with bbPress. I need to be able to do 2 things:
When a user logs in via my custom login page, that user should then also be authenticated to use the bbPress forums.
When an active, valid PHP session exists, but a bbPress session does not (for example, if the bbPress session expires before the PHP session), I need the bbPress session to be created.
Can anyone help me with this, point me in the right direction, or give me some kind of starting point?