Support Archive (3)

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

  1. If I enable CAPTCHA the form will not submit. I have tried several times and no matter how I type in the code it says it was typed incorrectly. It works with CAPTCHA disabled.

  2. Hi,
    I'm using the free version of Booking Calendar (version 7.0). My problem is I can't sync with the Google Calendar I want. I made all the settings, have created an API key, enabled, did everything exactly as the manual says, and I still get an error 403.
    WP version 4.6.2 Template Accesspress Parallax Pro.
    API key: AIzaSyDpbnFso8bVy7k7sm4bceM9N_9XFW8xNL4
    Calendar ID: kapcsolat@belsomagstudio.hu

    Thanks a lot! Regards, Vera

    • Hello.

      Please note, Booking calendar support only import of events from the Google Calendar (not 2 sides sync).
      Info about it exist in any settings pages at plugin website and at help configuration page of plugin website: https://wpbookingcalendar.com/faq/import-gc-events/
      The export functionality exist in our todo list for some future updates of booking calendar

      Where exactly do you have that error ?

      Is it appear after clicking on import button at import popup window st the Booking Listing page ?
      If yes, then please try to recheck these configuration points.
      About configuration.
      1) Please recheck carefully step by step this instruction: https:/:wpbookingcalendar.com/faq/import-gc-events/
      Its latest instruction with screenshots of Google Calendar interface.
      Just be sure that you set your Google calendar public, also check in the popup dialog at Booking Listing page all parameters, like importing of "all dates" and not only "current dates", etc...

      2) Please open Booking > Settings > Import> Google Calendar Events Import page
      And recheck options: "Google API Key" and "Google Calendar ID" (in paid versions, each google calendar ID for each resources).
      These options must not contain any white spaces (empty spaces) at the beginning and at the ending of options.
      Usually during copy/past procedure, you can insert these white spaces, so you need to recheck that you DO NOT inserted any white spaces there. Its most common issue.

      • Thanks a lot!
        I found what was the problem: I restricted the Google API key. I recreated a new key without restriction and now it works fine!

        It's a great plugin, keep on develop! 🙂
        Cheers, Vera

        • Hello.
          Good to know that its works for you right now.
          Kind Regards.

  3. Hello,

    We use
    Versie: Business.Small.SingleSite.7.0.Beta.17
    Typ: Business Small

    We want to make a page where 4 calendars are showing, because if one item is is for rent one day, you can check the other calendar if its still available, but when you go to step 2 we see all the 4 the forms....is there a way to work arround this?

    Regards,

    Marcel

    • Hello.
      Probably at that page you can insert the "Timeline" for your 4 booking resources, where your website visitors can check availability.
      Check more about shortcodes for timeline here: https://wpbookingcalendar.com/help/booking-calendar-shortcodes/#bookingtimeline
      You can check how its looking like, for example in this live demo: https://bs.wpbookingcalendar.com/timeline/

      Also you can request stable update 7.0 You can request the new update of Booking Calendar on this page: https://wpbookingcalendar.com/request-update/
      Kind Regards.

      • Yes i tried this before, but its not what i want, the visitor can first off al see who booked we only wanted to show that its booked, not by who..

        https://openhaven.nl/test-agenda/

        And is there a solution for the layout of the tooltip (pop-up) when you click on a number and this item is booked for a whole year, its looks terrible long and even the email template is like this?

        Maybe i do something wrong?

        • Hello.

          1) Basically you can deactivate showing pop-up window with booking details at the timeline. You can deactivate it at the Booking > Settings General page in Booking Listing page: "Booking details in popover" - set this option unchecked.Also you can set this option "Booking title (front panel)" as empty "", so then in the booking pipelines, you will not see any info.

          2) Additionally instead of timelines, you can use "availability calendars" for each specific booking resource. But you can not use booking forms with calendars for the same booking resources at the same page. Please check more here: https://wpbookingcalendar.com/faq/why-the-booking-calendar-widget-not-show-on-page/

          Kind Regards.

  4. I use the free version, the calender shows up fine, however the form doesn;t show.
    Any ideas

  5. Hi, I've just bought the Booking Calendar Business Medium (single site usage) version. It's complicated to configure even with the FAQ I have to say.

    I'm now running against a brick wall and did not expect this for this amount of money (294 Euro's). I need help.

    The situation is as follows:
    -3 apartements
    -booking per week (Booking > Settings > Type of days selection in calendar = Range days + Type of days = dynamic range + Specific day specific days = 7,14,21,28 + start day = fri,sat
    -variable season rates (added in Booking > resources > season filters > Specific dates filter)
    -variable visitors (added Booking > Setting > Form > drop down in the from Yes/No)
    -towels (added Booking > Setting > Form > radio button in the from)
    -towels costs pes day (added Booking > resources > towels 1=0 2=1.43 Euro/day)

    -to be able to select the last saturay set (Booking > Settings > Use check in/out time=checked)

    So now I'm able to calculate the costs of 1 or mor weeks. The addon calculates the total cost of rent.

    What I want is this:
    The customer can chose to add clean towels to the booking. This is 10 Euro per week per person.
    For the costs for 1 person, you can easily devide 10 euro by 7 days= 1.43 per day.

    So now I'm able to calculate the costs of 1 or more weeks, and costs per week if a customer wants towels.
    Great.

    But now the brick wall! (and after a couple of days of trying I'm now frustrated)
    If 1 person books this apartment everything is OK. BUT! if there are 2 of more persons, the total of the towels (10 Euro * 2 = 20 Euro) CAN NOT be calculated and added because the towels are 10 Euro PER PERSON per week.

    How can you solve this problem?

    • Hello.

      Unfortunately plugin does not apply/multiply "additional cost" from one option (visitors selection) to some other option (like towel selection) at the Booking > Resources > Advanced cost page. Thats why its does not possible to increment cost of towels depend from number of selected visitors in other dropdown list.
      For having resolving of this issue, you can use for towels selecitons instead of checkbox the selectbox with number o towels.

      For example:
      Select number of towels [select towels "0" "1" "2" "3" "4"]
      and then you be able to set additional cost for each of such options at the Booking > Resources > Advanced cost page:
      towels "0" = 1.43 EUR / day "1" = 2.86 EUR / day "2" = 4.29 EUR / day "3" = 5.72 EUR / day "4" = 7.15 EUR / day

      Kind Regards.

      • Thanks for the quick responce! I will try to get it working with this workaround.

        Suddenly the shortcode [cost_corrections] (in the form) doesnt work annymore, so I can't check the workaround.
        Strangely enough the shortcode [selected_short_dates_hint] (in the form) does work fine.

        In ressources the 3 appartements are added. (Resources>Resources)
        The season filter is added (Resources>Season Filter)
        The availability is added (Resources>Availability)
        The rates are added and selected (Resources>Costs and Rates)

        As I said, the [selected_short_dates_hint] works, but the calculation [cost_corrections] does not do anything (no animated roundgoing indicator)

        Do you have any idea to get the calculation going?

        Thanks.

        • OMG, this is quite awkward, this is my mistake:

          For calculating the costs in a form use: [cost_hint] NOT [cost_corrections]

          example in form (Settings>Form) Total: [cost_hint]

          • Hello.
            Yes, but this comment still was useful, please check my previous comment.
            Kind Regards.

          • I now see the animated roundgoing indicator, but the costs are not calculated, they stay 0.00.

            Anny Ideas?

            • Hello.
              Please be sure that you are use correct [cost_hint] shortcode.
              Also please be sure that you have configured cost for booking resource higher than 0 at the Booking > Resources > Cost and rates page
              and also check cost configuration at the Booking > Resources > Advanced cost page.
              Kind Regards.

              • Great, thanks for the reply. Things are looking verry good.
                One tip for other users, this one took me some time to discover.

                If you want to book a fixed week, the visitor selects saturday and the next saturday. This means you selected 8 days. And therefor the calculation (per day) is wrong. The so called "Valuation day" is needed to tackle this 'problem'. Look in Recorces>Costs and Rates>Valuation dates(button).
                Now the thing! Select Days="For" AND "LAST" in day. Now you do not calculate the last day.

        • Hello.
          In the booking form you can use [cost_hint] shortcode for showing total cost of booking depend from selected days or some other options.
          the [cost_corrections] is useful only in case if you need to redefine the cost of the booking to some new cost. And its showing only in admin panel at the Booking > Add booking page. By default it show standard cost, which you can edit and then save the cost.

          Booking Calendar does not update this cost_correction each time during selections of booking for ability to not update the cost during editing exist booking.
          But in case, if you need to update this cost, so then please make this fix.

          Please open this file ../{Booking Calendar Folder}/inc/_bm/biz_m.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 ( jQuery( '#total_bk_cost<?php echo $booking_type; ?>' ).val() == 0 )

          and replace it to this code:

          if ( ( jQuery( '#total_bk_cost<?php echo $booking_type; ?>' ).val() == 0 ) || ( location.href.indexOf('booking_hash') === -1 ) )

          This fix will be exist in next update 7.0.1 of Booking Calendar.
          Kind Regards.

  6. Is it possible to define severalt products (in our case activities) using the same resource?
    Example: We are offering birthdayparties, teambuilding and bachlorparties all using the same field (a building). If we have a booking for teambuilding this field should not available for the other products. Meaning, it should not be possible to make a booking for birthday if there alleready is a teambuilding at the same time since they both use the same field.

    • Hello.

      I can suggest that you can have only one booking resource (in paid versions at Booking > Resources page, Booking Calendar Free version by default support only 1 resource) - its means unique calendar.

      And saving what type of activity to book, just have as options in drop-down list. You can configure selections of your activity in selectbox at the Booking > Settings > Fields page. So info about what type of activity to book will be saved to the DataBase and you can see it in emails at Booking Listing page, etc...

      Your website visitors, firstly will need to select specific day(s) in calendar, then select activity in selectbox, fill other booking form fields, and submit the booking.

      If you need to make booking for specific time(s) (time-slot), so then you need to check the Booking Calendar Business Small version.
      The ability to book for the specific times only possible in the Booking Calendar Business Small / Business Medium versions (and in higher versions for booking resources with capacity =1). Please note if you will make the booking for the specific timeslot, this timeslot become unavailable for the other visitors for that selected date in current specific calendar.

      You can configure the timeslots selections on the Booking > Settings > Fields page. Please use the "shortcode generator" on the right side of that page for the correct generation of the shortcode.

      You can use one"timerange" (timeslots) or "start time" and"end time" selections or"starttime" and "duration"of time selections shortcodes or even start time and end time entering shortcodes. Please read more about the booking form fields configuration here https://wpbookingcalendar.com/help/booking-form-fields/

      You can test the bookings for the specific time-slots in action on the live demo of Business Small version (which is configured by default for the bookings of specific time-slots) here: https://bs.wpbookingcalendar.com/ Other live demo you will need to reconfigure.

      Kind Regards.

      • Thanks for fast response!
        We have Business Medium version.
        You refer to 'Booking > Settings > Fields page', can't find it. Do you mean Booking > Settings > Form and then Form fields?

  7. Hello,

    How can i change the alignment in the tooltip, (popup) , i try to get all nice under each other with but it only works for the first couple.
    I also want to make the tooltip a little widther, but dont know witch css file?
    And i want to change the data in te tooltip, if we have a whole year different booking form one person, the tooltip is ver very long, we dont need this data in the tooltip..

    Regards,

    Marcel

    • Hello.
      1) Currently its does not possible to sort all items each under other. You can only try to make HTML Table for "Content o booking fields data" at Booking > Settings > Fields page for showing 2 columns with rows for each field.
      Its also relative to your last question. Plugin is get for mouse over tooltip all data that you have configured at this form at Booking > Settings > Fields page.

      2) If you want to make popover wider, than please make this fix.
      Please open this file ../{Booking Calendar Folder}/css/timeline.css

      then find this code:

      /* P O P O V E R ************************************************************/ .wpdevelop .popover { /* width:400px; max-width:400px;*/ border: 2px solid #555; font-size: 12px; }

      and replace it to this code:

      /* P O P O V E R ************************************************************/ .wpdevelop .popover { width:400px; max-width:400px; border: 2px solid #555; font-size: 12px; }

  8. Dear Sirs,

    I have set up 1 resource with 100 options and spaces to fill. When somebody takes one of those spaces, the system automatically allocates them to the availability-100 option which appears at the bottom of the admin page. Please can you either:

    1. Show me how to resort the admin booking page so that Availability-100 is at the top of the page and the rest appear in descending order.
    2. Have the system allocate to availability-1 first and not availability-100

    I hope this makes sense.

    I look forward to hearing from you.

    Kind regards,

    Ian

    • Hello.

      Basically system is assign first booking to the "child booking resource" that have available dates for this booking, and have high priority.
      So you just need to set correct priority for each booking resource at the Booking > Resources page (it priority column).

      Also we highly recommend to check this article about different configuration of capacity and availability https://wpbookingcalendar.com/faq/capacity-concept/

      Kind Regards.

  9. Hi
    Have the large singe site version.
    I use the google import calendar function and it is working great. Can't wait for the both way sync functionallity....
    Anyway, the imported bookings gets set as pending, and to get them to show as booked I need to approve each and every one. How to get around this? If I turn on the auto approval, I guess the bookings from the booking system will get auto approved as well and that is not a good idea since I can not set cost in the system.(need different costs for weekdays and weekends.)

    • Hello.

      For auto-approving of bookings during import of events from Google Calendar, you will be need to make this fix.

      Please note, this fix based on update 7.0 (You can request the new update of Booking Calendar on this page: https://wpbookingcalendar.com/request-update/ )

      1)
      Please open this file ../{Booking Calendar Folder}/core/sync/wpbc-gcal-class.php

      then find this code:

      public function createNewBookingsFromEvents( $exist_bookings_guid = array() ) { foreach ($this->events as $key => $event) { if ( ! in_array( $event['sync_gid'], $exist_bookings_guid ) ) { $submit_array = $event['booking_submit_data']; //debuge($submit_array); $booking_id = apply_bk_filter('wpbc_add_new_booking_filter' , $submit_array ); $this->events[$key]['id'] = $booking_id; } else { unset($this->events[$key]); } } return $this->events; }

      and replace it to this code:

      public function createNewBookingsFromEvents( $exist_bookings_guid = array() ) { foreach ($this->events as $key => $event) { if ( ! in_array( $event['sync_gid'], $exist_bookings_guid ) ) { $submit_array = $event['booking_submit_data']; //debuge($submit_array); $booking_id = apply_bk_filter('wpbc_add_new_booking_filter' , $submit_array ); $this->events[$key]['id'] = $booking_id; if ( false === $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->prefix}bookingdates SET approved = %s WHERE booking_id IN ({$booking_id})", '1' ) ) ){ ?> <script type="text/javascript"> var my_message = '<?php echo html_entity_decode( esc_js( get_debuge_error('Error during updating to DB' ,__FILE__,__LINE__) ),ENT_QUOTES) ; ?>'; wpbc_admin_show_message( my_message, 'error', 30000 ); </script> <?php die(); } } else { unset($this->events[$key]); } } return $this->events; }

      2) Additionally there is an issue with auto import events in update 7.0
      Sorry. This fix will exist in next update 7.0.1 of plugin.

      To fix this issue in actual 7.0 update, please make this fix:

      Please open this file ../{Booking Calendar Folder}/core\admin\page-import-gcal.php

      then find this code:
      if (isset($booking_gcal_events_form_fields['where'])) $fields[ 'booking_gcal_events_form_fields_where' ]['value'] = $booking_gcal_events_form_fields['where'];
      and replace it to this code:
      if (isset($booking_gcal_events_form_fields['where'])) $fields[ 'booking_gcal_events_form_fields_where' ]['value'] = $booking_gcal_events_form_fields['where']; // Update Cron //FixIn: 7.0.1.9 if ( $fields['booking_gcal_auto_import_is_active']['value'] == 'On' ) { update_bk_option( 'booking_gcal_auto_import_time', intval( $fields['booking_gcal_auto_import_time']['value'] ) ); // add WPBC()->cron->update( 'wpbc_import_gcal' , array( 'action' => array( 'wpbc_silent_import_all_events' ) // Action and parameters , 'start_time' => time() // Now , 'recurrence' => intval( $fields['booking_gcal_auto_import_time']['value'] ) // Set time in Hours ) ); } else { // delete WPBC()->cron->delete( 'wpbc_import_gcal' ); }

      - Please open the Booking > Settings > Import page, then deactivate auto import. Save changes. Then activate auto import and save changes.

      - And you need to open some page at front-end side after 1 hour.

      - Of course you need to have events in Google Calendar that was not imported early.

      Kind Regards.

      • I have done this but it does not work, my google calendar booking still is pending. What to do?

        • Hello.
          Sorry, in first code section there is small mistake.
          Please replace this code:
          if ( false === $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->prefix}bookingdates SET approved = %s WHERE booking_id IN ({$booking_id})", '1' ) ) ){
          to this code:
          global $wpdb; if ( false === $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->prefix}bookingdates SET approved = %s WHERE booking_id IN ({$booking_id})", '1' ) ) ){

          And also its will work only with new imported bookings from Google Calendar.
          Kind Regards.