Support Archive (5)

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

  1. WP v. 5.3.2
    Booking Calendar v. 872
    PHP v. 7.0

    Hello,

    I am having an issue with the plugin, when a client makes a booking request for a [date] in the title of the email we receive it says YOU HAVE A NEW BOOKING REQUEST FOR [date - 1 day] , I mean is the previous day (1 day earlier). Please, help. Thank you.

    Our web site is http://www.basquecooltour.com

    • Hello.

      Such issue possible at some servers because of "Daylight Saving Time" - in some systems after ~ 29 of March, system generate minus several hours which show incorrect selected dates

      Try to make this fix.

      1) Please open this file ../{Booking Calendar Folder}/core/wpbc-dates.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:

      ********************************
      $mydates_result .= date_i18n( $date_format_now, mktime( $tms[0], $tms[1], $tms[2], $dta[1], $dta[2], $dta[0] ) ) . ', ';
      ********************************

      and replace it to this code:

      ********************************
      //FixIn: 8.7.3.9 - fix issue of Daylight Saving Time - in some systems after ~ 29 of March, system generate minus several hours which show incorrect selected dates
      $mydates_result .= wp_date( $date_format_now, strtotime( $dt ) ) . ', ';
      ********************************

      2) Then find this code:

      ********************************
      $s_tm = date_i18n( $time_format, mktime( intval( $s_tm[0] ), intval( $s_tm[1] ) ) );
      $e_tm = date_i18n( $time_format, mktime( intval( $e_tm[0] ), intval( $e_tm[1] ) ) );
      ********************************

      and replace it to this code:

      ********************************
      //FixIn: 8.7.3.9 - fix issue of Daylight Saving Time - in some systems after ~ 29 of March, system generate minus several hours which show incorrect selected dates
      $s_tm = wp_date( $time_format, mktime( intval( $s_tm[0] ), intval( $s_tm[1] ) ) );
      $e_tm = wp_date( $time_format, mktime( intval( $e_tm[0] ), intval( $e_tm[1] ) ) );
      ********************************

      After this create new booking at front-end side, and test it.

      Please reply to me, if its helpful for you or not.

      Thank you.

  2. Hi there,
    I have set up a parent resource with a capacity of 21 in total. ( 1 parent and 20 child resources.) For some reason I can't make a Parent resource unavailable using the Season Filters.
    When I make a season filter, add a date to the filter and add it to the Parent child availabilty it comes up in the front end calendar with the date and background colour in white but it does allow the user to book it even if there is capacity available.

    Can you please advise?

    Thank you,

    Yvonne

    • Hello.
      Yes, its how its working. If you set some dates as unavailable via season filters for the PARENT booking resource, so then days in calendar will become FULLY unavailable.
      Instead of that you can make "blank bookings" at the Booking > Add booking page by using "auto fill" button at the toolbar for making bookings only for the parent booking resource, but dates in calendar will be available depends from the bookings at the child booking resources.
      Kind Regards.

      • Thank you for explaining this. Is it possible to have 21 single resources that will give us a total capacity of 21 when being viewed from the front end of the Booking Calendar?

        We have a situation where we want to block book up to 21 resources at a time via the Seasons filtering. Or is, as you suggested earlier, block booking 20 "Child" resources using the Seasons Filters and then 1 x blank booking for the "Parent" resource the only way?

        Thank you again for your help.

        Yvonne

        • Hello.
          Its possible only via this way:

          We have a situation where we want to block book up to 21 resources at a time via the Seasons filtering. Or is, as you suggested earlier, block booking 20 "Child" resources using the Seasons Filters and then 1 x blank booking for the "Parent" resource the only way

  3. Hello,
    i want to tell me

    how can run cron jobs in plesk server for update calender for every room i have.

    please tell me the exacaly command i must write there

      • Thank you, please tell me where can i go to change the url for Privacy Policy in booking form check.

        • Hello.
          You can create new separate page for this,
          and in your booking form you can have configruation like this:
          [checkbox* term_and_condition use_label_element "I Accept"] <a href="http://server.com/terms" target="_blank" rel="noopener noreferrer nofollow ugc">terms and conditions</a>

          Instead of this URL http://server.com/terms have to be URL to your page.
          Kind Regards.

  4. Hi,

    I would like to use the plugin for reserving seats for an event with 80 seats available. All examples with capacity are based on hotels/rooms with X amount of space. However, this event takes place in one room (resource) with 80 seats available altogether ($10 per ticket). How do I configure this? I'm currently messing around in the Business Large demo and tried to add a test resource with capacity = 80. I tried to add a booking with 4 visitors but as soon as this booking is performed, the given date becomes unavailable which leaves me with 76 seats remaining that users can't book.

    Can you please help me?

    Best regards

    • Hello.
      1) You need to create 1 "parent booking resource" and then then crate 79 child booking resources, so total capacity of this booking resource will be = 80, like this:
      Seat (parent resource) capacity = 80 max visitors = 1 -- seat 1 -- seat 2 ... -- seat 79

      Highly recommend, to check this article about configuration of capacity and availability for booking resources: https://wpbookingcalendar.com/faq/capacity-concept/

      2) Additional cost (for having ($10 per ticket)) for the "visitors" number selection you can configure at the Booking > Resources > Advanced cost page. Check more about this feature here: https://wpbookingcalendar.com/overview/#additional-cost
      Watch it in this video guide https://wpbookingcalendar.com/help/advanced-costs-video-overview/

      Its means that in the booking form you need to have this shortcode:

      Tickets: [select visitors "1" "2" "3" "4" "5"]

      and at the Booking > Resources > Advanced cost page page configure this:
      visitors: 1=0 2=10 3=20 4=40 5=50

      We have defined here 1 = 0, because you need to set cost per booking resource (parent booking resource) at the Booking > Resources page as 10 USD.

      Kind Regards.

  5. Hi,
    I'm activate the coupons and the discount apply in booking days and in aditional costs. I activate the option "Apply discount coupon code directly to days cost" but the discount also applies in the additional costs.
    how i can do to the discount only apply in booking days?

    Thank you

    • Hello.
      Please send screenshots of your cost configuration and send the link to your page with booking form, where you are having the issue. Please send all this to support @ wpbookingcalendar.com
      Thank you.

  6. Hi,

    Regarding calendar export and sync, I wonder if it is possible to merge multiple resources into one calendar? For instance, what happens if I choose "Settings -> Sync -> Export" and define the same .ics feed URL for the resources I want to merge into one single calendar - is that possible? Would all events from multiple resource be merged into one .ics feed? Or is there a different way to sync multiple calenders and merge them into one feed?

    Best regards

    • Hello.
      Unfortunately it’s does not possible to merge the bookings from the all booking resources into one ics feed. If you will define the same ics feed url for all booking resources at the Booking > Settings > Sync > “Export - .ics” page then Last booking resource in a list will be export bookings into this feed.
      Kind Regards.

  7. Hi,

    I own the Business Large calendar.

    I followed your guide here: https://wpbookingcalendar.com/faq/capacity-concept/
    Booking several resources at the same time works great - my problem is that the total price is not adjusted,

    e.g. booking 1 room costs 100 USD, booking 2 rooms at once is also 100USD.
    The calendar correctly books two resources at once -
    just what do I have to do that the guests are also shown the correct price (200 USD) while booking 2 rooms at once?

    below is my form code for additional infos - can you please help me out what I did wrong?

    [calendar]

    [selected_short_timedates_hint] ([days_number_hint] days)

    Name (required):[text* name]
    Email (required):[email* email]
    Phone (required):[text phone]
    book [select visitors class:col-md-1 "1" "2" "3" "4"] car
    note:
    standard configuration is one car per two adult guests
    please contact us before booking if you have any questions

    Message (optional): [textarea message_field x3]
    Coupon (optional): [coupon coupon_field]
    Full cost of the booking: [cost_hint]
    [checkbox* term_and_condition use_label_element "I Accept term and conditions"]
    [captcha]
    [submit class:btn "Send"]

  8. Hi,

    Regarding multiple bookings for the same resource, I notice the advanced setting "Allow unlimited bookings per same day(s)". However, is it possible to activate this depending on which resource is being booked? Some of my resources are restricted - others are not. This is in regard to particular time slots during the day.

    Previously, you guided me on how to override general settings (regarding selection of days) so I wonder if something similar is possible in this use case?
    https://wpbookingcalendar.com/faq/advanced-javascript-for-the-booking-shortcodes/

    Best regards

    • Hello.
      Unfortunately, by default its does not possible todo in the Booking Calendar separately for the different booking resources.
      You will be need to make additional source code customization for having this functionality.

      For example, let you having the booking resources with following ID:

      - ID = 3 "Resource A" ( after booking having days as unavailable )
      - ID = 4 "Resource B" (need to have option " Allow unlimited bookings per same day(s) " - days always available )

      Please open this file ../wp-content/plugins/{Booking Calendar Folder}/core/lib/wpdev-booking-class.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:

      ********************************
      $booking_is_days_always_available = get_bk_option( 'booking_is_days_always_available' ); // if ( strpos($_SERVER['REQUEST_URI'],'page=wpbc-new') !== false ) { $booking_is_days_always_available = 'On'; } // if ( in_array( $bk_type, array( '12', '15', '17' ) ) ) $booking_is_days_always_available = 'On'; // Set dates in calendar always available only for specific resources with specific ID if ( $booking_is_days_always_available == 'On' ) { // No Booked days } else {
      ********************************

      and replace it to this code:

      ********************************
      $booking_is_days_always_available = get_bk_option( 'booking_is_days_always_available' ); // if ( strpos($_SERVER['REQUEST_URI'],'page=wpbc-new') !== false ) { $booking_is_days_always_available = 'On'; } if ( in_array( $bk_type, array( '4' ) ) ) $booking_is_days_always_available = 'On'; // Set dates in calendar always available only for specific resources with specific ID if ( $booking_is_days_always_available == 'On' ) { // No Booked days } else {
      ********************************

      Of course, if you have the different ID (than 3 and 4) of such booking resources you need to make fixes in the code: array( '4' ) .

      Also at the Booking > Settings General page in calendar section, you need to be sure that these options was unchecked:
      - "Use pending days as available"
      - "Allow unlimited bookings per same day(s)"

      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.
      Kind Regards.

  9. Hello,
    Is it possible to automate the csv export option in any way or form?
    One of my coworkers did a rollback (without warning) and we lost some valuable data.

    Thanks in advance!

    • Hello.
      Unfortunately, its does not possible in the Booking Calendar versions. Sorry.
      You need to make backup of your databases periodically with some other plugin or tool.
      Or bookings are stored in your DB.
      Kind Regards.