Jump to content

Remove Last Seen


Dean Spencer
 Share

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

			<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>

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

 Share

  • Recently Browsing   0 members

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