Quote:
Originally Posted by husshuss
those are secondary 'subscription usergroups, not primary. is that th eproblem?
|
PRIMARY
<if condition="!in_array($bbuserinfo[usergroupid], array(x,y,z))">
SECONDARY AND PRIMARY
<if condition="!is_member_of($bbuserinfo, array(3,5,7))">
<if condition="is_member_of($bbuserinfo, UsergroupID)"> code here </if>
ORGINAL CODE
// Configure some usergroups to bypass "server too busy" message
// Enter the usergroup id's here, seperated by comma
// Example: $BypassGroup = '5,6';
$BypassGroup = '138,140';
// End configuration
if (in_array($vbulletin->userinfo['usergroupid'], explode(',', $BypassGroup))) {
$servertoobusy = FALSE;
}
PROPOSED MODIFIED CODE
// Configure some usergroups to bypass "server too busy" message
// Enter the usergroup id's here, seperated by comma
// Example: $BypassGroup = '5,6';
$BypassGroup = '138,140';
// End configuration
if (is_member_of($vbulletin->userinfo['usergroupid'], explode(',', $BypassGroup))) {
$servertoobusy = FALSE;
}
thoughts?