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

XF 1.5 Super Moderator Conditional question

Mark T

Active member
#1
Hi,

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
#3
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.
 

Brogan

XenForo moderator
Staff member
#4
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
#5
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.