Support » Plugin: ThreeWP Activity Monitor » Allow Editor User Role to see Activity Monitor Data?

Viewing 4 replies - 1 through 4 (of 4 total)
  • same here, editor role doesn’t “View own login statistics” or “View other users’ login statistics”

    This is same for me… I have my client assigned as an Editor role. as I don’t want to give them administrator privileges.. but I would like them to be able to see info like the logins etc… It looks to me that it should work… but I can’t seem to get it to work.

    Thanks

    I’ve found a bit of a workaround for this one.. I’m not a great programmer but I think this works… If this is going to mess up things please do let me know.. but so far it works for me…

    In ThreeWP_Activity_Monitor.php
    Comment out the line 220:

    add_submenu_page('index.php', $this->_('Activity Monitor'), $this->_('Activity Monitor'), 'read', 'ThreeWP_Activity_Monitor', array (&$this, 'admin'));

    Change the line 224(ish) in ThreeWP_Activity_Monitor.php. Make sure it is outside the

    if ( current_user_can('delete_private_posts') ) {
    add_submenu_page('index.php', $this->_('Activity Monitor'), $this->_('Activity Monitor'), 'read', 'ThreeWP_Activity_Monitor', array (&$this, 'admin'));
    }

    Makesure it is outside the if block:
    if ($this->role_at_least( $this->get_site_option( ‘role_logins_view_other’) ))
    {
    }

    This allows the page to be displayed on the the admin member for an editor.

    Hope it helps someone.

    hey greensweeen, it does work! congrats!
    shame we have to resort to a hack, something else to bare in mind if/when an update comes along… but hey, i can live with it until Edward gives us a proper solution!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Allow Editor User Role to see Activity Monitor Data?’ is closed to new replies.