Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove bbPress roles after uninstall

  • @muyilleum

    Participant

    I’m not sure what is happening here but can’t seem to make a post in this support forum. Here’s my problem again:

    I uninstalled bbPress from my blog but found that the additional roles (e.g. Keymaster, Spectator etc) remain. How can I get rid of these additional forum roles now that bbPress has been uninstalled? Thanks

    WordPress version: 3.5, bbPress version: 2.2.3

Viewing 10 replies - 1 through 10 (of 10 total)
  • @artshop

    Participant

    Hi. Same deal, here.
    – Uninstalled BB, but roles still showing in db wp_usermeta ‘capabilities’.
    Thus, Admin ‘does not have sufficient user permissions’ to use the Dashboard. (Ugg!)
    Setting capabilities to:
    a:1:{s:13:”administrator”;b:1;}
    does NOT solve the problem.
    How to uninstall these bbpress cabilities?

    @andreascm

    Participant

    Hi there,
    has anybody a solution for this problem?
    If I had known that before, I won’t have tested this plugin…

    Thank you for any hints!

    @daniel_iceman

    Participant

    At least i found how to remove this annoying roles.

    Anywhere in your theme (i put on a custom page template), use this:

    $wp_roles = new WP_Roles();
    $wp_roles->remove_role("bbp_role");

    It was the only way to remove bbp_keymaster and bbp_participant roles that keep appearing even after uninstall bbPress.

    @andreascm

    Participant

    Thank you very much, Daniel!
    It worked for me – also for the other roles which are visible in the pull down menu for changing a role for an user.

    @jschodde

    Participant

    This worked for me. I dropped the code into my functions.php, then removed them when it was done.

    Cheers,
    Jeff

    @muyilleum

    Participant

    Mind if I ask, can you please provide more details on how you went about it? Still not working here. Thanks

    @gautamgupta

    Participant

    muyilleum, put those two lines in your theme’s functions.php after <?php. On pressing save, that code will automatically load and remove the roles. You can then remove the lines because they would not serve any further purpose.

    @master412160

    Participant

    Is there no other fix for this?

    @doctormicro

    Participant

    Stills shows under User Roll

    @robin-w

    Moderator

    Stills shows under User Roll

    even after this ?

    Anywhere in your theme (i put on a custom page template), use this:

    $wp_roles = new WP_Roles();
    $wp_roles->remove_role("bbp_role");
Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Skip to toolbar