Quote:
Originally Posted by razer
Is it possible to make the timeslip available only to certain usergroups ? And a function to enable/disable the whole function would be nice.
|
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();
}