<?php $member_of = "1,3,6"; $usergroup = array($member_of); $array = implode(",", $usergroup); echo $array; <if condition="is_member_of($bbuserinfo, array($array))">..</if> ?>