XF 1.5 When a user last logged in?

flowerpot132

Active member
How do you find this out? Not from their admin profile, that only logs something significant like posting.

But the info is logged, as you can search for users by when they last logged in.

Thanks
 
The value doesn't only log posting. It logs browsing. The admin value may not take into account very recent things (such as actions within the last hour).

The value shown on their (public) profile is the most recent activity we have logged for them.
 
There's really only one figure and it's the user's last activity. It really means their last activity on the site (the last time the viewed a page), with the caveat that value listed in the admin control panel isn't necessarily updated instantly for performance reasons.

You mentioned in the first post that you search by when a user last logged in, so by "logged in", I presumed you meant their last activity. If you mean when they actually entered their username and password, this isn't exposed anywhere. It may be available within raw IP logs as we do log that as a specific action.
 
Back
Top Bottom