Forums

[resolved] CyStats User Permissions (4 posts)

  1. Bassscape
    Member
    Posted 10 months ago #

    I think CyStats is setup with user permissions so it's only available for an Administrator to view in the admin. Is this correct?
    If so, is it possible to change this so someone logged in as an 'Editor' would be able to see the CyStats pages?

    I have looked in the db and changed the cystats_userlevel from 10 to 7 in the wp_options table. This hasn't changed anythiong though. I don't if I'm looking in the wrong place.

    Any help or advice would be appreciated.
    Thanks, Peter

  2. petermeister
    Member
    Posted 10 months ago #

    Admins care if the code works.
    Editors care if the content works, and want to know the statistics daily.

    Cystats seems to be locked in at Admin! This plugin is wasted because Admins generally have access to their own stats on the server itself.

    Admins would never give editors access to code, and thus no server stats

    So editors, who have no access to stats, hassle admins all the time to give them a stats report, which is incredibly annoying.

    A stat engine should have editor level reporting if it wants to be useful at all to any blog that involves more than one person.

    I hope Cystats, and all the other stat developers, see the logic in this.

  3. petermeister
    Member
    Posted 10 months ago #

    So the solution to change cystats userlevel from only admin user level to include wordpress editor user level, or allow editor user level to see the stats in Cystats is this:

    (well, this worked for me, at least... I don't know what role management plugins you have activated that could interfere)

    Download the cystats plugin files
    unzip on your desktop
    go to the folder called includes
    edit a file called admin.php using any editor
    Below the line that reads

    *Builds admin panem menu for plugin

    Change ALL the '8' values to '6'
    up to the point where the code line
    "//Get neccesary class file"

    save the changes.
    upload everything including the new admin.php file to the correct folder in your plugins/cystats installation

    You will magically see the wordpress "editor" userlevel (user level) gain access to cystats.

    Give it a try!

  4. Bassscape
    Member
    Posted 10 months ago #

    Great work petermeister! That was extremely easy and exactly what I was trying to do.

    I agree that stats are more for the editor type of user rather than the administrator.

Reply

You must log in to post.

About this Topic

Tags