Is there any way to add "Last seen" or "Last Activity" date to a member's avatar (as in past versions), instead of just in the user's member card?
message_macros FIND: <div class="message-userExtras">
<dl class="pairs pairs--justified">
<dt>{{ phrase('last_seen') }}</dt>
<dd dir="auto">
<xf:contentcheck><xf:useractivity user="$user" class="pairs--plainLabel" /></xf:contentcheck>
</dd>
</dl>
$0
<xf:if is="$xf.visitor.is_admin OR $xf.visitor.is_moderator">
<xf:if contentcheck="true">
<dl class="pairs pairs--justified">
<dt>{{ phrase('last_seen') }}</dt>
<dd dir="auto">
<xf:contentcheck><xf:useractivity user="$user" class="pairs--plainLabel" /></xf:contentcheck>
</dd>
</dl>
</xf:if>
</xf:if>
If I add this code I can not see it on mobile. It is hidden.Sadly, it doesn't look right on mobile devices because it shows too much information like what thread they are viewing.
Try now- https://forums.fordthunderbirdforum.com/threads/1957-adjust-speedometer-needle.14901/Can I see this on a forum?
extra.less template):.message-userExtras {
display: block !important;
}
We show the Year of Car they own and joined date and that seems to work on mobile so I would hate to get rid of it.That's because you have this somewhere in the code (I guess in theextra.lesstemplate):
Less:.message-userExtras { display: block !important; }
I would remove the code completely. Unless you would like to show other two fields on mobile.

In that case, you can add an extra class like this:We show the Year of Car they own and joined date and that seems to work on mobile so I would hate to get rid of it.
View attachment 281978
<dl class="pairs pairs--justified noMobile">
<dt>{{ phrase('last_seen') }}</dt>
<dd dir="auto">
<xf:contentcheck><xf:useractivity user="$user" class="pairs--plainLabel" /></xf:contentcheck>
</dd>
</dl>
noMobile (you can add whatever you want to identify it). After that add this to your extra.less template:@media (max-width: @xf-responsiveMedium) {
.noMobile {
display: none;
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.