Restores keymaster access to control panel on bbPress and/or WordPress integration. This is an auto-load plugin and must have a leading underscore "_". Put into your plugin directory, access bbPress and/or WordPress once and then delete it from the directory.
bbPress Plugin Browser »
Fix Admin Access (0.0.3)
Download
Version: 0.0.3
Last Updated: 2009-4-5
Requires bbPress Version: 0.8.2 or higher
Compatible up to: 0.9
Average Rating





Your Rating
Author: _ck_
-
This plugin is only meant as a simple way to fix roles for users doing reverse integration of bbPress with WordPress without having to resort to using phpMyAdmin but it may have other uses if a primary admin role gets corrupted or wiped out for some reason.
I created this after having to instruct two different people through phpMyAdmin to fix such a problem. For now it assumes the primary keymaster is user id #1. If not, which is rare but possible, it won't fix the problem.
Posted: 2 years ago # -
You are awesome _ck_!
Posted: 1 year ago # -
ck, i could kiss you !
seriously, after the integration, I've lost my admin panel and have been playing around with my database for hours, without result.
and your little plugin did it
thanks a lot
Posted: 1 year ago # -
My Keymaster ist id 2 I have no id 1. What do I have to change in your plugin?
I have the German language. The Keymaster ist named Hausmeister.
Has that a influence?Posted: 11 months ago # -
Pump replace these lines:
if ($db->get_var("SELECT meta_value FROM $db->usermeta WHERE meta_key = '$key' AND user_id = '2' LIMIT 1")) {$db->query("UPDATE $db->usermeta SET meta_value = '$value' WHERE user_id = '2' AND meta_key = '$key' LIMIT 1");} else {$db->query("INSERT INTO $db->usermeta (user_id, meta_key, meta_value) VALUES ('2', '$key', '$value')");}Posted: 11 months ago # -
Oops after that all my Keymasters are gone...
I deleted my forum and will rebuild it...shit happensbut thanks for helping...
Posted: 11 months ago # -
It's possible your bbPress prefix is different I am going to post 0.0.3 which will let you change the user id # by editing the code.
But this plugin does not delete anything, you shouldn't lose anything.
If you know how to use phpmyadmin you can also fix your install that way.
Posted: 11 months ago # -
Rock on! Thanks for the plugin.
Posted: 6 months ago # -
Perfect! Thanks.
Posted: 3 months ago #
Add a Comment
You must log in to post.