Support Archive

Important!!!    Check actual Support Forum, if you need to ask a Questions.

  1. Hi,
     
    I just got this plugin. I've searched in Support but can't find a similar question:
     
    I want customers to be able to submit a booking, but not be given an option to pay straight away.
    I only want them to be prompted to pay (by email) once I have confirmed the booking.
     
    Can you tell me how to do this?
     
    Thank you

    • Hello.
      Please deactivate the all payment systems at the Booking > Settings > Payment page. So the payment form will not show, after the visitor made the booking.
      If you will send the payment request (from the Booking Listing page), and visitor click on the payment link in the email, so visitor will be redirected to the payment page with PayPal payment form (as default payment system). You can check how to configure the payment links at this instruction: https://wpbookingcalendar.com/faq/configure-editing-cancel-payment-bookings-for-visitors/

  2. I have purchased business large and the client was planning to take bookings on the site but now she just wants to use it to display availability. She is going to add all the bookings in the backend but i'm wondering if you can remove the need to add all the compulsory booking information so it is easier for the client to update?
    Many thanks
    Jason

    • Hello.
      In the admin panel you can add new bookings at the Add Booking page. You can use the "Auto fill fields" button at the top right side if that page for filling all files by "blank" data, so you have to select only dates for booking.
      Kind regards.

  3. Hi
    I have recently purchased the SMALL BUSINESS version - All fine, but I need to change the default text on the form where a customer can select a different property. How do I edit the use of 'Resource' as in, for example: Please select the resource ? I need this to say, 'Please select an Apartment...'
    Thank you!
    Dan.

    • Hello.
      You can make it inside of the shortcode, which you was inserted into the page:
      [bookingselect label='Please select the resource:' form_type='standard' nummonths=1 type='5,6,7,8']

  4. Hi just bought the small business version, How do I create multiple calendars? I rent around 30 properties each has its own listing page. I need a different booking calendar for each property.
    Thank you in advance.

  5. Hi, 
    I am using the Business Small-version  (V. 5.03) for booking meeting-rooms per 2-hour slots. Our clients complain that it is too complicated to book several slots at once, when they intend to book a room for a full day. Are there any plans to add a functionality to do this in an easier way? For example with pressed STRG key to select multiple slots? Or a "full-day"-switch / checkbox?
    Thanks for an awesome plugin. 
    Frank

    • Hello.
      I will add your suggestion to the TODO list.
      Right now is not possible to select the multiple timeslots for the booking on specific date.
      But instead of the separate timeslots selections you can use the selections of the start time and time duration, so your visitors can book the several hours (timeslots together). Please read more about the booking form fields configuration here https://wpbookingcalendar.com/help/booking-form-fields/

  6. Hi, I have the business large version. I have seen a similar question to mine but it is different, however it is very possible I have completely misunderstood how to use the plugin so forgive me if so!
    I would like to so two things:
    1. Show an individual booking page with the booking panel on the right dynamically showing the widget only for the current booking resource. I could do this in a column using a shortcode with the resource ID, but then the calendar/form would show up on the listings page each with it's own calendar/form which I don't want, (like the posts listed on https://bl.wpbookingcalendar.com/ each showing it's own booking form)
    So I could use a widget, but the widget isn't dynamically linked to the resource on the page, so it searches 'all' (unless you set it to a default) but again what I'd like is it to just search for the resource on the page. i have looked at using [code]<?php $booking_resource_id = 1; echo do_shortcode("[booking nummonths=1 type='".$booking_resource_id."']"); ?>[/code], but again the _bookingresource_id isn't 'dynamic'
    What would be the best way to do this?
    On the left, I would like to dynamically show the resource 'From Price', 'deposit' and 'capacity' from the booking resource variables too.
    2. Also, I have different booking types (boats, houses), so I need to show separate listings for each on their own 'boats' or 'houses' page. The standard search results in wpbookingcalendar show similar information I would like but I would like more control over the content and layout so will likely make a template. How could I do this, again without showing the booking panels for each showing like I mention in point 1. 
     

    • Hello.
      1) For the showing booking widget dynamically in the widget and using this code:
      <?php $booking_resource_id = 1; echo do_shortcode("[booking nummonths=1 type='".$booking_resource_id."']"); ?>
      You are need to define (in your theme - specific php file) the booking resource ID - $booking_resource_id
      Probably you are open the page with specific URL, where can be stored the ID of the booking resource, something like this: http://www.server.com/booking/?resource=3,
      so then you are need to define the booking resource ID with this code:
      $booking_resource_id = $_GET['resource'];

      If you just need to show the selection of the all booking resources (using the selecbox) in that widget ares, so then you can use the code like this:
      <?php echo do_shortcode("[bookingselect label='Please select the resource:' form_type='standard' nummonths=1 type=''"); ?>

      Please read how manually to configure Booking Calendar shortcodes here https://wpbookingcalendar.com/help/booking-calendar-shortcodes/

      2) You can configure the search results template at the Booking > Settings > Search page in your admin panel.

      • Thanks will try that.
        Is there a simple way to access the resource variables, a function like <pre>echo get_booking_value(booking_resource_id["standard_cost"]);</pre> ?

          • When I use echo do_shortcode("[booking nummonths=1 type='".$booking_resource_id."']" in my page template, it seems that when resetting search cache settings the search does not find this. It will only find the shortcode if it's in a post, which won't work when trying to do a dynamic widget like we are trying to in the sidebar.
             
            I think I am trying to do a similar thing as Elise but in a different way.
             
            Basically I would like to create a resource page that has a dynamic sidebar, the resources are found in the search results, and I can create a landing page (not a search, more like listing blog posts by category like 'boat' or 'hotel') that doesn't have the booking form for every post.
             
            What is the best way to do this?
             

            • Hello,
              Because, you are insert the booking forms using the special PHP code "dynamic loading), and not in the content of the posts, please make this fix:

              1) Please open the ../booking/inc/biz_l.php file.

              Find this function declaration: function regenerate_booking_search_cache(){

              then inside of the content of that function find this code:

              $sql = wpdevbk_db_prepare("SELECT ID, post_title, guid, post_content, post_excerpt FROM ".$wpdb->posts." WHERE post_status = 'publish' AND ( post_type != 'revision' )") . " AND post_content LIKE '%[booking %' ";
              and replace it to this code:

              $sql = wpdevbk_db_prepare("SELECT ID, post_title, guid, post_content, post_excerpt FROM ".$wpdb->posts." WHERE post_status = 'publish' AND ( post_type != 'revision' )") . " AND post_content LIKE '%[bookingtemp %' ";

              then find this code:

              $shortcode_start = strpos($value->post_content, '[booking '); $shortcode_end = strpos($value->post_content, ']',$shortcode_start); $shortcode_content = substr($value->post_content, $shortcode_start+9, $shortcode_end - $shortcode_start-9);
              and replace it to this code:
              $shortcode_start = strpos($value->post_content, '[bookingtemp '); $shortcode_end = strpos($value->post_content, ']',$shortcode_start); $shortcode_content = substr($value->post_content, $shortcode_start+13, $shortcode_end - $shortcode_start-13);

              2) Now open some of your posts, and insert the booking form into the content of this post.

              Let say you are insert the shortcode (have call of this shortcode in your code), like this:

              [booking type=4 form_type='standard' nummonths=1]

              Now, please make this modifications:
              <div style="display:none;">[bookingtemp type=4 form_type='standard' nummonths=1]</div>

              And update the post.

              3)

              Please open the Booking > Settings > Search page and click and the "Clear cache" button, you have to see that there is found 1 item.

              4) Please make test of search at the client side of your site.

              5) If its working, please continue step #2 for the all your custom posts.

  7. Hi I am trying to use the following code to dynamically get the calendar to appear in the sidebar in each page.
    It is working except the calendar does not show the current bookings or unavailabilities.
    Is there a reason for this not to work? 
     
    <?php 
    global $post;
     
    $bookingid = $wpdb->get_var(
        "SELECT booking_type_id FROM hobookingtypes 
           WHERE 
              post_id = '". $post->ID ."'"
    );
     
    // Echo the booking resource id
    echo do_shortcode("[booking type=$bookingid; nummonths=1]");
    ?>

    • Hello.

      Its seems that you was edited the code (structure of the DB) in your system.

      Please recheck that in your code was inserted the correct booking resource ID.

      Also please use instead of this code:

      echo do_shortcode("[booking type=$bookingid; nummonths=1]");

      this code:

      echo do_shortcode("[booking type=". $bookingid . " nummonths=1]");

  8. Hi,
    We are currently using the free version of WP Booking Calendar with Canvas by Woothemes and WordPress v 3.7.1.

    Having a bit of an amateur problem so apologies in advance if I'm being dense but whenever I try and remove the example bookings an error 404 message appears and the bookings won't delete.
    Any ideas why this is?

     
    Thanks,
     
    Charlotte
    Hayward Design & Print

    • Hello.
      At what page this issue is appear ?
      Please recheck in your server configuration that you are not block access to the folders or files of plugin.
      Kind regards

  9. Hi,
    In the previous version of booking calendar, I get access to the language file after adding in the Norwegian text  wpdev-booking-nb_NO.
    In the version 5.0.3 i copied the Gettext message catalog and the MO-fil (...nb_NO) from the previous version, but it does not work.
    An other question, how can I get access to  "jquery.datapick-no" where a lot is translated to Norwegian?

    • Hello.
      1) The code of the plugin was modified since last version and its impact to the PO and MO files. Any term in the PO file is relative to the specific line number in specific php file, and because of the code modifications the line numbers are changed. Thats why the old PO file can not work. So please translate and use the PO file from the last update for fixing some text inside. You can check how todo that here:https://wpbookingcalendar.com/faq/make-translation-of-wp-plugin/
      Please be sure, that translated terms are not marked as "Fuzzy". You can send the new updated translated file to us, so we will include this file into the new update, and you will be no need to re-update it in a future.
      2) The "jquery.datapick-no" file is located inside of this folder: ../booking/js/datepick/
      Kind regards.

      • Hi,
         
        1) Thanks for your answer; then I can fix it.
        2) I know that "jquery.datapick-no" is in the folder ...booking/js/datapick/ - but my question is, how can my application get access to just the Norwegian script "jquery.datapick-no"?
         
         
        Thank in advance
        Ingvar

        • Hello.
          2) it's automatically get that file depend from the local of your website (you are set the locale of website in the config.php file in the root of website).

          • What do you mean with "depend from the local of your website"
            In the config.php file I have set  define('WPLANG', 'nb_NO');
            Do this have a reference to the "jquery.datapick-no" script?
            Could you pls. be a little bit more accurate what to do in the config.php. for having access to the Norwegian version of the jquery.datapick 
             
            Thanks,
            Ingvar

            • Hello.
              If you are set the locale in the config.php file, like this:
              define(‘WPLANG’, ‘nb_NO’);

              So plugin is try to load this file: …booking/js/datapick/jquery.datepick-nb.js

              Just rename the jquery.datepick-no.js file to the jquery.datepick-nb.js, and its have to work.

              • Thanks a lot, excellent service!
                Kind regards,
                Ingvar

  10. Hello,
    in plugin Booking 5.0.3 in configuration during General settings changing and saving i got
    403 Forbidden
    Access to this resource on the server is denied!
    How can I solved this problem???
    Thanks

    • Hello
      Its seems that something with security configuration in your system.
      Probably your security settings at the server configuration do not allow to save the any URLs, thats why its show 403 Error.

      At the General Booking Settings page exist 3 fields (edit link, thank you page, calendar skin) with URLs (the skin selection option is also have the values as a links to the skins)

      Please recheck your server configuration and if possible allow to save these options.

      Try to recheck your .htaccess file and set flag SecFilterScanPOST to OFF.