Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove bbPress roles after uninstall


  • muyilleum
    Participant

    @muyilleum

    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 7 replies - 1 through 7 (of 7 total)

  • ArtShop
    Participant

    @artshop

    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

    @andreascm

    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 Lemes
    Participant

    @daniel_iceman

    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

    @andreascm

    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.


    Jeff
    Participant

    @jschodde

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

    Cheers,
    Jeff


    muyilleum
    Participant

    @muyilleum

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


    Gautam Gupta
    Moderator

    @gautamgupta

    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.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.