with conditions
<if condition="is_member_of($bbuserinfo, 2, 6, 7)"> see everybody who's in 2,6,7 </if>
function is_member_of makes one extraquery!
better try
<if condition="in_array($bbuserinfo['usergroupid'], array(2, 6, 7))">see everybody whos in the primargroup 2,6 or 7</if>
but this is just checking the "primary??" group
i'm not sure if primary is the right word
|