bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Lost Key Master

(3 posts)
  • Started 3 months ago by Gabx82
  • Latest reply from Gabx82
  • This topic is resolved
  1. Gabx82
    Member

    Hello,

    I integrated bbPress with WordPress, soooooo, now bbPress is using WordPress database... that means I have no Key Master nor Administrator for bbPress,

    How can I manually convert my WordPress' admin to a bbPress' Key Master?

    So I can change bbPress settings and stuff.

    Please help, thanks!

    Posted 3 months ago #
  2. As the code stands at the moment, it is a little too easy to lock yourself out. There may be a cleaner solution, but the following worked for me:

    Try to login to BBPress with the WP admin. If that fails to give admin access to BBPress, the user mappings were either not set, were set at the wrong stage during integration, or were set such that nothing mapped to the Keymaster.

    Backup the database (just in case a bad situation accidentally becomes terminal while you're trying to fix it).

    Using SQL access to the database (eg PhpMyAdmin), open up bb_topicmeta and delete the last few lines with meta_key starting wp_. That should reset everything, allowing you to get back into BBPress on the old Keymaster account and start again.

    I found the order in which the integration settings were applied was critical. Your mileage may vary, but for me that was:

    1. Edit User role map (ensure Admin is linked to Keymaster), and save.
    2. Add "wp_" under User database table prefix and save.
    3. Hit the User role map button again.
    4. Finally complete the cookie setting and save.
    Posted 3 months ago #
  3. Gabx82
    Member

    Hi there!

    Well, I did something else... I added the keymaster line to my admin wordpress' db,

    Thanks!

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.