I messed up when I installed BBpress on my wordpress site initially so that wordpress database integration didn't work. I've fixed it though with one mistake. My wordpress admin account does not have admin powers for BBpress and the current BBpress admin account won't work since BBpress now only looks at the wordpress database. I can access the mysql database directly through cpanel and phpmyadmin. How do I edit my account entry so it has bbpress admin powers?
bbPress support forums » Troubleshooting
Add admin powers to account in mysql?
(6 posts)-
Posted 7 months ago #
-
You can try this:
UPDATE bb_usermeta SET meta_value = 'a:1:{s:9:"keymaster";b:1;}' WHERE meta_key = 'bb_capabilities' AND user_id = 1;
Posted 7 months ago # -
The wordpress database has a different prefix than BB, so there's no bb_capabilities.
Posted 7 months ago # -
Here's the current capabilities of the admin account
a:1:{s:13:"administrator";b:1;}
Can i just change this so it has both wordpress and bbpress admin powers?
Posted 7 months ago # -
If admin's user_id is not 1, then adjust that value. Also your table may be called "wp_usermeta":
INSERT INTO bb_usermeta VALUES (meta_value = 'a:1:{s:9:"keymaster";b:1;}', meta_key = 'bb_capabilities', user_id = 1);Posted 7 months ago # -
That worked! Thanks a bunch.
Posted 7 months ago #
Reply
You must log in to post.