• My specific issue is allowing “Editor” users access to wp-stats so that they can see the widget on the dashboard. It would be good for non-admin users to have this privilege rather than elevating their role. I have begun looking at permissions plugins but they mostly seem to be content related.

    Anyone know how I could accomplish this? I’m sure it would be useful to other people too.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter groomedmonkey

    (@groomedmonkey)

    statpress plugin allows you to set who can access it. So that’s a solution. Haven’t been able to find a good comparison between statpress and wp-stats. So I’ll switch.

    Hi, I’m looking to do the exact same thing? Any idea?

    Thread Starter groomedmonkey

    (@groomedmonkey)

    Yeah statpress (stats stored in your local database) plugin recently added the ability to set who can see it. It isn’t very granular though so they are able to edit options for it. I just told them “only look at this and don’t touch this”.

    The dashboard widget for it doesn’t go across for lower levels though which is all I really wanted to allow them to see. Oh well better than nothing.

    Hiya

    FIXED AND WORKING for wp-stats.

    Not sure if I’ve done it right or not!

    Go to your wp-content/plugins/stats folder
    In there is the stats.php file
    Search for the two instances of current_user_can( ‘manage_options’ ) and replace with current_user_can( ‘level_7’ )

    I found my two instances on lines 605 and line 697.

    And if you want to check the roles available

    Hope that helps – it’s working for me logged in as an Editor

    Regards

    Mark
    LogicSpot

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Allow Editor role to view stats’ is closed to new replies.