The Old Man Posted December 22, 2020 Share Posted December 22, 2020 Last online seems to be missing on some member profiles, I've noticed it happens here too, @ahcfor example. I don't think it's because they are using anonymous mode. Could there be any other reason for it? Link to comment Share on other sites More sharing options...
Adriano Faria Posted December 22, 2020 Share Posted December 22, 2020 6 minutes ago, The Old Man said: I don't think it's because they are using anonymous mode It is: {{if ( !$member->isOnlineAnonymously() ) OR ( $member->isOnlineAnonymously() AND \IPS\Member::loggedIn()->isAdmin() )}} <li> <h4 class='ipsType_minorHeading'>{lang="members_last_visit"}</h4> <span> {{if $member->isOnline() AND ( !$member->isOnlineAnonymously() OR ( $member->isOnlineAnonymously() AND \IPS\Member::loggedIn()->isAdmin() ) )}} <i class="fa fa-circle ipsOnlineStatus_online" data-ipsTooltip title='{{if $member->isOnlineAnonymously()}}{lang="online_now_anon" sprintf="$member->name"}{{elseif $member->isOnline()}}{lang="online_now" sprintf="$member->name"}{{endif}}'></i> {{endif}} {{if $member->last_activity}}{datetime="$member->last_activity"}{{else}}{lang="never"}{{endif}} </span> </li> {{endif}} The Old Man and SeNioR- 1 1 Link to comment Share on other sites More sharing options...
The Old Man Posted December 22, 2020 Author Share Posted December 22, 2020 Thanks @Adriano Faria Yes that's how it should normally work but it seems like that very first $member->isOnlineAnonymously() may somehow be a false positive. Link to comment Share on other sites More sharing options...
Recommended Posts