Support » Plugin: Advanced Access Manager » [Plugin: Advanced Access Manager] Remove Super Admin Role

  • I installed the program after carefully reading that warning box. I looked through, but this plug in did not seem to have the features I was looking for. (Limit an author’s ability to only post to a specific category.)

    I deactivated and uninstalled the plug in normally.

    The Super Admin role remains. How can that be removed? Are there any database tables added that can be removed?

    (Yes, I should have backed up, and I did 20 hours ago … but I had a bunch of new people register for the site and I don’t want to blow them away.)

    Thanks in advance.

    http://wordpress.org/extend/plugins/advanced-access-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Vasyl,

    i have the same problem.
    Is it posible that you include the option to create an superadmin.
    I think that’s on interest of everybody.

    Just by the way. I’m one of them who paid for the Advanced Tool. So it would be nice if you answer soon.

    Regards,
    BJ

    Yeah, this is super annoying, I hate it when plugins don’t give the option to clean out what they did to the database (which most don’t).

    Anyways, I did this and it worked for me. NO GUARANTEE!

    In the wp_usermeta table, copy the text in the meta_value field, and paste it somewhere (notepad) for safe keeping, in case this solution doesn’t work (in which case you should put this back in the field).

    Then, in the database, replace that entry with:
    a:1:{s:13:”administrator”;s:1:”1″;}

    You should now be able to go to the users -> roles and delete the super-admin role.

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi guys,
    Yeap, this is annoying. I understand you. Will take in consideration for next release.

    And just for record. I do not suggest rdmoore1000 as a good solution. This may work for simple WP installation. But if some plugin is using user/role capabilities it may break an access to that plugin.

    Regards,
    Vasyl

    Easy fix for this because I had the same issue. Paste these two lines in functions.php. Afterwards you can delete them again.

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

    Have others tried this – I’ve deactivated and deleted the AAM plugin, but the superadmin role is still there and the other admins have fewer access rights.

    I’m really worried about running this in case I lose access to the site!

    Steve

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Advanced Access Manager] Remove Super Admin Role’ is closed to new replies.