Jump to content

Remove Last Seen

Dean Spencer

Recommended Posts

18 hours ago, Dean Spencer said:

When you visit any profile you see this next to the content count and join date: https://prnt.sc/q926ny   I wanted to remove the Last Seen from being displayed. I remember it was just to delete a line in the theme templates but I dont remember where

core - front - profile - profileHeader

Find and remove

				<h4 class='ipsType_minorHeading'>{lang="members_last_visit"}</h4>
					{{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>
                    {{if $member->last_activity}}{datetime="$member->last_activity"}{{else}}{lang="never"}{{endif}}

and click save but remember doing this could make template not update as and when new updates been done to that template.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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