Skip to:

Integrating logins between bbPress and other app

  • My company created an online support application for a product a few years ago. We’re now working on installing a bbPress forum but would like to combine user logins so they can sign in to the support site and the forum at the same time.

    I need to integrate with login, logout, register, and block. The bbPress code is a little overwhelming all at once, and I couldn’t find any documentation about integration with third-party software, so here I am. Can anyone get me started? Should I try to build this into a plugin, or a script that the support app runs on login? And which bbPress functions will I need to hook into or rewrite? Thanks a ton!

Viewing 3 replies - 1 through 3 (of 3 total)
  • _ck_ wrote a bit here about the four routines you need to replace to get authentication with an outside user system working:

    Would you combine both user tables into a single system, and have them both authenticate through bbPress? Or only use your existing user system for login, and allow signed in users to use your bbPress app?

    Hi, thanks for the reply.

    I plan to use the existing system for login, and then allow those users to view and post on the forum. This means I’ll need to keep up two user tables, one for each system, right? That’s not so bad as long as I can keep them synchronized.

    So considering that, should the login/logout/register logic be stored in a bbPress plugin? (Is that possible?) Or should I just load bbPress inside the other app and call bb_login(), etc. from there?

    Also, I’ll look into the plugins _ck_ recommended. Thanks!

    How will you handle namespace collisions between the two systems… i.e. if there is an “andrew” account in both user tables?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.