If I want a section of code in a PHP file to apply to Administrators (Group ID 6) only, I might use the following conditional:
PHP Code:
if ($bbuserinfo[usergroupid]==6)
{
}
However, that conditional
only works if the
Primary User Group for a user is Group ID 6.
How does this conditional need to be modified so that it also works if a user's
Secondary User Group is Group ID 6?
Thanks!