Worked fabulously! I also attempted to add a conditional to the template to only display the str output to certain usergroups, but it was unsuccessful. Would the condition need to be done in the PHP file rather than in the template?
You could do it in the php or the template. If that's the only thing on the page, you could protect the whole page with:
PHP Code:
if (!is_member_of($vbulletin->userinfo, 5, 6, 7))
{
print_no_permission();
}
(of course you can list whichever user groups you want to have access to the page). If you'd rather leave the page accessible to everyone but just hide something in the template, you could use: