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

How to work PHP conditionals with Xenforo?

Discussion in 'General XenForo Discussion and Feedback' started by Crayo, Jul 16, 2013.

  1. Crayo

    Crayo 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?

  2. Jeremy

    Jeremy Well-Known Member

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

    Solidus 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.
  4. Jeremy

    Jeremy Well-Known Member

    Jon W likes this.
  5. Solidus

    Solidus Well-Known Member

    Consider this solved.

Share This Page