Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
NerdCore Posted June 30, 2021 Posted June 30, 2021 Even if logged in as anonymous and as an admin. Members can't see us in the "who's online". But, they can see on our profile pages that we are online currently / x minutes ago. This is the code from the theme core -> front -> profile -> profileHeader: <div id='elProfileStats' class='ipsClearfix sm:ipsPadding ipsResponsive_pull'> {{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>
Recommended Posts