Forums

Join
bbPress Support ForumsTroubleshootingAdministrator Recount

Info

Administrator Recount

  1. Is there a way to allow an administrator to access Recount in the Admin panel?

  2. It's kinda (good) crazy but there's actually a role key for "recount".

    update: you can make a plugin to give recount access - it will only work for those that can access admin panel

    make this into a plugin:

    <?php
    /*
    Plugin Name: Add Extra Caps
    */
    function add_extra_caps($caps) {
    $caps['recount'] =__('Access the recount administration panel');
    return $caps;
    }
    add_filter( 'get_assignable_caps', 'add_extra_caps');
    ?>

    Install and activate it, edit their profile and check the ability for them. Then they should be able to access it.

    You don't even need to keep the plugin running after that, it can be deactivated/deleted until you want to take away the ability.

  3. Why is it called "Add Extra Caps"?

  4. Add extra capabilities?

  5. AH! Makes sense. The reason I asked is because it wasn't working and I thought there may have been some sort of error... but I just re-uploaded the file into the plugins directory, and it's working fine now.

  6. You must log in to post.