Support Archive (4)

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

  1. Hi, I have MultiUser version installed on a site that has 1 or 2 week Tours for a set price but also on the same site there are some rooms with prices per night. How can I have some calendars with prices per night and some with a set price?
    Thanks!

    • Hello.
      1) You need to set cost “per 1 day” at the Booking > Settings > Payment page in Payment settings sections.
      2) Then at the Booking > Resources page set cost per days for booking resources that have cost per nights (days). You can also set here cost per days for booking resources that have cost per week, just by setting week cost divide to 7

      3) Additionly at the Booking > Resources > Cost and rates > “Rates” page by clicking on “Valuation days” button you can set cost per week(s) for specific booking resources. Check more about this feature here: https://wpbookingcalendar.com/overview/#valuation-days

      Watch it in this video guide https://wpbookingcalendar.com/help/valuation-days-cost-video-overview/

      Kind Regards.

    • Hello.
      How its works ?
      System generate content of this file and put to request source dynamically. When someone try to access the URL, that you configured at the Booking > Settings > Sync > "Export - .ics" page, then script is send new headers and content of the .ics file, and after this stop execution any scripts. So its more like put content of file to browser (or other script) during requesting it
      Its basically working in same way like WordPress. For example, you can not have index.php or index.html files in "contact" folder and even do not have folder "/contact/" in root of your website. But when you open url like http://www.server.com/contact/ you will see the page (of course if you have created this page in WordPress admin menu).

      How to resolve an issue ?

      - First of all please recheck that your PHP support PHP mbstring extension. Its must be activated. Otherwise, plugin generate an error during exporting the .ics feed and you can not export new .ics feed.

      - If you see 404 error, please recheck in your root folder of website for any .htaccess files, please recheck that these files does not have some security restrictions for such links generation. The best way to contact support of your hosting about rechecking this issue, because they have to know better about any security restrictions.

      - Recheck for any other security plugins at the WordPress > Plugins menu, that can block generating of such URL structure for .ics feed.
      Please try to deactivate one by one all your active plugins at the WordPress > Plugins menu and make testing after each plugin deactivation.
      If its not help, please deactivate all your plugins and active the default WordPress theme. And then retest it again.

      - Please recheck your error.log in your server configuration, about any relative errors. If you can not find error.log file, please contact support of your hosting company about helping in finding this file.

      - Finally if previous was not help, so its means that some restrictions on configuration at your server, and only your support of hosting or your server administrator have to now how to reconfigure you server for do not generating such blocking of .ics feed generation. Please provide to support of your hosting, that its not real file in your server (wpbm.ics), the script is generating this file "on fly", when someone try to access the URL, that you have defined at the Booking > Settings > Sync > "Export - .ics" page.

      • Hello ! Same problem as belegungsplan. I configured the .ics url but when I try to open the link I have this message : "Not Found The requested URL /ics/bleu-lavande-15 was not found on this server". Could you explain clearly to a low-skilled web manager how to fix it ? Thanks !

        • Hello.
          First of all please try to recheck this video guide : https://wpbookingcalendar.com/help/export-ics-feed-video-tutorial/

          Please follow exactly as in this video about how to start export.

          If the issue, still will exist, then please recheck your error.log in your server configuration, about any relative errors. If you can not find error.log file, please contact support of your hosting company about helping in finding this file.

          Thank you.

          • Thanks for your answer ! I found the error.log, how is it supposed to help me ?

            • Hello.
              Please recheck it about any relative errors. You can send it to support @ wpbookingcalendar.com with description about your issue, so then we will recheck it, as well.
              Kind Regards.

  2. Hi, Is it possible to add these different prices to the calendar depending on the days booked?
    Example if stay:

    Monday to Friday: $250

    Friday to Monday: $220

    Monday to Monday: $480

    Thanks!

  3. In response to a message from John Appleby on 17/03/2018 at 11:39 you said:

    Hello.
    1) During import bookings from Google Calendar to the Booking Calendar, you need to be sure that events in google calendar, have start time and end time (check in/out times) as in this example:

    April 8th at 4pm to April 12th at 10am

    Otherwise its will be bookings for full days: April 8th to the 12th.
    In other words events in Google Calendar must have correct check in / out times.

    2) You can edit imported bookings, by clicking on edit button near booking in booking Listing page, for saving check in/out times to these bookings. Watch it in this video guide https://wpbookingcalendar.com/help/booking-listing-video-tutorial/

    3) Or you can make this fix, for start import of .ics events and add to each such event check in/out times.

    3.1) Please open this file ../booking-manager/core/wpbc/wpbm-bc-import.php

    ( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )

    then find this code:

    $simple_booking_dates = array_map( 'date_i18n', $dates_formats , $booking_dates_unix ); // Array ( '2017-06-23', '2017-06-24', '2017-06-25', '2017-06-26' )

    and replace it to this code:

    $simple_booking_dates = array_map( 'date_i18n', $dates_formats , $booking_dates_unix ); // Array ( '2017-06-23', '2017-06-24', '2017-06-25', '2017-06-26' )

    if ( ( class_exists( 'wpdev_bk_biz_s' ) ) && ( get_bk_option( 'booking_range_selection_time_is_active') == 'On' ) ) { //FixIn: 2.0.3.4
    //Add check in/out times to full day events
    if ( count( $simple_booking_dates > 1 ) ) {
    $wpbc_check_in = ' ' . get_bk_option( 'booking_range_selection_start_time') . ':01'; // ' 14:00:01'
    $wpbc_check_out = ' ' . get_bk_option( 'booking_range_selection_end_time') . ':02'; // ' 10:00:02';
    $simple_booking_dates[0] = $simple_booking_dates[0] . $wpbc_check_in;
    $simple_booking_dates[ ( count( $simple_booking_dates ) - 1 ) ] = $simple_booking_dates[ ( count( $simple_booking_dates ) - 1 ) ] . $wpbc_check_out;
    $ics_event['_BOOKING_DATES'][0] = $simple_booking_dates[0];
    $ics_event['_BOOKING_DATES'][ ( count( $simple_booking_dates ) - 1 ) ] = $simple_booking_dates[ ( count( $simple_booking_dates ) - 1 ) ];
    }
    }

    3.2) then find this code:

    $start_time = substr( $ics_event[ '_BOOKING_DATES' ][ 0 ], 11, 5 );
    $end_time = $ics_event[ '_BOOKING_DATES' ][ ( count( $ics_event[ '_BOOKING_DATES' ] ) - 1 ) ];
    $end_time = substr( $end_time, 11, 5 );

    and replace it to this code:

    $start_time = substr( $ics_event[ '_BOOKING_DATES' ][ 0 ], 11, 5 );
    $end_time = $ics_event[ '_BOOKING_DATES' ][ ( count( $ics_event[ '_BOOKING_DATES' ] ) - 1 ) ];
    $end_time = substr( $end_time, 11, 5 );
    if ( ( class_exists( 'wpdev_bk_biz_s' ) ) && ( get_bk_option( 'booking_range_selection_time_is_active') == 'On' ) ) { //FixIn: 2.0.3.4
    //Add check in/out times
    $start_time = get_bk_option( 'booking_range_selection_start_time' ); // ' 14:00'
    $end_time = get_bk_option( 'booking_range_selection_end_time' ); // ' 10:00'
    }

    I tried this and it gave me the triangles but removed the last day from the booking, so that a three night booking in VRBO became two nights. What should I do to fix that?
    In case this is relevant, I have the website set up to book as days with no charge for the LAST night under Valuation Days, because calculations did not seem to be correct when I set it to book nights.

    • Hello.
      Please make this fix. Please open this file ../booking-manager/core/wpbc/wpbm-bc-import.php

      ( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )

      then find this code:

      // Get assigning fields for SUMMARY, DESCRIPTION, LOCATION $assigned_fields_arr = WPBM_create_bookings_from_events::get_assigned_form_fields(); $booking_added_num = 0; foreach ( $bk_array as $ics_event) {

      and replace it to this code:

      // Get assigning fields for SUMMARY, DESCRIPTION, LOCATION $assigned_fields_arr = WPBM_create_bookings_from_events::get_assigned_form_fields(); $booking_added_num = 0; foreach ( $bk_array as $ics_event) { //FixIn: 2.0.5.2 if ( ( class_exists( 'wpdev_bk_biz_s' ) ) && ( get_bk_option( 'booking_range_selection_time_is_active') == 'On' ) && ( defined( 'WP_BK_ICS_IMPORT_ADD_1_CHECKOUT_DAY' ) ) && ( WP_BK_ICS_IMPORT_ADD_1_CHECKOUT_DAY ) ) { // Add one additional day to .ics event (useful in some cases for bookings with change-over days), if the imported .ics dates is coming without check in/our times // Later system is adding check in/out times from Booking Calendar to this event $ics_event_check_out = $ics_event['_BOOKING_DATES'][ ( count( $ics_event['_BOOKING_DATES'] ) - 1 ) ]; $ics_event_check_out = strtotime( $ics_event_check_out ); $ics_event_check_out = strtotime( '+1 day', $ics_event_check_out ); $ics_event_check_out = date_i18n( "Y-m-d 00:00:00", $ics_event_check_out ); $ics_event['_BOOKING_DATES'][] = $ics_event_check_out; }

      Kind Regards.

      • Unfortunately, I am still seeing one day cut off. Any other suggestions?

        • Hello.
          You will see change over days ( https://wpbookingcalendar.com/overview/#change-over-days ), in any case, if you have activated the using check in/out times at the Booking > Settings General page in Calendar section.
          If you wan to set last day as available day, so then you can try to make this fix.
          Please open this file ../{Booking Calendar Folder}/core/wpbc-constants.php

          ( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )

          then find this code:

          if (!defined('WP_BK_LAST_CHECKOUT_DAY_AVAILABLE')) define('WP_BK_LAST_CHECKOUT_DAY_AVAILABLE', false );

          and replace it to this code:

          if (!defined('WP_BK_LAST_CHECKOUT_DAY_AVAILABLE')) define('WP_BK_LAST_CHECKOUT_DAY_AVAILABLE', true );

          • I think I may have not explained the problem clearly. I was importing bookings from VRBO, but their exports do not specify checkin-checkout time so I applied the changes you sent to John Appleby. That added the triangles, but turned the last night into an available day. So, for example, if a booking is 4 nights in VRBO, in our website calendar it only shows 3 nights. I need to add one more day to all the imports, but the changes you sent me above didn't do that.

            • Hello.
              The fix about this issue was in previous my comment, but I was made mistake in your customization. Sorry. Here is correct instruction.
              Hello.
              Please make this fix. Please open this file ../booking-manager/core/wpbc/wpbm-bc-import.php

              ( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )

              then find this code:

              // Get assigning fields for SUMMARY, DESCRIPTION, LOCATION $assigned_fields_arr = WPBM_create_bookings_from_events::get_assigned_form_fields(); $booking_added_num = 0; foreach ( $bk_array as $ics_event) {

              and replace it to this code:

              // Get assigning fields for SUMMARY, DESCRIPTION, LOCATION $assigned_fields_arr = WPBM_create_bookings_from_events::get_assigned_form_fields(); $booking_added_num = 0; foreach ( $bk_array as $ics_event) { //FixIn: 2.0.5.2 if ( ( class_exists( 'wpdev_bk_biz_s' ) ) && ( get_bk_option( 'booking_range_selection_time_is_active') == 'On' ) && ( defined( 'WP_BK_ICS_IMPORT_ADD_1_CHECKOUT_DAY' ) ) && ( true ) ) { // Add one additional day to .ics event (useful in some cases for bookings with change-over days), if the imported .ics dates is coming without check in/our times // Later system is adding check in/out times from Booking Calendar to this event $ics_event_check_out = $ics_event['_BOOKING_DATES'][ ( count( $ics_event['_BOOKING_DATES'] ) - 1 ) ]; $ics_event_check_out = strtotime( $ics_event_check_out ); $ics_event_check_out = strtotime( '+1 day', $ics_event_check_out ); $ics_event_check_out = date_i18n( "Y-m-d 00:00:00", $ics_event_check_out ); $ics_event['_BOOKING_DATES'][] = $ics_event_check_out; }

              Important! And all this will work only for new imports. Old bookings you will be need to edit for adding one additional day.
              Kind Regards.

              • This is still not working. I am using Business Medium, not Small; could the class wpdev_bk_biz_s be specifically for Small? I tried changing that to wpdev_bk_biz_m but it still didn't work.

                • Hello.
                  1) Did you test it with import of new bookings ?
                  2) Please send screenshot of your changes of source code,
                  also please send screenshot of new import of events and your .ics feed. Please send it to support @ wpbookingcalendar.com
                  Thank you.

  4. What are the command lines I need to use to update using a cron job? Do I need to do it for each house or is there a way to sync all with VRBO with one command line?

  5. Hello,

    Business Small Site User, is it possible to specify the start date of the calendar display? We want to show bookings for the entire of 2019 only so Jan-Dec 2019.

    Thanks

    Ross

  6. Hi, I'm making Pages / Posts to insert the Booking Manager Shortcode for import .ics feeds from different sites into some post or page.
    Does the page then have to be linked to a menu?
    After Publishing the Page is there a way it can be hidden from normal visitors to the site?
    Just checking a good way as it will only be used by Admin.
    Thanks!

    • Hello.
      1) For ability to import the events from external sources, you need to access periodically the posts or pages with booking import shortcodes. You can define CRON at your server for accessing page(s) with import .ics feeds shortcodes.
      Please check more info about CRON at support of your hosting or in articles, like this https://en.wikipedia.org/wiki/Cron ~ Or you can insert the import shortcode before Booking Calendar shortcode in the content of the post or page, so in this case, system firstly will import the bookings and then start showing it in calendar, but it can impact to the performance of loading this page, because too many operations will be at the same page during same period of time.

      2) You can have that these pages was not visible in the menus. At the WordPress > Appearance > Menus Page.

      Additionly if you are using some SEO plugins you can disable to indexing these pages (so search engines (google) will not see these pages). Check more in specific seo plugin. Contact support of specific seo plugin, if you will have questions about this.

      3) Completely disable access to these pages does not possible. Sorry.

      Kind Regards.

  7. Hi, On this page:
    https://msi.iclawdiusdesign.com/tours/one-week-tour/
    I have this code including "Captcha". Everything appears except Captcha below Details.
    [calendar]
    Dates: [selected_short_timedates_hint] ([days_number_hint] - day(s))
    Full cost of the booking: [cost_hint]

    First Name (required):[text* name]
    Last Name (required):[text* secondname]
    Email (required):[email* email]
    Phone:[text phone]
    Details: [textarea details]
    [captcha]
    [submit class:btn "Send"]

    I tried deactivating LiteSpeed Cache but same.
    Can Google Captcha be used?
    Thanks

  8. Hi Support,

    If i am install Ultimate Member plugin and make several field for users during registration. Can those field be auto-fill in the booking form when they have login?

    Thanks.

    regards,
    aaron

    • Hello.
      Unfortunately, with actual versions its doesn't possible. Sorry.
      But in case, if you want to make this customization by yourself, so then you need to check this file ../{Booking Calendar Folder}/core/lib/wpdev-booking-class.php
      and find code bellow these lines:
      $is_use_auto_fill_for_logged = get_bk_option( 'booking_is_use_autofill_4_logged_user' ) ; if (! isset($_GET['booking_hash'])) if ($is_use_auto_fill_for_logged == 'On') { $curr_user = wp_get_current_user();

      there is auto-fill booking form fields functionality.

      Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
      Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
      Thank you for understanding.
      Please note, if you will modify the source code of the Booking Calendar, we will not guaranteed the correct work of plugin and do not support it.
      Kind Regards.