Quote:
Originally Posted by EvilLS1
In admincp/usergroup.php find:
Code:
print_yes_no_row($vbphrase['can_view_others_profile_pictures'], 'usergroup[canseeprofilepic]', $ug_bitfield['canseeprofilepic']);
Below it add:
Code:
print_yes_no_row($vbphrase['can_edit_vehicle_profile'], 'usergroup[cantimeslip]', $ug_bitfield['cantimeslip']);
In includes/init.php find:
Code:
'caneditownusernotes' => 131072
Replace it with:
Code:
'caneditownusernotes' => 131072,
'cantimeslip' => 262144
In profile.php find:
Code:
if ($_REQUEST['do'] == 'edittimeslip')
{
Below it add:
Code:
if (!($permissions['genericpermissions'] & CANTIMESLIP))
{
print_no_permission();
}
Then just set the permission for each usergroup.
|
The edit vehicle profiole and view custom threads options are linked - it is NOT possible to set edit to NO and voew to yes....
Any ideas ??