mrbs maximum advance booking time not being enforced
We are using mrbs - however the maximum advance booking time is not working i.e not being enforced
The system is running on ubuntu 10.4.4 LTS
Auth method is ldap (active directory)
mrbs version 1.4.8
the config file is
/******************
* Display settings
******************/
// [These are all variables that control the appearance of pages and could in time
// become per-user settings]
// Start of week: 0 for Sunday, 1 for Monday, etc.
$weekstarts = 1;
$hidden_days = array(0,6);
// added and tested by PJA
$enable_periods = TRUE;
unset($periods);
$periods[] = "Before School";
$periods[] = "Registration";
$periods[] = "Period 1";
$periods[] = "Period 2";
$periods[] = "Break";
$periods[] = "Period 3";
$periods[] = "Period 4";
$periods[] = "Lunch";
$periods[] = "Period 5";
$periods[] = "After School";
// If the variables below are set to TRUE, MRBS will force a minimum and/or maximum advance
// booking time on ordinary users (admins can make bookings for whenever they like). The
// minimum advance booking time allows you to set a policy saying that users must book
// at least so far in advance. The maximum allows you to set a policy saying that they cannot
// book more than so far in advance. How the times are determined depends on whether Periods
// or Times are being used. These settings also apply to the deletion of bookings.
// DEFAULT VALUES FOR NEW AREAS
$min_book_ahead_enabled = TRUE; // set to TRUE to enforce a minimum advance booking time
$max_book_ahead_enabled = TRUE; // set to TRUE to enforce a maximum advance booking time
// The advance booking limits are measured in seconds and are set by the two variables below.
// The relevant time for determining whether a booking is allowed is the start time of the
// booking. Values may be negative: for example setting $min_book_ahead_secs = -300 means
// that users cannot book more than 5 minutes in the past.
// DEFAULT VALUES FOR NEW AREAS
$min_book_ahead_secs = 0; // (seconds) cannot book in the past
$max_book_ahead_secs = 2419200; // (seconds) no more than one week ahead
any advise ? is anyone else having the same problem or is it working for you ?
thanks
Paul