It's not really a hack. It's just a conditional.
I don't want Usergroup 8 to see this (Templates)
Code:
<if condition="!is_member_of($bbuserinfo, 8)">You're not in Usergroup 8, so you're allowed to see this.</if>
The same as above, only use this in a PHP file
Code:
if (!is_member_of($vbulletin->userinfo, 9))
{
eval('print_output("' . fetch_template('my_template') . '");');
}
else
{
print_no_permission();
}