Support

Technical help board

Check the FAQ first for existing answers before posting new Questions

If you have any technical question about the plugin or configuration of plugin or if you found some issue, please describe it here. Please, inform inside of message your version of WordPress, PHP, Booking Calendar. Also sometimes is needed list of used plugins inside of system and name of your WordPress theme.

7,819 thoughts on “Support

  1. Hi There,

    I am trying to finish setting with business medium version.

    However I still need some help to complete the following list.

    Your help will be much appreciated.

    1) How to disable “the standard form” so while we attempt to add booking through control panel,
    It would not come as an option to choose.

    2) Once all the customisation is completed, how to reset the id number.

    3) How to apply different colours to each resources that appear on the booking list of Admin panel.

    4) How to limit the numbers of booking can be made per a day or per hour.

    • Hello.
      1) If you just need to remove the “Standard” booking form” from the selectbox at the “Add booking” page in admin panel, then please make this fix:
      Please open this file ../{Booking Calendar Folder}/inc/biz_m.php
      then find this code:

      if ($booking_forms_extended !== false) {
                  if ( is_serialized( $booking_forms_extended ) ) $booking_forms_extended = unserialize($booking_forms_extended);
              ?>
                  <div style="float:left;margin:0px 10px;">
                      <fieldset>
                      <label for="booking_form_type"><?php _e('Booking Form', 'wpdev-booking'); ?>:</label>
                      <select id="booking_form_type" name="booking_form_type" style="width:200px;"
                          onchange="javascript: location.href='<?php echo $link_base; ?>' + this.value;"
      
                              >
                          <option value="standard"><?php _e('Standard','wpdev-booking'); ?></option>
                          <?php foreach ($booking_forms_extended as $value) { ?>
                          <option value="<?php echo $value['name']; ?>"   <?php if ((isset($_GET['booking_form'])) && ($_GET['booking_form'] == $value['name']) ) { echo ' selected="SELECTED" '; } ?>   ><?php echo $value['name']; ?></option>
                          <?php } ?>
                      </select>
                      </fieldset>
                  </div>
              <?php
              }
      

      and replace it to this code:

      if ($booking_forms_extended !== false) {
                  if ( is_serialized( $booking_forms_extended ) ) $booking_forms_extended = unserialize($booking_forms_extended);
              ?>
                  <div style="float:left;margin:0px 10px;">
                      <fieldset>
                      <label for="booking_form_type"><?php _e('Booking Form', 'wpdev-booking'); ?>:</label>
                      <select id="booking_form_type" name="booking_form_type" style="width:200px;"
                          onchange="javascript: location.href='<?php echo $link_base; ?>' + this.value;"
      
                              >
                          <!--option value="standard"><?php _e('Standard','wpdev-booking'); ?></option-->
                          <?php foreach ($booking_forms_extended as $value) { ?>
                          <option value="<?php echo $value['name']; ?>"   <?php if ((isset($_GET['booking_form'])) && ($_GET['booking_form'] == $value['name']) ) { echo ' selected="SELECTED" '; } ?>   ><?php echo $value['name']; ?></option>
                          <?php } ?>
                      </select>
                      </fieldset>
                  </div>
              <?php
              if (!isset($_GET['booking_form'])) $_GET['booking_form'] = $value['name'];
              }
      

      2) You need to remove all bookings firstly.
      Then by using the phpMyAdmin or some DB editing tool, you need to execure the sql like this:

      alter table wp_booking auto_increment = 1;

      , where "wp_booking" - its name of the table with bookings. this name can be different, if you are using the different prefix for tables.

      3) By default its does not support. You can try to make it by yourself at the ../{Booking Calendar Folder}/css/admin.css file.
      4) Unfortunately, its does not possible to make the multiple bookings on the same timeslot at the same date at the same calendar.
      In the Booking Calendar Business Large version, where is possible to make several reservations per specific FULL date(s) by visitors (not time slots). At this version is possible to set capacity of the booking resource, so date(s) in calendar will be available until number of reservations is less then capacity of the booking resource.But in this version is possible to make reservation only for FULL date, not a time slots (time slots in this version only record data in the DB, but do not play any logic in reservation). Please read more info about the booking resources and how to configure them here http://wpbookingcalendar.com/help/booking-resource/

      You can test Booking Calendar live demos at this page http://wpbookingcalendar.com/demo/ to be sure in functionality and do not have misunderstanding.

      Kind Regards.

  2. HI there, I have the free version of your calendar/form and i’m loving it except for the fact that I badly need to change the text color of the form part as i’m using a template with a darkish background, how can I make this text white – Thanks

        • Hello.
          You are having the mistake in the CSS file customization.

          Please open this file http://littlespringfield.co.uk/wp-content/plugins/booking/css/client.css?ver=1.1

          then find this code:

          
          @media (max-width: 782px) {  
              .wpdevbk input[type="text"], 
              .wpdevbk select{
                  font-size: 1.1em;
                  height: 28px;
                  padding: 4px 8px;
              }
          
          .booking_form_div input[type=text], .booking_form_div textarea {
          width:278px;
          }
          .booking_form_div p{
           color:#fff !important;
          }
          .booking_form_div input[type=text], .booking_form_div textarea {
          width:278px;
          }
          .wpdevbk .booking_form_div label{
           color:#fff;
          }
          

          and replace it to this code:

          
          @media (max-width: 782px) {  
              .wpdevbk input[type="text"], 
              .wpdevbk select{
                  font-size: 1.1em;
                  height: 28px;
                  padding: 4px 8px;
              }
          }
          .booking_form_div input[type=text], .booking_form_div textarea {
          width:278px;
          }
          .booking_form_div p{
           color:#fff !important;
          }
          .booking_form_div input[type=text], .booking_form_div textarea {
          width:278px;
          }
          .wpdevbk .booking_form_div label{
           color:#fff;
          }
          
          • Hi again,

            Thanks for your help. I replaced the code as you suggested but it still hasn’t changed the text to white, is there anything else I haven’t done?

            Many thanks

  3. hello
    Please incident basis as set selection table book I would like to be able to choose which apartment to be booked are the above diagram 2 bedroom apartments as a parent category and then simply are already numbered and so is peace 3,4,5

    How quickly and easily fix

  4. Good Evening Support,

    I am using the Multi User version of Booking Calendar.

    The Standard Booking form does not meet my needs. I have created a custom Booking form and also updated the Standard form to suit my website. These are great and work for admin created calendars/resources but when a new user registers the system automatically sets up an account for them which I then activate their calendar then uses the original Booking Form. How do I set up so that all user can only use the Standard booking form which I set up?

    Thanks

    • Hello.
      You can make it by modifications of the source code.
      Please open this file ../{Booking Calendar Folder}/inc/personal.php

      then find this code:

                  // Reset to Payment form
                  function reset_to_default_form($form_type ){
                      if ($form_type == 'payment')
                          return '[calendar] \n\
      <div class="payment-form"> \n\
       <p>'.__('Select Times','wpdev-booking').':[select rangetime "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 02:00 PM@@12:00 - 14:00" "02:00 PM - 04:00 PM@@14:00 - 16:00" "04:00 PM - 06:00 PM@@16:00 - 18:00" "06:00 PM - 08:00 PM@@18:00 - 20:00"]</p>\n\
       <p>'.__('First Name (required)','wpdev-booking').':[text* name] </p> \n\
       <p>'.__('Last Name (required)','wpdev-booking').':[text* secondname] </p> \n\
       <p>'.__('Email (required)','wpdev-booking').':[email* email] </p> \n\
       <p>'.__('Phone','wpdev-booking').':[text phone] </p> \n\
       <p>'.__('Address (required)','wpdev-booking').':  [text* address] </p> \n\  
       <p>'.__('City (required)','wpdev-booking').':  [text* city] </p> \n\
       <p>'.__('Post code (required)','wpdev-booking').':  [text* postcode] </p> \n\  
       <p>'.__('Country (required)','wpdev-booking').':  [country] </p> \n\
       <p>'.__('Adults','wpdev-booking').':  [select visitors class:span1 "1" "2" "3" "4"] '.__('Children','wpdev-booking').': [select children class:span1 "0" "1" "2" "3"]</p> \n\
       <p>'.__('Details','wpdev-booking').': [textarea details] </p> \n\
       <p>[checkbox* term_and_condition use_label_element "'.__('I Accept term and conditions','wpdev-booking').'"] </p> \n\
       <p>[captcha]</p> \n\
       <p>[submit class:btn "'.__('Send','wpdev-booking').'"]</p> \n\
      </div>';
                   }
      

      and make your customizations of the booking form, which will be default for the new activated users.

      • Thank you for the support. (Still very new to this so please forgive any stupidity)

        Firstly with how developed this plug in is and the wide range of options, I am surprised that there isn’t an option in Admin panel to customise the default booking form for all users through simple changes using a default form select options, or am I missing something. If this is not available might I suggest you consider it for future versions.

        2. I have opened the file you specified in Go Daddy and edited it as suggested but get this error message:
        Warning: require_once(D:\Hosting\11370506\html\wp-content\plugins\booking.multiuser.5.1.6\inc\personal.php) [function.require-once]: failed to open stream: Permission denied inD:\Hosting\11370506\html\wp-content\plugins\booking.multiuser.5.1.6\lib\wpbc-include.php on line 25

        Fatal error: require_once() [function.require]: Failed opening required ‘D:\Hosting\11370506\html\wp-content\plugins\booking.multiuser.5.1.6/inc/personal.php’ (include_path=’.;C:\php\pear’) inD:\Hosting\11370506\html\wp-content\plugins\booking.multiuser.5.1

        To get my site up and running again I then had to delete all of the Booking Calendar content and re-install. Have done this twice now.

        Is this because I cannot make the changes here? Do I need to change them in the zip files that were originally downloaded when I bought the package?

        Thank you.

        • Hello.
          1) We will add this feature to the TODO list for the future updates.
          2) Please make that fix locally at your computer, and then upload the entire folder to your website.
          For doing that please follow this instruction:
          – extract the content of plugin from zip file to your computer
          – make that your fix in the personal.php file
          – upload the entire “booking” folder to the ../wp-content/plugins/ folder of your server (using FTP)
          or archive that “booking folder” again to the zip file, and make the install of this plugin through the WordPress admin panel.

          • Dear Support,

            Update, I have now got that working as I wanted, thank-you for pointing me in the right direction. It was a bit more involved than the amendments you suggested as I then had to change the code for the auto generated e mail, but having ventured into code for the first time I managed to get it sorted (on about the 3rd attempt) Thanks again for the support.

Leave a Reply

Your email address will not be published. Required fields are marked *

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>