Role Manager allows key masters to change the capabilities that each role has and even create new roles.
bbPress Plugin Browser »
Role Manager (0.2.1)
Download
Version: 0.2.1
Last Updated: 2010-7-12
Requires bbPress Version: 1.0 or higher
Compatible up to: trunk
Average Rating





Your Rating
Author: Ben L.
-
I felt I just had to give Nightgunner5 some kudos for this one.
I was struggling to get any of the other "additional roles" hacks to work, and all ended in miserable failure and I had to hack a core file as a result. You've answered my prayers with this! This works so beautifully I'm nearly in tears :)
Thank you!
Posted: 3 years ago # -
I just tried to install this plugin and when I activated it, I received the following error messages (below). What went wrong?
Warning: Missing argument 2 for BB_Role::add_cap(), called in /nfs/c02/h02/mnt/21037/domains/rallypointmilitaria.com/html/forum/bb-plugins/role-manager/role-manager.php on line 105 and defined in /nfs/c02/h02/mnt/21037/domains/rallypointmilitaria.com/html/forum/bb-includes/capabilities.php on line 221
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /nfs/c02/h02/mnt/21037/domains/rallypointmilitaria.com/html/forum/bb-includes/capabilities.php on line 282
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /nfs/c02/h02/mnt/21037/domains/rallypointmilitaria.com/html/forum/bb-includes/capabilities.php on line 284
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c02/h02/mnt/21037/domains/rallypointmilitaria.com/html/forum/bb-includes/capabilities.php:187) in /nfs/c02/h02/mnt/21037/domains/rallypointmilitaria.com/html/forum/bb-includes/pluggable.php on line 232
Posted: 3 years ago # -
This is such a great plugin, but when I installed it... it removed all admin access for me. I eventually realized that it must be b/c I'm using 0.9.x...
Is there any chance of supporting version 0.9.x? That would be fantastic!!
Posted: 2 years ago # -
0.9.x isn't really too big of a priority with 1.0 being just over the horizon.
Posted: 2 years ago # -
0.9 compatibility would probably consist of just getting rid of the insane proprietary constants (ie. BB_URI_CONTEXT_A_HREF) that 1.0 uses. Actually I guess I could write something for 0.9 to generate those constants.
Another compatibility problem I see is
->add_capneeds an additional parameter,'true'in 0.9 as there's no default, lines 47 and 105I also see a PHP 4 compatility problem on line 112, you can't do this in PHP 4
$bb_roles->get_role('blocked')->name
but I think (not positive) you can do this instead:
$blocked= & $bb_roles->get_role('blocked'); if ( $data[0] != $blocked->name ) { $blocked->name = $data[0];(50% of bbPress users still use PHP 4)
Props for writing this, I had started on something a year ago and never finished it.
Posted: 2 years ago # -
can you please add more description as to what this does exactly?
Posted: 2 years ago # -
How do you access the configuration for this plugin in bbpress 1.0 rc3? I'm not able to find anything in the admin area.
Posted: 2 years ago # -
strongEDIT: I found it under theemTopics/empanel/strong(so discard message below).Same here - I am not able to find anything in the admin area after activating the plugin?
I am using bbpress 1.0 rc3 integrated with wordpress 2.8 (using the new standard wordpress integration options in BBpress 1.0).
.. (whats with the backtics not working? .. using danish keyboard layout)
Posted: 2 years ago # -
I can't access the configuration options for this plugin in bb1.0.
Posted: 2 years ago # -
I can't find any configuration options either. I tried looking under the "topics" panel as described above, but do not see anything. I'm on bbPress 1.0.
Posted: 2 years ago # -
UPDATE: Now that I have upgraded from version 1.0 rc3 to 1.0.1,
the plugins configuration settings do no longer appear under the TOPICS menu (or any other menu for that matter)Any fixes?
Posted: 2 years ago # -
THE FIX:
How to make the plugin settings menu appear i BBpress 1.0.1
(goes for role_manager 0.1):You need to change this code in the plugins file role-manager.php, around line 12:
Delete this:
global $bb_submenu;
$bb_submenu['content.php'][] = array( __( 'Roles', 'role-manager' ), 'manage_roles', 'role_manager' );And put this instead:
bb_admin_add_submenu(__( 'Roles', 'role-manager' ), 'manage_roles', 'role_manager', 'options-general.php' );The plugin settings will now appear under the settings tab, as menu item 'Role'.
Posted: 2 years ago # -
Thanks andydandy, that works.
Posted: 2 years ago # -
It works for my 1.01.
Thanks andydandy
Posted: 2 years ago # -
dear Nightgunner5
I'm a big fan of your plugins
This is awesome
Posted: 2 years ago # -
Cannot get this work
Posted: 2 years ago # -
Received the following error message:
Parse error: parse error, unexpected T_OBJECT_OPERATOR in [...my site...]my-plugins/role-manager/role-manager.php on line 111
I'm using bbPress 1.0.2
Posted: 2 years ago # -
I'm not a coder. I just installed Role Manager and everything seems to be ok except that on the Roles options page all the text in the "Roles" and "Capabilities" columns is nothing but tiny squares - like when you get Chinese spam. Am I doing something wrong? I have the latest version of both bbpress and the plugin. Your help will be greatly appreciated.
Posted: 2 years ago # -
There are typos on
role-manager-admin.php, line 220 and 229: it should beif ( !empty( $caps[$cap] ) )Anyway, great plugin, just what I was looking for! =D
Posted: 1 year ago #
Add a Comment »
You must log in to post.