Greetings,
I am trying to use conditionals on forum blocks.
I have created a forum block, set it to PHP and have the following conditional:
Unfortunately the block doesn't even appear on the screen. I have of course flushed the cache thinking that that might have been the problem.
When I change the content type to HTML it shows just fine (all of it) so the conditionals are ignored.
Basically I want to display different messages to different members of my boards.
Is the above feasible?
Thank you in advance for any pointers.
I am trying to use conditionals on forum blocks.
I have created a forum block, set it to PHP and have the following conditional:
Code:
<vb:if condition="is_member_of($bbuserinfo, 19,14)"> <strong>One</strong> <vb:elseif condition="is_member_of($bbuserinfo, 2)" /> <strong>Two</strong> <vb:elseif condition="is_member_of($bbuserinfo, 1,3,4)" /> <strong>Three</strong> </vb:if>
When I change the content type to HTML it shows just fine (all of it) so the conditionals are ignored.
Basically I want to display different messages to different members of my boards.
Is the above feasible?
Thank you in advance for any pointers.
Comment