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

Hide Ninja Mods?

Discussion in 'XenForo Questions and Support' started by taylor_smith, Mar 14, 2012.

  1. taylor_smith

    taylor_smith Well-Known Member

    Our community allows clans/guides to host their own forums with their own moderators. These moderators are given mod powers in their respective nodes, but they aren't placed into the moderators group. Is there a way to hide these folks from Staff Online Now?

    One idea I had was to take this:

    Code:
    <xen:if is="{$user.is_moderator} OR {$user.is_admin} OR {$user.user_group_id} == 11">

    Remove "{$user.is_moderator}" and add "{$user.user_group_id} == X", where X is the user group number for the moderator group. Am I missing any potential ramifications? Unintended consequences are the devil.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The Moderator user group doesn't denote whether a user is staff or not, only explicitily making them an administrator or moderator does that.
    User groups are for permissions and markup.

    So your proposal above will work fine.
    You can even use the default Moderator user group ID (4) and have a different user group for the other moderators.
     
  3. taylor_smith

    taylor_smith Well-Known Member

    Awesome. Thanks for the confirmation!
     

Share This Page