<vb:if condition="is_member_of($bbuserinfo, 1,3,8)">show this to usergroups 1, 3, 8</vb:if>
<vb:if condition="in_array($forum['forumid'], array(1,2,3))">Show this to forum 1, 2 and 3</vb:if>
<vb:if condition="is_member_of($bbuserinfo, 1,3,8) AND in_array($forum['forumid'], array(1,2,3))">show this to usergroups in forums</vb:if>