ryancooper
11-10-2011, 09:54 PM
I am trying to hide the poster user info in certain forums. I am assuming that I need to do a if/else statement. I have this so far but It's not working correctly...
<vb:if condition="!in_array($forum[forumid], array(166, 2, 3))">
SHOW THIS
<vb:else />
SHOW THAT
</vb:if>
It seems to be hiding it in ALL forums? I am assuming it is something to do with forum[forumid], setting?
So for example a user visits forum 44 and everything looks normal but when that same user visits forum 166 2 or 3 the poster info is not in the post. Eventually I would like to remove the sig of the poster too.
Thanks,
Ryan
<vb:if condition="!in_array($forum[forumid], array(166, 2, 3))">
SHOW THIS
<vb:else />
SHOW THAT
</vb:if>
It seems to be hiding it in ALL forums? I am assuming it is something to do with forum[forumid], setting?
So for example a user visits forum 44 and everything looks normal but when that same user visits forum 166 2 or 3 the poster info is not in the post. Eventually I would like to remove the sig of the poster too.
Thanks,
Ryan