1. 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..:"

Discussion in 'XenForo Questions and Support' started by Spenser, Jun 13, 2011.

  1. Spenser

    Spenser Active Member

    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.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    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


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

  3. Brogan

    Brogan XenForo Moderator Staff Member

    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.

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

    Spenser Active Member

    That did the trick, thank you!

Share This Page