bbPress

Simple, fast, elegant

bbPress Plugin Browser »

Role Manager (0.2)

Download

Version: 0.2

Other Versions

Last Updated: 2009-12-1

Requires bbPress Version: 1.0 or higher

Compatible up to: trunk

Author Homepage »

Plugin Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(6)

Your Rating

Author: Nightgunner5

Role Manager allows key masters to change the capabilities that each role has and even create new roles.


  1. SteveG190

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    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: 10 months ago #
  2. monkfinch

    Member

    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: 10 months ago #
  3. johnhiler

    Member

    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: 9 months ago #
  4. 0.9.x isn't really too big of a priority with 1.0 being just over the horizon.

    Posted: 9 months ago #
  5. _ck_

    Moderator

    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_cap needs an additional parameter ,'true' in 0.9 as there's no default, lines 47 and 105

    I 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: 9 months ago #
  6. can you please add more description as to what this does exactly?

    Posted: 9 months ago #
  7. _asg_

    Member

    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: 8 months ago #
  8. andydandy

    Member

    strong EDIT: I found it under the emTopics/em panel /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: 8 months ago #
  9. I can't access the configuration options for this plugin in bb1.0.

    Posted: 8 months ago #
  10. 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: 8 months ago #
  11. andydandy

    Member

    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: 8 months ago #
  12. andydandy

    Member

    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: 8 months ago #
  13. Thanks andydandy, that works.

    Posted: 8 months ago #
  14. venividi

    Member

    It works for my 1.01.

    Thanks andydandy

    Posted: 8 months ago #
  15. dear Nightgunner5

    I'm a big fan of your plugins

    This is awesome

    Posted: 3 weeks ago #
  16. Cannot get this work

    Posted: 2 days ago #
  17. iramjohn

    Member

    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: 1 day ago #

RSS feed for this topic

Add a Comment

You must log in to post.

Code is Poetry.