WordPress.org

Ready to get started?Download WordPress

Forums

StatPress Visitors
[resolved] Hide admin visits only (10 posts)

  1. Eckstein
    Member
    Posted 1 year ago #

    Is there a way to hide just the visits from the admin role? I want to collect visits from all logged-in users, plus anonymous users, but NOT admin users.

    Is there a function or something I can add to do this?

    http://wordpress.org/extend/plugins/statpress-visitors/

  2. luciole135
    Member
    Plugin Author

    Posted 1 year ago #

    These is a not possible for the moment execpt if the admin have an IP fixe.
    You must change these test :
    if ((!is_user_logged_in()) or ($StatPressV_Option['StatPressV_Dont_Collect_Logged_User'] != 'checked'))

    in the function luc_StatAppend() located in statpress.php file

  3. Eckstein
    Member
    Posted 1 year ago #

    Ah, I see. I work on a network often so I definitely don't have a static ip address. This would be a great feature in the future to add in my opinion.

    Thanks!

  4. luciole135
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, i will work on it :)

  5. luciole135
    Member
    Plugin Author

    Posted 1 year ago #

    Done the new version 1.5.1 add an option to do like it

  6. Eckstein
    Member
    Posted 1 year ago #

    Wow! I can't believe you worked that out so fast! Thank you so much!

    I updated to the new version, but I can't seem to find the new option. Can you tell me where it's located?

    Thank you so much again for your awesome support.

  7. luciole135
    Member
    Plugin Author

    Posted 1 year ago #

    well, i verify the file, wait

  8. luciole135
    Member
    Plugin Author

    Posted 1 year ago #

    You rigth 1 file was not the good.

    I put it again on 1.5.1.1

    hope I'm not mistaken the files in these version

  9. Eckstein
    Member
    Posted 1 year ago #

    OK, the newest version looks to be golden! Good thinking giving us the option to choose based on user-capabilities. That's really useful and I think others will think so as well.

    You guys have some of the best support of any plugin I've used, thanks again!

  10. luciole135
    Member
    Plugin Author

    Posted 1 year ago #

    You are welcomme, thanks you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic