Hello,
Am looking for a template conditional:
In Showthread page - postbit, the username of the poster needs to be in red color if she belongs to a particular usergroup id - 34, I tried this
PHP Code:
<vb:if condition="is_member_of($post, 34)">
<span style="color:red;"> User name goes here</span>
</vb:if>
But it does not seem to be working and I did the above template conditional in
memberaction_dropdown
Let me know the correct conditional that needs to go there.
BTW the conditional to check if the page is a blog page including the blog index use the below:
PHP Code:
<vb:if condition="in_array(THIS_SCRIPT, array('blog' , 'entry','blog_post', 'misc'))">
Code goes here
</vb:if>
Thanks.