if ($vbulletin->userinfo['userid'] > 1) { // blah blah }
if ($vbulletin->userinfo['usergroup'] == 17) { // blah blah }