Support Archive (4)

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

  1. I added some custom php code to stripe-charge.php to create a contract for the customer to sign after the payment is successful.
    I want to execute the same custom php code for reservations where the customer uses a coupon and the total price is $0.00.

    But I can't find where I can add this custom code... Where is the code that creates a reservation?

    thanks

    • Hello.
      you can use this HOOK to catch the data after submitting of the booking:
      /** * Hook action after creation new booking * @param int $booking_id * @param int $resource_id * @param string $str_dates__dd_mm_yyyy - "30.02.2014, 31.02.2014, 01.03.2014" * @param array $times_array - array($start_time, $end_time ) * @param string $booking_form */ function your_cust_func_add_new_booking( $booking_id, $resource_id, $str_dates__dd_mm_yyyy, $times_array , $booking_form ) { } add_action( 'wpdev_new_booking', 'your_cust_func_add_new_booking', 100, 5 );

      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.

      • Thanks. How do I redirect to a custom url after a successful booking where cost=0? Right now it just refreshes the booking page.

        • Hello.

          You can check content of this function
          function show_paypal_form_in_ajax_request($booking_id, $booking_type, $booking_days_count, $times_array , $booking_form ){
          inside of wp-content/plugins/booking/inc/_bs/biz_s.php file.
          and then make there your customization.

          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.

  2. I need to know how to insert Specific Time Bookings in my calendar for the customer to pick. For example, hourly session on a specific day.

    • Hello.

      Please watch more about this in this video: https://wpbookingcalendar.com/help/booking-calendar-video-timeslots/

      In your Booking Calendar Business Small version you can configure the timeslots selections on the Booking > Settings > Form page.
      Please use the "shortcode generator" on the right side of that page for the correct generation of the shortcode.
      For example:
      <p>Select Times:<br />[select rangetime "06:00 - 06:30" "06:30 - 07:00" "07:00 - 07:30" "07:30 - 08:00" "08:00 - 08:30" "08:30 - 09:00" "09:00 - 09:30" "09:30 - 10:00" "10:00 - 10:30" "10:30 - 11:00" "11:00 - 11:30" "11:30 - 12:00" "12:00 - 12:30" "12:30 - 13:00" "13:00 - 13:30" "13:30 - 14:00" "14:00 - 14:30" "14:30 - 15:00" "15:00 - 15:30" "15:30 - 16:00" "16:00 - 16:30" "16:30 - 17:00" "17:00 - 17:30" "17:30 - 18:00" "18:00 - 18:30" "18:30 - 19:00" "19:00 - 19:30" "19:30 - 20:00" "20:00 - 20:30" "20:30 - 21:00" "21:00 - 21:30"]</p>

      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.

  3. Hi,
    I am considering upgrading to a pro product. I have two venues that can be booked together in a wedding package and seperately. Is there a way to handle this in your premium product.
    Best,
    August

  4. Hi

    Have set the plugin up and works fine on desktop pc, however when viewing on mobile the calendar does not load without refreshing the page multiple times.

    I have cleared all website data from my phone, flushed the cache on our website, viewed from alternative phones.

    Any ideas on how to fix this?

  5. Hi there,
    Excellent plugin. Was all working fine then the booking form stopped sending from the page, but happens sporadically. We can't detect a pattern to it (?): Here is an example of the page where it sometimes fails: https://brynteghouse.com/book-rose-cottage/

    - We have created a new widget area and added the booking calendar widget to it
    - We have selected availability calendar and booking form in the widget
    - On the page we select dates, then complete the form and click 'Send'
    - The form sometimes just hangs with the circle whirring but does not complete and load the thank you page (or post the information to the booking admin area)

    Booking Calendar version: Version 9.Personal.SingleSite.8.1.2
    Theme: Avada version 5.6.2
    Wordpress version: 4.9.8
    PHP version: 7.2.8
    PHP memory limit: 255MB
    PHP time limit: 180
    PHP Max Input Vars: 2048

    We considered that Bulletproof Security plugin was causing a problem so disabled that. However, that made no difference. Even clearing the site cache did not get it working again. However after a time then it started working again. But then at some point again a day or two later, it again fails.

    Any ideas on what might cause this intermittent problem greatly appreciated!
    Many thanks

    • Hello.
      1) Please update the Booking Calendar to the latest update 8.3.2
      You can request the new update of Booking Calendar on this page: https://wpbookingcalendar.com/request-update/

      2) 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.

  6. Hi
    Just downloaded the free version.
    Welcome to Booking Calendar appears three time in WordPress dashboard and there seems no way to dismiss these pages.

    • Hello.
      It’s must to appear only once.
      Please check about close (X - Dismiss ) icon at the top right side of the page.

      Otherwise, please recheck about any conflict issues.

      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.
      We just need to find the reason of this issue.

      Thank you.

  7. multiple forms for users,

    Hi I have installed the mltiple users calendar. Is there a way for a user that isn't admin to manage multiple forms.
    It seems that every user( a part from admin) can just change one form

    Booking Calendar version: 9.MultiUser.SingleSite.8.2
    Wordpress version: 4.9.8
    PHP version: 7.0.31

    thank you

    • Hello.
      1) Please update your version to the latest update 8.3.2
      You can request the new update of Booking Calendar on this page: https://wpbookingcalendar.com/request-update/

      2) Please log in as super booking admin user, then open the Booking > Settings General page and in advanced section set this option "Activate custom booking forms for regular users" as checked.
      Kind Regards.

  8. HI support

    Using the small business version on http://bevartriton.dk/reserver

    Question 1: How can I disable payment completely - not needed? Disturbs the pop-over visitor info on timeline currently showing "payment unknown" and currency/price (DKK 0) please see http://bevartriton.dk/event
    In other words no payment info needed at all in timeline view.

    Question 2: Timeline not very responsive friendly on smarphone. Is there no way to configure eg font size, colors etc.? Eg same
    color skins available for timeline as available for calendar?

    Thanks for a great product!
    Paul

    • Hello.
      1) You need to deactivate all payment systems at the Booking > Settings > Payment page.
      Additionally you will be need to make customization in this file: wp-content/plugins/{Booking Calendar Folder}/core/admin/wpbc-class-timeline.php
      inside of this function:
      public function wpbc_get_booking_info_4_tooltip( $bk_id, $bookings, $booking_types, $text_in_day_cell='', $header_title='', $content_text='' ){

      find this code:
      // Payment Status if ( class_exists( 'wpdev_bk_biz_s' ) ) { if ( function_exists( 'wpdev_bk_get_payment_status_simple' ) ) { $pay_status = wpdev_bk_get_payment_status_simple( $bookings[$bk_id]->pay_status ); $content_text .= '<div class=\'text-left field-labels booking-labels\'>'; if ( wpbc_is_payment_status_ok( trim( $bookings[$bk_id]->pay_status ) ) ) $content_text .= '<span class=\'label label-default label-payment-status payment-label-success\'><span class=\'label-payment-status-prefix\'>' . esc_js( __( 'Payment', 'booking' ) ). '</span> ' . esc_js( $pay_status ) . '</span>'; //FixIn: 7.1.1.3 else $content_text .= '<span class=\'label label-default label-payment-status payment-label-unknown\'><span class=\'label-payment-status-prefix\'>' . esc_js( __( 'Payment', 'booking' ) ) . '</span> ' . esc_js( $pay_status ) . '</span>'; //FixIn: 7.1.1.3 $content_text .= '</div>'; } } $content_text .= '</div>'; if ( ( class_exists( 'wpdev_bk_biz_s' ) ) ) { //&& ( ! $this->is_frontend ) ){ // Cost $booking_cost = wpbc_get_cost_with_currency_for_user( $bookings[$bk_id]->cost, $bookings[$bk_id]->booking_type ); $content_text .= '<div class=\'wpbc-popover-cost-bar\' >'; //$content_text .= '<div class=\'text-left field-labels booking-labels\'>'; $content_text .= '<div class=\'label0 label-default0 wpbc-popover-cost\'>' . $booking_cost . '</div>'; //$content_text .= '</div>'; $content_text .= '</div>'; }
      and comment it
      /* // Payment Status if ( class_exists( 'wpdev_bk_biz_s' ) ) { if ( function_exists( 'wpdev_bk_get_payment_status_simple' ) ) { $pay_status = wpdev_bk_get_payment_status_simple( $bookings[$bk_id]->pay_status ); $content_text .= '<div class=\'text-left field-labels booking-labels\'>'; if ( wpbc_is_payment_status_ok( trim( $bookings[$bk_id]->pay_status ) ) ) $content_text .= '<span class=\'label label-default label-payment-status payment-label-success\'><span class=\'label-payment-status-prefix\'>' . esc_js( __( 'Payment', 'booking' ) ). '</span> ' . esc_js( $pay_status ) . '</span>'; //FixIn: 7.1.1.3 else $content_text .= '<span class=\'label label-default label-payment-status payment-label-unknown\'><span class=\'label-payment-status-prefix\'>' . esc_js( __( 'Payment', 'booking' ) ) . '</span> ' . esc_js( $pay_status ) . '</span>'; //FixIn: 7.1.1.3 $content_text .= '</div>'; } } $content_text .= '</div>'; if ( ( class_exists( 'wpdev_bk_biz_s' ) ) ) { //&& ( ! $this->is_frontend ) ){ // Cost $booking_cost = wpbc_get_cost_with_currency_for_user( $bookings[$bk_id]->cost, $bookings[$bk_id]->booking_type ); $content_text .= '<div class=\'wpbc-popover-cost-bar\' >'; //$content_text .= '<div class=\'text-left field-labels booking-labels\'>'; $content_text .= '<div class=\'label0 label-default0 wpbc-popover-cost\'>' . $booking_cost . '</div>'; //$content_text .= '</div>'; $content_text .= '</div>'; } */

      2) You can try to customize colors for the timeline inside of this CSS file: /{Booking Calendar Folder}/css/timeline.css

      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.

      • WOW once again - amazing support.!!!!

        Worked like a charm to customize wp-content/plugins/{Booking Calendar Folder}/core/admin/wpbc-class-timeline.php

        Truly grateful for your kind and fast response.

        Best
        Paul

  9. Hello,

    I have a problem with the plugin. Calendar is not showing. I don't find the problem.
    Please could you see : website
    Under pictures, there is the form but no calendar.

    Thanks in advance for your help.

    • Hello.
      You are having this JavaScript error, because of that the calendar is not loading:
      TypeError: jQuery(...).datepick is not a function[Learn More] client.js:366:9

      Its because you are loading jQuery library second time at the footer of your page:
      <script src="http://www.commmanager.ch/preprod/nasta/wp-content/themes/nastamarine/js/jquery-3.2.1.min.js">

      Please check troubleshooting instruction about this issue here https://wpbookingcalendar.com/faq/loading-jquery-twice/

      Kind Regards.

    • Hello.
      1) For opening this info in modal window, you will be need to use some JavaScript or CSS relative to your theme components.
      Please read more about how to open links in popup windows here: https://wpbookingcalendar.com/faq/popup-booking-form/
      Or check more here https://stackoverflow.com/questions/24235097/launch-modal-window-on-link-click-bootstrap-3

      2) Its does not possible to book both booking resources with one calendar (in Booking Calendar Business Large version its possible, but its relative to the capacity functionality, and its seems not the same what you need. Check more here: ).

      But you can use aggregate parameter in the Booking Calendar shortcode to show dates in specific calendar as unavailable if such dates booked in other booking resource.

      Please read more about this here: https://wpbookingcalendar.com/help/booking-calendar-shortcodes/#booking

      For example, if you have booking resources like this:
      Resource A ( ID = 11 ) Resource B ( ID = 21 )

      So then you can insert into one page the Booking Calendar shortcode like this:

      Resource A

      [booking type=11 nummonths=2 form_type='standard' agregate='21']

      and in other page you can insert the Booking Calendar shortcode like this:

      Resource B

      [booking type=21 nummonths=2 form_type='standard' agregate='11']

      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.