• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Restricting "User was last seen on..:"

Spenser

Active member
#1
Is there a way to restrict the "User was last seen on" information to make it only available to moderators and administrators?
The information is shown if one clicks on the link on the username on the index page.
 

Jake Bunce

XenForo moderator
Staff member
#2
The individual user can control that:

Screen shot 2011-06-13 at 4.07.27 PM.png

Then the admin / mod groups normally have this permission enabled which allows them to always see a user's status regardless of their invisible status:

Admin CP -> Users -> List User Groups -> [click a group] -> Bypass user privacy

edit:

If you want to force Show online status for your users then see this post:

http://xenforo.com/community/threads/show-online-status.14176/#post-186836
 

Brogan

XenForo moderator
Staff member
#3
You can edit the appropriate templates to wrap the code in a conditional.

<xen:if is="{$visitor.is_admin} or {$visitor.is_moderator}">
This content will display to Administrators and Moderators only.
</xen:if>

You would have to do it for the member card and profile page.