How to work PHP conditionals with Xenforo?


Active member
Currently, all group owners (groups they paid for and run etc.) moderate their own sections that they bought, and all join requests to their groups (accept, decline). Using this though gives them access to reports and means that moderates can't warn those users; Xenforo are treating them as actual site moderators.

When we were on MyBB, we could use "if $mybb usergroup = "x" then -> !", how could we do this in Xenforo?



in memoriam 1991-2020
Brogan has a decent resource about conditionals. If you want a moderator to moderate only their own forums, set their moderator permissions per-node and not globally.


Well-known member
^we've done that, they are not global mods. There must be a Xen:if for restricting content to certain user groups.