Jump to content

member_details table: last_visit vs last_activity


Recommended Posts

Hi Adriano, yes I would assume the same expect that does not seem to be the case.

Here is a screen shot of a members profile, note the last visited date.

image.png.981f41a9054067013424097a87c80ed6.png

Now here are the dates stored for that member, I've included both the unix date and formatted to dd/mm/yyyy for each.  Its clear that the profile is displaying the last_activity.

image.png.73396bde9522eb6bc028c1068bcc493b.png

But why didn't the last visit update when there was activity?

Is it a bug?

 

Link to comment
Share on other sites

13 hours ago, Richard Arch said:

Hi Adriano, yes I would assume the same expect that does not seem to be the case.

Here is a screen shot of a members profile, note the last visited date.

image.png.981f41a9054067013424097a87c80ed6.png

Now here are the dates stored for that member, I've included both the unix date and formatted to dd/mm/yyyy for each.  Its clear that the profile is displaying the last_activity.

image.png.73396bde9522eb6bc028c1068bcc493b.png

But why didn't the last visit update when there was activity?

Is it a bug?

 

Yes, it shows the last_activity in profile instead of last_visit:

				{{if $member->isOnline() AND ( !$member->isOnlineAnonymously() OR ( $member->isOnlineAnonymously() AND \IPS\Member::loggedIn()->isAdmin() ) )}}
					{lang="members_online_now"}
				{{elseif $member->last_activity}}
					{lang="members_last_visit"} {datetime="$member->last_activity"}
				{{endif}}

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...