Problems with the max and min settings of creating and deleting new booking.
Brought to you by:
jberanek
I'm using this code to change the setting to force a minimum and/or maximum advance booking time on ordinary users but dont change anything and continue the default setting.
$min_create_ahead_enabled = TRUE;
$max_create_ahead_enabled = TRUE;
$min_delete_ahead_enabled = TRUE;
$max_delete_ahead_enabled = FALSE;
// Creating new bookings
$min_create_ahead_secs = 60*60*12; // (seconds)
$max_create_ahead_secs = 60*60*24*30; // (seconds)
// Deleting existing bookings
$min_delete_ahead_secs = 60*60*2; // (seconds)
$max_delete_ahead_secs = 0; // (seconds)
The settings in the config file only define the default settings for new areas. For existing areas you need to login to MRBS as an admin, go to the Rooms page, select the area you want to edit and click the Edit button.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Support Requests"
i want to made a minimum of 12 hours before a user can make a boking, how i do this?
Login to MRBS as an admin, go to the Rooms page, select the area in question and then click the Edit icon. Set min_create_ahead to 12 hours and Save.