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

Staff online

Discussion in 'XenForo Questions and Support' started by siwi, Aug 10, 2012.

  1. siwi

    siwi Member

    Hi all

    I have some problem. In the "staff online" in the sidebar are only the members which have moderative or administrative rights. But I want to show the GROUP moderators too. What did I have to add to
    Code:
    <xen:if is="{$user.is_moderator} OR {$user.is_admin}">
    . So how can I select the groups?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Code:
    <xen:if is="{$user.is_moderator} OR {$user.is_admin} OR {xen:helper ismemberof, $user, 4}">
    
    You need to specify the group id.
     
  3. siwi

    siwi Member

    thank you works fine!
     
  4. siwi

    siwi Member

    and is it also possible with this to give the rights for write a smile just to the admins?
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

Share This Page