Viewing 6 replies - 1 through 6 (of 6 total)
  • I like this idea too, kind of doubles as a time keeper for work done. I was going to suggest the option to log logging out or the closing of the site/tab/browser.

    I suppose the issue here is how big is the size of the log going to be so could this log be created by Day/month/bi-month/quarterly and then exported to a pre-selected format e.g CSV, verified and the log deleted to start afresh.

    I wish I could script but my brain just isn’t wired that way sigh!

    Plugin Author Max Chirkov

    (@maxchirkov)

    Thanks for the suggestion. I need to think about it. The issue with logged in duration is that it can’t be recorded for users that don’t manually log out. I personally never log out from my WP sites on my own machines – I just let the cookie to expire. So, this option would be totally irrelevant to me.

    By the way, when user logs in – there is an option on the login form called “Remember Me” – if user checks it, WP will remember the user for 14 days, otherwise the user will be remembered for 2 days. In any case, if user doesn’t log out, then he/she will be logged in for at least 2 days, which doesn’t represent the real duration of their stay.

    Before I join the others in wishing for data about the duration of connections, I would like to thank Max wholeheartedly for his Simple Login Log plugin, which is for the moment the only available response to my problem and remarkably easy to use. I have just made a small donation. I would have liked to make a bigger one, but my tight budget doesn’t allow me. Whatever my wishes for further developments, thank you very much for this little marvel that you have programmed.

    Speaking for myself, an English as a Foreign Language teacher in France, I maintain a self-hosted WordPress Blog for each of my classes (https://www.mrbrousse.com ) (and especially https://www.mrbrousse.com/blog5eme1 ). As I desperately needed to give my 13 year old students an incentive to come and train regularly on the grammatical puzzles on the Blog for them to memorize English sentence structures and to create English grammatical reflexes in their minds by doing so, I have just told them that their work on their class English Blog would be monitored from now on.
    I have demanded that they connect with their personnal identifier and password each time they come on the Blog, and I have told them that they would get a “Work on the Blog grade” every 2 months, and that they needed to connect at least a quarter of an hour 3 times a week to get grade C.
    When I told them so a few days ago, I didn’t know yet that it was not possible to record the length of time spent training on the Blog, so my words were not really a lie.
    But if the option really existed, I could insist that they should log out after each of their training on the Blog, and that failing to do so would dramatically diminish their grade.
    For the moment, they are believing that their connection duration is being recorded, but when they realize that it is not, I fear that many of them will connect for just a couple seconds only for their grade’s sake, and that they won’t bother with the training side at all…
    Of course, the ideal would be to also get data about the activities performed on the blog during the connection period, but the mere recording of connection time between log in and log out would already be a huge improvement for teachers.
    Thanking you again,
    Take care,
    Chris

    darkan9el

    (@darkan9el)

    Hi Max thanks for the explanation, I see the problem and why its probably not been created with much success, not being a programmer of any sort, its one thing to have an idea and quite another to actually implement it.

    I have a workaround in the form of an old casio digital watch I got from a petrol station, I’ve had it for 15 years and its still going on the original battery lol!

    Keep up the good work Max

    I’ve looked everywhere to find a plugin to record length of time logged and finally found two possible solutions :

    @mr Brousse : there is a small simple plugin that does just what you need here : https://www.ads-software.com/plugins/log-user-stats/

    Otherwise, if you’re familiar with Google Analytics, you can track members activity with the bit of code presented in this page : https://stackoverflow.com/questions/16578410/tracking-internal-users-on-wordpress

    The Google Analytics solution is great and gives plenty of information about users activity, but there’s a bit of a learning curve to be able to use it.

    @thepilot: Thanks for the pointers will look into them. Ill see if I can use them.

    You don’t realise sometimes how long you spend in Dashboard editing old and adding new stuff, especially on a slow host. I left 123reg because the hosting saw unusable and moved to spiralhost which was better for a while but is only marginally faster than 123reg now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Record Length of Time Logged In’ is closed to new replies.