XF 2.1 Is there anyway to know user's last login date?

sajal

Active member
Is there anyway to know user's last login date? I have just looked into the db, and I can see that there's this "last_activity" field in the xf_user table. But, I want to just know last login date of users, even if users didn't perform any activity after login.

Any help would be greatly appreciated!
 
@jeb35 I just found out that, the card you pointed out displays the last activity actually, but not the last seen.

Snippet from the template:

<dt>{{ phrase('last_seen') }}</dt>
<dd dir="auto">
<xf:contentcheck><xf:useractivity user="$user" class="pairs--plainLabel" />
</xf:contentcheck>
</dd>
 
Actually, it would be helpful to see this information in list form. Some fora prune members or adjust privileges based on participation. Going one by one is not feasible...
 
I just found out that, the card you pointed out displays the last activity actually, but not the last seen.
Nobody actually sees them though. The computer doesn't know if they are still sitting at their desk watching the computer and eating popcorn.

I will type this, submit it, then sit here for a while finishing my coffee, will then leave the room leaving the screen as it was. At what point was I last seen?
 
Back
Top Bottom