ahhh sorry... bad logic on my part.
I'm placing something in the postbit template. I need to check the poster's usergroups and then add something based on that.
Any idea how to achieve this?
//Edit: I think I got it with Superman's post. thanks a ton
--------------- Added [DATE]1253635994[/DATE] at [TIME]1253635994[/TIME] ---------------
one more question...
Code:
<if condition="$post['usergroupid'] == 6"></if>
can I use ANDs or ORs? Say I need to check for multiple usergroups within a single if statement
--------------- Added [DATE]1253636580[/DATE] at [TIME]1253636580[/TIME] ---------------
aaaaaand one more question... I guess $post['usergroupid'] doesn't count secondary usergroups. How can I include all groups (primary AND secondary) in my conditional?