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,158 thoughts on “Support

  1. Shortcodes. Based on the season I want to be able to set the start day of the week AND the number of days selected. So for example, in high season I’d want 8 days selected running from Saturday, but in Low Season I’d allow ‘short breaks’ so would want to set it to start from Friday or Monday and to select three or four days in one block. Is this possible?

  2. Hello WPBookingCalendar-Team,

    I’m thinking about to buy the multiuser Version of your Software, but I see not very much statistics and reportings. Are in coming updates statistics about the total revenue per day, per ressource, per month, etc.. planned?

    Thanks.

    • Hello.
      Unfortunately, the original versions of Booking Calendar does not have the “statistic” module, yet.
      But in the any paid versions of Booking Calendar you can export the exist bookings to the CSV file, and then open these bookings using the MS Excel or some other applications, there you can create some type of statistic.
      Kind Regards.

    • Hello.
      Unfortunately such feature do not exist in the original versions of Booking Calendar. Sorry
      Kind Regards.

      • Thanks for the fast answer.
        Some suggestion to make it possible, maybe with some programming on the plugin files?

        • Hello.
          Please make this fix.
          Open this file ../booking/inc/personal.php

          1) then in the content of this function wpdev_get_booking_select_form($booking_select_form, $attr) find this code:

          $booking_select_form .= ' <option value="'.$tl->id.'">'.$tl->title.'</option>';

          and replace it to this code:

                  if ( ( isset($_GET['resource_id'] ) ) && ( $_GET['resource_id'] == $tl->id )  ) 
                       $is_res_selected = ' selected="SELECTED" ';
                  else $is_res_selected = '';
                  $booking_select_form .= ' <option '.$is_res_selected.' value="'.$tl->id.'">'.$tl->title.'</option>';
          

          2) then find this code:

          $booking_select_form .= ' <div class="bk_forms" id="hided_booking_form'.$tl->id.'" style="display: none;">';

          and replace it to this code:

                  if ( ( isset($_GET['resource_id'] ) ) && ( $_GET['resource_id'] == $tl->id )  ) 
                       $is_res_selected = 'display: block;';
                  else $is_res_selected = 'display: none;';
                     
                  $booking_select_form .= ' <div class="bk_forms" id="hided_booking_form'.$tl->id.'" style="'.$is_res_selected.'">';
          
  3. Hello,

    Can Booking Calendar translate my forms when someone switches language throu WPML plugin – for example on english page i want to have forms in english, on german page i want to have german forms. Please let me know how to achieve this. I’ve bought plugin today.

  4. Calendar still displays as available even though a resource is booked on that date?

    The system works fine but we found out that even a resource has already had a confirmed booking, it still displays as ‘Available’ in Add Booking. And if a resource on a date has a pending booking, it won’t display properly in the Add Booking page neither.

    The entry is there when I view them in Booking, but they won’t display properly.

    And in fact I can create more bookings on a resource that has already had a confirmed booking on a particular date, which doesn’t make sense.

    I have made modifications to traditional-light.css, I have already re-load the original .css file, in fact, all the files that I have modified (admin.css, traditional-light.css and wpdev-bk-lib.php), from the source, but the problem is still here, please advise.

    • Hello.

      Please open the General Booking Settings page and recheck that you do not activated the “Use pending days as available:” option on the General Booking Settings page in “Advanced section” (available in the Booking Calendar Business Large version).
      Also please check that you do not making the booking for the booking resources with specific capacity (available in the Booking Calendar Business Large version). In this case the date(s) in calendar will be available, until number of booking less then capacity of booking resources. Please read more info about the booking resources and how to configure them here http://wpbookingcalendar.com/help/booking-resource/ .

      Also please recheck that you do not use any cache plugins in your website. Otherwise please deactivate these plugins or add the exception to the page, where you are having the booking form.

      Please make all test with the original files (do not modified) of Booking Calendar, otherwise we do not guarantee the correct work of plugin and do not support it.
      Kind Regards.

      • Hi,
        I used Business Small version, so the settings you mentioned are not available.

        However, I narrowed down the problem:
        All bookings BEYOND current date (today) works fine but dates BEFORE current date (today) will have such ‘error’.

        (FYI I have modified some codes as per your suggestion in order to ‘open up’ adding bookings before current date, but I cannot search it from your support page anymore)

        Since we are moving our booking system from a legacy one to your good plugin, we would like to have the same feature when inputting previous bookings. Is it possible?

        • Hello.
          Please recheck this your previous discussion, in case you need it: http://wpbookingcalendar.com/support/comment-page-207/#comment-7645
          In addition you need to make this customization to be able to see the previously booked dates (in a past):
          Please open this file ../booking/lib/wpdev-booking-class.php

          then find this code:

                      if ($approved == 'all')
                          $sql_req = apply_bk_filter('get_bk_dates_sql', "SELECT DISTINCT dt.booking_date
          
                               FROM {$wpdb->prefix}bookingdates as dt
          
                               INNER JOIN {$wpdb->prefix}booking as bk
          
                               ON    bk.booking_id = dt.booking_id
          
                               WHERE  dt.booking_date >= CURDATE()  AND bk.booking_type IN ($bk_type_additional)
                                   
                               ". (($skip_booking_id != '') ? " AND dt.booking_id NOT IN ( ".$skip_booking_id." ) ":"") ."
                                   
                               ORDER BY dt.booking_date", $bk_type_additional, 'all' , $skip_booking_id);
          
                      else
                          $sql_req = apply_bk_filter('get_bk_dates_sql', "SELECT DISTINCT dt.booking_date
          
                               FROM {$wpdb->prefix}bookingdates as dt
          
                               INNER JOIN {$wpdb->prefix}booking as bk
          
                               ON    bk.booking_id = dt.booking_id
          
                               WHERE  dt.approved = $approved AND dt.booking_date >= CURDATE() AND bk.booking_type IN ($bk_type_additional)
                                   
                               ". (($skip_booking_id != '') ? " AND dt.booking_id NOT IN ( ".$skip_booking_id." ) ":"") ."
          
                               ORDER BY dt.booking_date", $bk_type_additional, $approved, $skip_booking_id );
          

          and replace it to this code:

                      if ($approved == 'all')
                          $sql_req = apply_bk_filter('get_bk_dates_sql', "SELECT DISTINCT dt.booking_date
          
                               FROM {$wpdb->prefix}bookingdates as dt
          
                               INNER JOIN {$wpdb->prefix}booking as bk
          
                               ON    bk.booking_id = dt.booking_id
          
                               WHERE  bk.booking_type IN ($bk_type_additional)
                                   
                               ". (($skip_booking_id != '') ? " AND dt.booking_id NOT IN ( ".$skip_booking_id." ) ":"") ."
                                   
                               ORDER BY dt.booking_date", $bk_type_additional, 'all' , $skip_booking_id);
          
                      else
                          $sql_req = apply_bk_filter('get_bk_dates_sql', "SELECT DISTINCT dt.booking_date
          
                               FROM {$wpdb->prefix}bookingdates as dt
          
                               INNER JOIN {$wpdb->prefix}booking as bk
          
                               ON    bk.booking_id = dt.booking_id
          
                               WHERE  dt.approved = $approved  AND bk.booking_type IN ($bk_type_additional)
                                   
                               ". (($skip_booking_id != '') ? " AND dt.booking_id NOT IN ( ".$skip_booking_id." ) ":"") ."
          
                               ORDER BY dt.booking_date", $bk_type_additional, $approved, $skip_booking_id );
          

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>