Support Archive (3)

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

  1. I am running the latest version of divi on WordPress and get a 500 internal server error when trying to submit a booking. Any suggestions?

    • Hello.
      1) Can you open the Booking > Settings > Emails page and deactivate all email templates and then try to make new booking ?
      If you will be able to make new booking, so then its means following:
      ----
      Some severs can block sending emails and generate "500 Internal Error", when you send it to visitor from domain different from your website. Just need to check if this condition set in your server configuration.

      - Please try to set in the field "From" instead of visitor email shortcode, your email (its at the Booking > Settings > Emails page). The same email that you set in the field "To".

      - Sometimes mail servers block emails, if the address "From" different from the domain of website, from where this email was sending. Its not really depend from the Booking Calendar. So please open the Booking > Settings > Emails page and recheck that field "From", its have to the same as your website domain. For example: info@your-server.com and not like this your_email@gmail.com

      Otherwise, please contact support of your hosting company about recheck conditions, when your server block sending of emails.
      ---

      2) This error also can be because in your server configuration somewhere (I can suggest in the WordPress > Settings > General page for the options "WordPress Address (URL)" or "Site Address (URL)") configured different Domain that you try to submit the booking

      For example in Ajax URL its can be set as "https://www.yourserver.com/wp-admin/admin-ajax.php"
      and you try to submit the booking from https://www.yourserver.com/education/bookings/

      Because booking is sending from HTTP to HTTPS, we are having such type of error.

      Please recheck your server configuration at the Settings General page as in above description, or in some other place, where you are set using HTTPS instead of HTTP protocol.

      You need to use the same protocol in both ways. If you will have difficulty with searching where exactly you are having this issue, please contact your server administrator who make that configuration.

      The same issue can be if you configured sever address with "www." But trying to submit booking from URL without "www." prefix in URL. Or backward.

      3) Also please try to deactivate one by one all your active plugins at the WordPress > Plugins menu. Then retest it again.
      If its not help, please deactivate your active theme and active the default WordPress theme. And then retest it again. May be there exist some conflict with some active plugin or actual theme and just need to find the reason of that issue.

      4) If the previous solutions will not help, please recheck your error.log file from your server configuration (please contact your server administrator or support of the hosting company, if you will have troubles with searching of this file) to be sure in a reason of that issue.

      Kind Regards.

  2. Helo there..

    Is it possible to have the [check_in_date_hint] in another way, like Mon, 17 Oct 2016, instead of 17-10-2016?

    Thank you very much

    • Hello.
      You can configure the date format at the Booking > Settings General page.
      But please note, its will apply to all days.
      Kind Regards.

      • Thanks a lot!!

        Also a last question please.
        I would like to use the name of the apartment when someone selects dates from the calendar, to the "form fileds".
        So i would like my text to be:
        YOUR BOOKING:
        Apartment Number 1
        Arriving: Monday, 17 October 2016 12:00 pm
        Leaving: Tuesday, 18 October 2016 12:00 pm
        Nights: 1
        Total cost: €80

        But i use [resource_title] and then i have the result
        YOUR BOOKING:
        [resource_title]
        Arriving: Monday, 17 October 2016 12:00 pm
        Leaving: Tuesday, 18 October 2016 12:00 pm
        Nights: 1
        Total cost: €80

        Is [the resource_title] wrong to use it?

        • Hello.
          In the Booking Calendar Business Medium or higher versions
          Please open the Booking > Settings > Fields page and in both "Booking Form" and in "Content of booking fields data) forms, please use these shortcode:
          [resource_title_hint]
          Then make new booking and you have to see name of booking resource.
          Kind Regards.

            • I am sorry for all the questions, i just cant find the solution myself...

              I use on the content of booking fields, this code:

              [resource_title_hint]
              Dates: [check_in_date_hint] [start_time_hint] pm - [check_out_date_hint] [end_time_hint] pm
              Nights: [nights_number_hint]
              First Name: [name]
              Last Name: [secondname]
              Email: [email]
              Phone: [phone]
              Country: [country]
              Adults: [visitors]
              Children: [children]
              Details: [details]

              Total price: € [cost_hint]
              (Price is final and includes all taxes. Please pay in cash € [cost_hint] on check-out date)

              The result is this:

              Dates:
              Monday, 24 October 2016 12:00 - Tuesday, 25 October 2016 12:00
              Booking Details:
              Apartment No 4
              Dates: Monday, 24 October 2016 12:00 pm - Tuesday, 25 October 2016 12:00 pm
              Nights: 1
              First Name: xxx
              Last Name: xxx
              Email: xxx
              Phone: 123
              Country:
              Adults: 1
              Children: 0
              Details:

              Total price: € 80
              (Price is final and includes all taxes. Please pay in cash € 80 on check-out date)

              As you can see on the beginning there are the words:
              Dates:
              Monday, 24 October 2016 12:00 - Tuesday, 25 October 2016 12:00
              Booking Details:
              which words i havent used. Is it possible to remove or change them?

              Thanks so much for the wonderful support...

              • Hello.
                You need to use that shortcode ALSO in the Top form ("booking form") at the Booking > Settings > Fields page (not only in content of booking fields data form but in both).
                Kind regards.

                • I am not sure i can understand what you mean.

                  My problem is that all this text appears without me want it.
                  Its this text:
                  "Dates:
                  Monday, 24 October 2016 12:00 - Tuesday, 25 October 2016 12:00
                  Booking Details:"

                  • Hello.
                    this text "Dates:... Booking details" is predefined in source code of plugin. Its possible to change it only by making customization in source files.
                    You can do this inside of this file ../{Booking Calendar Folder}/inc/payments/index.php
                    in this code:
                    $output = '<div class="booking_summary" >'; $output .= '<div class="booking_summary_dates" style="margin:10px 0px;"><label class="booking_summary_dates_title" style="font-weight: 600;">' . __('Dates:' ,'booking') .'</label> ' . $my_dates_4_send . '</div>'; // $output .= '<div class="booking_summary_dates" style="margin:10px 0px;font-weight: 600;">' . __('Cost:' ,'booking') . ' ' . $cost_currency . ' ' . $my_cost . ' ' . $coupon_info_4_main_calendar . '</div>'; $output .= '<div class="booking_summary_data_title" style="font-weight: 600;" >' . __('Booking Details:' ,'booking') . '</div>'; $output .= '<div class="booking_summary_data" >' . $booking_content_for_showing . '</div>'; $output .= '</div>';
                    Kind Regards.

  3. My booking (Business Small Single Site 6.2.2) doesn't automatically update my bookings. I have to go in to the site where I have placed this code [booking type=1 nummonths=3 startmonth='2016-10'] remove it and copy in again, and update. Then it updates with the new bookings.

    I dont understand where I went wrong with this and why it doesn't automatically update my bookings. Anyone who had the same issue or can help?

    Thanks in advance!! //Sofie

    • Hello.
      If you do not see the booked dates in calendar at the front-end, please open the General Booking Settings page and in the "Advanced section", please be sure that you have not activated this option: "Allow unlimited bookings per same day(s):". This option must be unchecked. If its checked, please uncheck it and update the settings.

      If you still will have this issue, please recheck for the any cache plugins, like "WP Super Cache" or "W3 Total Cache". If you are using someone, please deactivate it or add the exception to the page with booking form for do not cache this page(s).

      Kind Regards.

      • Thank you so much for your fast reply - it was the WP Super Cache that was activated.

        Kind Regards,
        Sofie

  4. When i want to delete a booking from bookings list i get a javascript message at the top of the page, do you want to delete ? Confirm yes / no.

    I need the same javascript for delete button that appear on timeline when you hold mouse on a booking and appear the hover with details ...

    Thanks!

    • Hello.
      Please make this fix.
      Please open this file ../{Booking Calendar Folder}/lib/wpdev-bk-timeline.php

      then find this code:

      $title .= '<a class=\'button button-secondary trash_bk_link'.(($is_trash)?' hidden_items ':'').'\' style=\'margin-right:5px;\' href=\'javascript:;\' onclick=\'javascript: trash__restore_booking(1,'. $bk_id.', '. $user_bk_id .', "'. getBookingLocale() .'" , 1 );\' rel="nofollow"><i class=\'icon-trash\'></i></a>'; $title .= '<a class=\'button button-secondary restore_bk_link'.((!$is_trash)?' hidden_items ':'').'\' style=\'margin-right:5px;\' href=\'javascript:;\' onclick=\'javascript: trash__restore_booking(0,'. $bk_id.', '. $user_bk_id .', "'. getBookingLocale() .'" , 1 );\' rel="nofollow"><i class=\'icon-repeat\'></i></a>'; $title .= '<a class=\'button button-secondary delete_bk_link'.((!$is_trash)?' hidden_items ':'').'\' style=\'margin-right:5px;\' href=\'javascript:;\' onclick=\'javascript: delete_booking('. $bk_id.', '. $user_bk_id .', "'. getBookingLocale() .'" , 1 );\' rel="nofollow"><i class=\'icon-remove\'></i></a>';

      and replace it to this code:

      $title .= '<a class=\'button button-secondary trash_bk_link'.(($is_trash)?' hidden_items ':'').'\' style=\'margin-right:5px;\' href=\'javascript:;\' onclick=\'javascript:if ( bk_are_you_sure(\''. esc_js(__('Do you really want to do this ?' ,'booking')) .'\') ) trash__restore_booking(1,'. $bk_id.', '. $user_bk_id .', "'. getBookingLocale() .'" , 1 );\' rel="nofollow"><i class=\'icon-trash\'></i></a>'; $title .= '<a class=\'button button-secondary restore_bk_link'.((!$is_trash)?' hidden_items ':'').'\' style=\'margin-right:5px;\' href=\'javascript:;\' onclick=\'javascript:if ( bk_are_you_sure(\''. esc_js(__('Do you really want to do this ?' ,'booking')) .'\') ) trash__restore_booking(0,'. $bk_id.', '. $user_bk_id .', "'. getBookingLocale() .'" , 1 );\' rel="nofollow"><i class=\'icon-repeat\'></i></a>'; $title .= '<a class=\'button button-secondary delete_bk_link'.((!$is_trash)?' hidden_items ':'').'\' style=\'margin-right:5px;\' href=\'javascript:;\' onclick=\'javascript:if ( bk_are_you_sure(\''. esc_js(__('Do you really want to do this ?' ,'booking')) .'\') ) delete_booking('. $bk_id.', '. $user_bk_id .', "'. getBookingLocale() .'" , 1 );\' rel="nofollow"><i class=\'icon-remove\'></i></a>';
      Kind Regards.

        • Hello.
          Sorry, its seems that this forum was corrupted view of this code.
          I was edited it again and fixed. Please check my previous comment again.

          You just need to add 3 times this code:
          if ( bk_are_you_sure(\''. esc_js(__('Do you really want to do this ?' ,'booking')) .'\') )
          before
          trash__restore_booking(1,
          trash__restore_booking(0,
          and
          delete_booking('
          Kind Regards.

            • Hello.
              Please recheck for any JavaScript errors in your admin panel.

              Please try to deactivate one by one all your active plugins at the WordPress > Plugins menu. Then retest  it again.  If its not help, please deactivate your active theme and active the default WordPress theme. And then  retest it again. May  be there exist  some conflict with some active plugin or actual theme and just need to find the reason of that issue.
              Kind regards.

              • SyntaxError: Unexpected token }
                /wp-admin/admin.php?page=booking.personal.6.2.2/wpdev-booking.phpwpdev-booking&tab=filter&view_days_num=90&wh_booking_type=1,2,3,4,5,6,7,8,9,10,11,12&view_mode=vm_calendar:2

                This error i get with javascript error notifier ...

                • Hello.
                  It's weird...
                  Try to reset Filter toolba, if you was saved previously any default filter toolbar at Booking Listing page, then please delete it.
                  Also did you try with deactivation other plugins?

                  And can you send to me configurations of booking form and "Contenet of booking fields data" from Booking > Settings > Fields page ? Please send this data to support @ wpbookingcalendar.com
                  Kind regards.

  5. Hello

    I have run into a problem, where it is not possible to select dates from the frontend (works fine in the backend).

    https://christianssæde-centret.dk/booking/

    I am using version 6.2.2. and WP 6.4.1. with a completely vanilla Twenty Sixteen theme on PHP Version 5.2.42 using the following plugins:

    Admin Menu Editor Pro 2.4.1
    Akismet 3.2
    Contact Form 7 4.5
    Easy Table 1.6
    UpdraftPlus 1.12.20

    I have tried almost anything I can think of: switching to one of the default skins (I am using a slightly modified one), disable all plugins, empty cache, tried on multiple browsers, made sure I hadn't used any of the options to make certain dates unavailable, toggled between selecting one day and more days - but so far to no avail.

    It has happened sometime over the last week, but I have no idea what the issues is.

    • Hello.
      You have added "Availability Calendar" widget to the bottom sidebar.

      At one visible page possible to have only one calendar for specific booking resource (in Booking Calendar Free version exist only 1 default booking resource).

      So to fix this issue, please remove "Availability Calendar" widget to the bottom sidebar.
      Kind Regards.

      • Ah. Thank you very much. It does fix the issue. I'll try to convince my client to upgrade to premium.

  6. there seems to be a calculationg problem, if i book times with differen prices, the price is not calculated properly.

    https://finca-lalenita.ch/reservation/
    try to book the following:
    29. juni 2017 - 2. juli 2017 > 3 nights à 220 > 660 > correct
    2. juli 2017 - 3. juli 2017 > 1 night à 220 > 220 > correct
    2. juli 2017 - 4. juli 2017 > 2 nights, 1 à 220, 1 à 260 > 480 > correct
    1. juli 2017 - 3. juli 2017 > 3 nights à 220 > 480 > not correct, is using 260 for the last night instead of 220

    is this a bug?

    • Hello.
      I start testing your configuration, but its seems that you changed cost right now. SO its messed right now and not relative to your description in comments.

      I can suggest that you need to set cost per days at the Booking > Settings General page in cost section.
      And in the Booking > Resources > Cost and rates page in "Valuation days" section set following configuration:

      "For LAST = 0 $ per 1 day"

      Where LAST its reserved term for definition of last selected day (check-out). So in this case, your configuration will be configured in a way like cost per night.
      Kind Regards.

  7. Hi Guys,
    I try to do something similar as question about half booking days https://wpbookingcalendar.com/support/comment-page-13/#comment-11514 but not exactly the same.

    Instead of having a day cell fully colored I want it half covered with color when all day is not booked with the time clock appearing as well.

    If I use this recommendation https://wpbookingcalendar.com/faq/half-booking-days/ it only get half when it's from for example fri-sat, also no clock is appearing.

    Any solutions?

    I use time slots as below (same for "endtime"). I can use other code if neccesary since the booking-times are pre-written.

    [select starttime default:08:00 "08:00@@08:00" "09:00@@09:00" "10:00@@10:00" "11:00@@11:00" "12:00@@12:00" "13:00@@13:00" "14:00@@14:00" "15:00@@15:00" "16:00@@16:00" "17:00@@17:00" "18:00@@18:00" "19:00@@19:00" "20:00@@20:00" "21:00@@21:00" "22:00@@22:00"]

    • Hello.
      If you make the bookings for specific times (time-slot or start time and end time), so in this case, you need to deactivate the "using check in/out times" (change over days), because its will override your times settings.

      If you need to make some customization of the partially booked days (for specific time-slot, so then you can do this in your calendar skin). Please read more about this here: https://wpbookingcalendar.com/faq/change-skin-and-colors/

      And here is CSS class that relative to such days:
      .block_hints .block_time, .datepick-inline .timespartly { ... }
      Kind Regards.

      • Hello.
        Sorry, I not really understood do you need to make bookings for different time-slots, while you selected only 1 day.
        Or you just need to use day as change-over day - its means that at same day can be only 2 different bookings, and visitor or administrator during making this booking need to select several days (not one).

        If last, so then you need to activate the check in/out times at the Booking > Settings General page. check more here: https://wpbookingcalendar.com/overview/#change-over-days
        Kind Regards.

        • Thanks for your reply. Sometimes it can be two booking in one day for example the morning for one group and afternoon for another one. So yes two booking in one day.

          Change-over day will be used in weekend if possible since the rent over night .

          These are the time options: 1/2 day either between 8.00-12.00 or 13.00-17.00 (månday-friday) or fully days 8.00-17.00 monday to friday.

          For weekend rental times are Friday 17.00-12.00 (saturday) and Saturday 12.00-09.00 (Sunday) and Sunday 14.00-07.00 (Monday)

          Im my image example here the 29th shows that it is booked afternoon https://jimmyhoog.com/img/booking-2.png

          Is it possible to do this with start-time, end-time or do I need other value. There where some info here:

          https://wpbookingcalendar.com/help/booking-form-fields/
          If you want to use the different option titles from the option values,
          you can use the select box options in this format: Option-Title@@Option-Value
          [select my_day_parts "Morning@@08:00 - 12:00" "Evening@@13:00 - 17:00" "Full day@@08:00 - 17:00"]

          • Hello.
            Because you need to make bookings for the different time during a day (not the same as during using check-in/out times (change-over days)), in this case you need to DEACTIVATE using check in/out times option at the Booking > Settings > Payment page.
            And use start time and end time or just rangetime shortcode (even with labels) as in your comment.

            But in this case by default Booking Calendar will show "clock icon) for such days.
            To override looking of such days, you need to add to the bottom of your calednar skin your custom CSS code, that will overrride background of such days.
            Basically you need to customize this CSS class:
            .block_hints .block_time, .datepick-inline .timespartly { background: #111; }
            Of course you need to have some other CSS there.
            By default its will not be line separated day, because its possible to customize only with change-over days. but you can use some other background color for showing that this day is partially booked.
            Kind Regards.

            • Is it possible to set different id for each schedule rang for when using rangetime. I now only have one id for all times..

              [select rangetime id:1 "08:00 AM - 12:00 PM@@08:00 - 12:00" "@@" "13:00 AM - 17:00 PM@@13:00 - 17:00" "@@" "08:00 AM - 17:00 PM@@08:00 - 17:00" "@@" "17:00 AM - 12:00 PM@@17:00 - 12:00" "@@"]

              Is it possible to do = rangetime id:1 "08:00 AM - 12:00 PM@@08:00 - 12:00"
              rangetime id:2 "13:00 AM - 17:00 PM@@13:00 - 17:00"
              rangetime id:3 and so on for other range-times...?

              • Hello.
                Unfortunately, its does not possible to set different ID for the different options in selectbox (or rangetime shortcode). Sorry.
                Kind Regards.

                • ok thanks,

                  I am trying to get the calender to show half day booked (red color) half day availible (green color) if only half the day is booked:
                  https://jimmyhoog.com/img/booking-part-of-the-day.jpg

                  To do this I need to add unique identifier for half day status. Is there any way to make difference between full day and half day?

                  Now, the info here: https://wpbookingcalendar.com/faq/half-booking-days/ is using "check in/out time:" option at the General Booking Settings page.

                  But since my booking times are not the same on all days of the week, I don't think check in times option works. For example:

                  Monday - Friday: 8.00-12.00 or 13.00-17.00 (half days) or 8.00-17.00 (fully day)

                  For weekend rental times are different. For example: Friday-Saturday 17.00-12.00 and Saturday-Sunday 12.00-09.00. So rental goes overnight.

                  So instead I am trying with "Start-time/End-time" or "rangetime" as below:

                  Question: Can I add different condition name to solve the problem? Or is there any other way I can do so I can write the css-code so i can show it like mentioned in the beginning: https://jimmyhoog.com/img/booking-part-of-the-day.jpg)

                  condition name="weekday-condition" type="weekday" value="*"]
                  Default: [select rangetime "08:00 - 17:00"]
                  [/condition]
                  [condition name="weekday-condition" type="weekday" value="1,2,3,4,5"]
                  Mån-Fre: [select rangetime "08:00 - 12:00" "13:00 - 17:00" "08:00 - 17:00"]
                  [/condition]
                  [condition name="weekday-condition" type="weekday" value="5,6"]
                  Fre-Lör: [select rangetime "17:00 - 12:00"]
                  [/condition]
                  [condition name="weekday-condition" type="weekday" value="6,0"]
                  Lör-Sön: [select rangetime "12:00 - 09:00"]
                  [/condition]
                  [condition name="weekday-condition" type="weekday" value="0,1"]
                  Sön-Mån: [select rangetime "14:00 - 07:00"]
                  [/condition]

                  • Hello.
                    The unique identifier (I can suggest its have to be CSS class and NOT the ID) you have to have inside of table day cell - in TD html tag of calendar.
                    Is it correct?

                    If, yes, so then you can make customization inside of the JavaScript function content in file ../{Booking Calendar Folder}/js/client.js

                    here:

                    function applyCSStoDays(date ){ ... }

                    Please note, you will be need to check inside of this function about booked time-slot on specific days:
                    Arrays:
                    date_approved[ bk_type ][ td_class ] and date2approve[ bk_type ][ td_class ]

                    And depend from value of this array (parsed booked time)
                    you will be need to add you CSS class to the variable:
                    class_day

                    So as you can see its rather complex logic to override such behavior of adding check in/put times that will be based on time-slots instead of using standard check in/out times.

                    And only after this, you can start working with CSS for definition days view.

                    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.
                    Also unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time, because of work with next update. Thank you for understanding.
                    Kind Regards.

  8. When I upgraded to the small business plugin do I need to keep the free version running or can I deactivate it?

  9. Hi I have someone who is using WPBookingCalender to Bully me. I'd like to block them from using the calendar, and also I'd like to limit the amount of days any user can book at one time. They used a fake email in the form I set up. How can I find out who they are and perhaps block by I.P?

    • Hello.
      For such purpose you need to install some security, plugin , which can make block of visitors by IP or some other data.
      For example plugin like "All In One WP Security" or some other.
      Booking Calendar does not have functionality (except captcha) for blocking some visitors of your website.
      Kind Regards.

  10. I am evaluating your calendar plugin for a customer and I can't see how to create events on the calendar. I also am uncertain how to manually import events from Google Calendar. I looked through your documentation and I can't find anything about this.

    • Hello.
      1) The Booking Calendar have a little different booking workflow.

      You can create the booking resources at the Booking > Resources page for your events. - Its separate unique calendars: https://wpbookingcalendar.com/overview/#booking-resources

      And then you can insert the booking form for specific booking resource (event) into the the post or page.

      2) Please note, in the Booking Calendar Business Medium and higher versions, you can define specific dates as unavailable based on season filters. Please check more here: https://wpbookingcalendar.com/overview/#availability

      3) Also, If you need to make the specific number of bookings per days, then you need to check the Booking Calendar Business Large version, where is possible to make several reservations per specific FULL date(s) by visitors (not time slots). Please read more about it here https://wpbookingcalendar.com/overview/#capacity
      At this version is possible to set capacity of the booking resource, so date(s) in calendar will be available until number of reservations is less then capacity of the booking resource.But in this version is possible to make reservation only for FULL date, not a time slots (time slots in this version only record data in the DB, but do not play any logic in reservation).
      Please read more info about the booking resources and how to configure them here https://wpbookingcalendar.com/help/booking-resource/
      Also we highly recommend to check this article about different configuration of capacity and availability https://wpbookingcalendar.com/faq/capacity-concept/

      You can check overview of different Booking Calendar versions at this page: https://wpbookingcalendar.com/overview/

      Also you can test live demos https://wpbookingcalendar.com/demo/ to be sure in functionality and do not have misunderstanding.

      ---

      Also 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/

      You can click on Import button at the Actions toolbar at Booking Listing page to start importing events from Google Calendar.

      Kind regards.