• 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 [email protected] testuser Randall Godfrey [email protected] 8:39 am (May 28, 2020 at 8:39) Logged in 1

Viewing 3 replies - 1 through 3 (of 3 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.

    Plugin Author eskapism

    (@eskapism)

    Please try again with the just released version 2.37.0, it displays the real user logging out instead of just “Other”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Login & Logout tracking’ is closed to new replies.