
11-17-2005, 11:51 PM
|
 |
|
|
Join Date: Aug 2005
Location: KWI
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Christine
My members thank you ZT.
A great many are on FF, so I just commented the controls out. Problem solved.
If anyone is wanting to restrict this based on usergroup/membergroup,
FIND:
PHP Code:
require_once(DIR . '/includes/functions_user.php');
BELOW IT, ADD:
PHP Code:
if (!(in_array($vbulletin->userinfo['usergroupid'], array(x,y,z))) AND !(in_array($vbulletin->userinfo['membergroupids'], array(a,b))))
{
print_no_permission();
}
Do change a,b,x,y,z with the appropriate user and member group ids.
Will watch for a FF update!
|
Now can this be done vice versa ? i.e instead of adding the permitted usergroups ,we can exclude user groups .This will be easier.
My regrads,,,
|