UKBusiness's is the correct one (though the ! in front of it will display for members who are not in groups 5, 6, or 7.
ry215's code will not take Secondary Usergroups into account.
Keep in mind as well, $bbuserinfo may not always be correct in every instance. For example, if you're using the code in the postbit template, you would use $post; in the memberinfo template, you would use $userinfo.
|