Untested, but for primary usergroups only, find:
Code:
if (in_array($vbulletin->userinfo['userid'], $bfabu_user_ids_array))
And replace with the following:
Code:
if (in_array($vbulletin->userinfo['usergroupid'], $bfabu_user_ids_array))
Or, for both primary and secondary usergroups, replace with the following:
Code:
if (in_array($vbulletin->userinfo['usergroupid'], $bfabu_user_ids_array) OR !empty(array_intersect($bfabu_user_ids_array, explode(",", str_replace(" ", "", $vbulletin->userinfo['membergroupids'])))))