
07-04-2004, 12:12 PM
|
|
|
Join Date: Oct 2002
Location: Australia
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by EvilLS1
You want to stop certian user groups from adding timeslip info but they can still see the timeslips page right?
If so, in profile.php find this:
Code:
if ($_REQUEST['do'] == 'edittimeslip')
{
Add this below it:
(change the x's in array(x,x,x) to the group IDs that you don't want to have access).
Code:
if (in_array($bbuserinfo['membergroupids'], array(x,x,x)))
{
print_no_permission();
}
|
Is there a more elegant way to do this in the admincp and move the option "Can edit Vehicle Profile?" to the usergroup ???
|