Support » Plugin: Simple History » Login & Logout tracking

  • Resolved rtwite

    (@rtwite)


    I installed Simple History and it seems easy enough to use. When I did a test login by an user, it shows the login information correctly, but when the test user logs out, it doesn’t show email or user name. We are trying to track when our clients view a specific page that they are required to view and need both the complete login and logout information when we contact them. Would be great to also be able to view what page(s) they view too.

    5/28/2020 13:55 SimpleUserLogger info other user_logged_out Other 8:55 am (May 28, 2020 at 8:55) Logged out 1
    5/28/2020 13:39 SimpleUserLogger info wp_user user_logged_in sales@actnt.com testuser Randall Godfrey sales@actnt.com 8:39 am (May 28, 2020 at 8:39) Logged in 1

Viewing 2 replies - 1 through 2 (of 2 total)
  • That is because function that logs that activity is called at the moment does not have information about the user. Try changing the hook that is called to another that contains that info, like “clear_auth_cookie”. Of course if you are familiar with how wordpress is functioning. Hope this helps.

    Plugin Author eskapism

    (@eskapism)

    @rtwite thanks for reporting this, the plugin used to display the username of the user that logged out, but I also tested this now and it only says “Other”. This is a bug and will be fixed. I’ve added an issue for this: https://github.com/bonny/WordPress-Simple-History/issues/206

    Regarding tracking page visits that’s also possible but requires some coding. Search the forums, I think others have found solutions to this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.