Hi,
I just tried it and it doesn't work as I need... probably didn't explain myself properly.
The above code seems to hide the avatar based on the usergroup of the user visiting the site.
What I want to do is hide the avatar based on the usergroup for each individual post.
So basically, if a post is from a certain usergroup, show the avatar, if a post is from another usergroup, hide it, on a post per post basis.
Thanks again for your help.
Pharkas
--------------- Added [DATE]1368495536[/DATE] at [TIME]1368495536[/TIME] ---------------
Hi,
nhawk sent me in the right direction.
After looking it up changing $bbuserinfo to $post did the trick.
The following code worked perfectly.
Code:
<vb:if condition="$show['avatar'] && !is_member_of($post,6)">
Thanks for your help,
Pharkas