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

Staff online

#1
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?
 

Jake Bunce

XenForo moderator
Staff member
#2
Code:
<xen:if is="{$user.is_moderator} OR {$user.is_admin} OR {xen:helper ismemberof, $user, 4}">
You need to specify the group id.