Oops, I am not at home where I could test the code. At a hotel bar at the moment, during a business stay. I pulled the reference $bbuserinfo from the vb5 manual. If the variable did not exist it should be 'NULL' and 'NULL does not equal 1, so either way you should not have executed that branch.
Try:
Code:
<vb:if condition="$userinfo['usergroupid'] == 1">
--------------- Added 22 Jun 2014 at 03:04 ---------------
Where are you placing that code? What template?