<if condition="$bbuserinfo[usergroupid] == 2">{param}</if>
Bu şekilde bbcode oluşturdum ancak çalışmadı nedense 2 nolu gruba gözükmesi gerekirken herkes görüyor.