Hi, within the VB structure you can use the following.
<if condition="is_member_of($bbuserinfo, 5, 6)">
button code
</if>
But is there a way to call the is_member_of from within a PHP page as a function
thanks
Gary
<if condition="is_member_of($bbuserinfo, 5, 6)">
button code
</if>
But is there a way to call the is_member_of from within a PHP page as a function
PHP Code:
<?
if ($is_member_of($vbulletin->userinfo['membergroupids'], 1)
{
echo "test";
}
?>
Gary
Comment