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

XF 1.5 Conditional help - does ! apply to both elements or do they both need ! in front of them?

CTXMedia

Formerly CyclingTribe
#1
I want to make selected content visible to everyone except mods and admins, so do I need an ! in front of both conditions, or just the first?

Code:
<xen:if is="!{$visitor.is_admin} OR {$visitor.is_moderator}">
... or ...
Code:
<xen:if is="!{$visitor.is_admin} OR !{$visitor.is_moderator}">
Thanks,
Shaun :D