XF 1.5 Super Moderator Conditional question

Mark T

Active member

I am new to Xenforo and am slowly learning the innards etc.

I am trying to figure out how to make a conditional exclusively for super moderators.

I know these work for admins and moderators.

<xen:if is="{$visitor.is_moderator}">
<xen:if is="{$visitor.is_admin}">

But is there a similar variable that can be used to test for super moderators?

Mark T

Active member
Thanks wang.

Question, is that for supermoderators exclusive of regular moderators?

My conditional needs to be only for those that are supermods, and not regular mods.


XenForo moderator
Staff member
There is no specific condition for super moderators only.

You could add them to a separate user group and use a user group conditional statement.

Mark T

Active member
Thank you. I was beginning to suspect that while I was searching the forums. But you guys are pretty fast here on responding.

Appreciate the help.