<if condition="$bbuserinfo[usergroupid] != 'bannedusergroup']"> avatar and other information here </if>