XenForo Is there a way to use conditional statements in Notices?

B

BluelightUser

Guest
Hey everyone, this is my first post in the Xenforo community forums. :) I have a question. I understand how to use conditional tags in Templates (<xf:if>). However, I am wanting to do that in Notices, so that some tools can be displayed for the mods of a given forum, in their forum header (we're using Notices for forum headers). I tried using a conditional tag there:

Code:

Code:
<xf:if is="$xf.visitor.is_moderator || $xf.visitor.is_admin || $xf.visitor.is_super_moderator">
Testing
</xf:if>
...

Read more

Continue reading...