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

Staff online

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
<xen:if is="{$user.is_moderator} OR {$user.is_admin}">
. So how can I select the groups?

Jake Bunce

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