Menu

#663 how can i restrict user booking with more than 3 days

open
nobody
None
1
2015-04-14
2015-01-11
Ben George
No

Hi

how can i restrict user booking with more than 3 days

need to disallow meetings with more than 3 days. here users are booking for 1 year .even though admin approval is enabled.

Regards,
Ben

Discussion

  • Campbell Morrison

    See the following config settings:

    // Set a maximum duration for bookings
    $max_duration_enabled = FALSE; // Set to TRUE if you want to enforce a maximum duration
    $max_duration_secs = 60*60*2;  // (seconds) - when using "times"
    $max_duration_periods = 2;     // (periods) - when using "periods"
    

    You can also set limits on the number of bookings allowed in a day/week/month/year

     
  • Anonymous

    Anonymous - 2015-04-14

    HI

    i have added like below: But still users are booking more than 3 days and repeated meetings

    $min_book_ahead_enabled = TRUE;
    $min_book_ahead_secs = 0;
    
    $max_duration_enabled = TRUE; // Set to TRUE if you want to enforce a maximum duration
    $max_duration_secs = 60*60*72;  // (seconds) - when using "times"
    $max_duration_periods = 72;     // (periods) - when using "periods"
    

    please help me to solve this

    Regards,
    BEn

     
MongoDB Logo MongoDB