I saw this posted by somebody as a way to exclude more than one forum using a template conditional, which I want to use to wrap around a twitter button. I'm not sure when you use AND, and when it should be OR instead.
Code: Select all
<!-- IF FORUM_ID != 2 and FORUM_ID != 3 and FORUM_ID != 4 -->
But is that correct using
AND, should it not be
OR instead.
Code: Select all
<!-- IF FORUM_ID != 2 or FORUM_ID != 3 or FORUM_ID != 4 -->
I thought you only used AND when you add another conditional into it like this.
Code: Select all
<!-- IF FORUM_ID != 2 or FORUM_ID != 3 or FORUM_ID != 4 and S_REGISTERED_USER -->