Support Archive (6)

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

  1. Hallo Support-Team
    I have a problem with the display of the send button in my form. The text is so light that you can't recognise it on the button. How can I change this? Do you have a suggestion for me?
    Thank you

    https://graal-mueritz.info/buchung/

    Here is an excerpt from the settings for the form fields:

    [calendar]
    (alle Angaben ohne Gewähr)

    Anreise:[check_in_date_hint]
    Abreise:[check_out_date_hint]
    Anzahl der Übernachtungen: [nights_number_hint]

    Mietkosten: [cost_hint]
    inkl. Endreinigung: [Endreinigung_hint]
    [checkbox* Endreinigung default:on ""]
    Now this checkbox do not visible
    inkl. Energiekostenzuschlag: [Energiekostenzuschlag_hint]
    [checkbox* Energiekostenzuschlag default:on ""]
    Now this checkbox do not visible
     

    Vorname*:[text* name]
    Nachname*:[text* secondname]

    and so on .....................................................

        *Pflichtfeld
    **nicht inklusive
    [submit class:btn "Senden"]

    • Hello.
      Please add this CSS to your Theme Editor settings.

      You can check how to add own CSS customization to CSS Theme Editor here: https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/

      Here's the code you need to add:
      .wpbc_container .wpbc_button_light.btn { color: #333 !important; }

      Please do not forget to clear the browser cache before testing these changes.

      Kind Regards.

  2. Setup: I have clean install (WPBC BL version) - I added only standard search shortcode on new page (Sample Page - [bookingsearch searchresultstitle='{searchresults} Result(s) Found' noresultstitle='Nothing Found']). I didn't do anything else with resources - just pure demo plugin made.
    Problem: Only one result on search results with link to general booking page / default resource. No matter what shortcode or block is added to post - it's always only one result. Can you share the setup with shortcode for single post so the results will be mapped?

  3. My client bought the BL version.
    I want to link the timeline (frontend) resources. I found the shortcode in the plugin code and changelog, but it doesn't work. Why?

    [bookingtimeline type='2,3,4' view_days_num=7 header_title='All Bookings' options='{resource_link 2=https://quest-booking.local/apartment1/},{resource_link 3=https://quest-booking.local/apartment2/},{resource_link 4=https://quest-booking.local/apartment3/}']

    I made the var_dump($this) in core/timeline/v2/wpbc-class-timeline_v2.php but it doesn't return the resource link.

    Can you point me how to make it happen?

    • Hello.
      Please make this fix. It's will be exist in next update of Booking Calendar, as well.
      Please open this file ../{Booking Calendar Folder}/core/timeline/v2/wpbc-class-timeline_v2.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:

      //FixIn:7.0.1.50 if ( isset( $attr['options'] ) ) { $bk_otions = $attr['options']; $custom_params = array();

      and replace it to this code:

      //FixIn:7.0.1.50 if ( isset( $attr['options'] ) ) { $bk_otions = $attr['options']; $bk_otions = html_entity_decode( $bk_otions ); //FixIn: 9.8.15.6 $custom_params = array();

      Kind Regards.

      • Thanks, but it's always wrong to edit plugin's files so I made JS (to paste in function.php or own plugin) that works and it's used only on pages with timeline shortcode - still bad, but better in case of updates:
        // Check if the current page has the [bookingtimeline] shortcode
        function check_booking_timeline_shortcode() {
        global $post;

        // Check if the post content contains the shortcode
        if (has_shortcode($post->post_content, 'bookingtimeline')) {
        // Enqueue script in the footer
        add_action('wp_footer', 'attach_script_to_booking_timeline');
        }
        }
        add_action('wp', 'check_booking_timeline_shortcode');

        // Function to attach script in the footer
        function attach_script_to_booking_timeline() {
        ?>

        document.addEventListener('DOMContentLoaded', function() {
        // Find all elements with classname "flex_tl_resource_title parent"
        var elements = document.querySelectorAll('.flex_tl_resource_title.parent');

        elements.forEach(function(element) {
        // Get the text from each element
        var titleText = element.textContent.trim();

        // Send an AJAX request to get the post link
        var data = {
        action: 'get_post_permalink_by_title',
        title: titleText
        };

        // AJAX call
        fetch('', {
        method: 'POST',
        headers: {
        'Content-Type': 'application/x-www-form-urlencoded',
        },
        body: new URLSearchParams(data),
        })
        .then(function(response) {
        return response.text();
        })
        .then(function(link) {
        // Create a link and set its href attribute to the retrieved permalink
        var permalink = document.createElement('a');
        permalink.href = link;
        permalink.textContent = titleText;

        // Replace the original text with the linked text
        element.innerHTML = '';
        element.appendChild(permalink);
        })
        .catch(function(error) {
        console.error('Error:', error);
        });
        });
        });

        ID);
        echo esc_url($permalink);
        } else {
        echo 'Post not found';
        }

        wp_die();
        }

        - Best regards

        • Hello.
          Ok, you are right.
          It's good to have changes in other place.
          Kind Regards.

  4. Hi,
    My client bought Business Small version.
    We have set time slots as Morning(10:00 - 12:59), Afternoon (13:00 -18:00), All Day (10:00 - 18:00) . The booking details in backend/ emails and confirmation shows Timeslots as 10:00 -12:59 instead of labels. Can we change the timeslots data as Labels instead of timings?
    Also can we change the color of legends?

    • Hello.
      Unfortunately it’s does not possible in actual versions of Booking Calendar. Sorry.

      We will add this feature to the TODO list for having it in future updates of plugin, but I can not say when exactly it’s will be implemented. Thank you for understanding.

  5. Hy
    When someone want's to autofill the formular with "forename" "surname" etc., in each field only the email-adress appears. Is there a method to correctly fill the form?

    Thanks and best regards,
    Manuel

    • Hello.
      It has to be resolved with next update 9.9 of Booking Calendar
      Update have to come at the first part of next month.
      Kind Regards.

  6. Hi,
    Can we open the form on the right when selecting any date on the calender on the left

    • Hello.
      Unfortunately, it is not possible in the Booking Calendar versions. Sorry.
      We will add improvements to this feature to the TODO list for having it in future updates of the plugin, but I can not say when this feature will be implemented. Sorry.
      Kind Regards.

  7. Hi,

    I have a problem with booking multiple days with a selected time-zone.

    If i request two different days with a morning booking - only the second day gets the time-zone correct. The first day shows as booked all day.

    Can you fix or advise?

    Regards
    Simon

    Thanks
    Simon

    • Hello.
      Please send the exact link to your page with booking form, where you are having the issue.
      and send screenshot of configuration of Booking > Settings > Booking Form page
      and screenshot of Booking > Settings General page, while you click on the "Show All Settings" option at the bottom of the left sidebar.

      Please send all this info to support @ wpbookingcalendar.com

  8. Hi there

    How can I style the tooltip element that shows when a day is partially booked? I can't inspect it with the console. What class / html is the tooltip in? I'd like to make the background of the tooltip white (currently it's a dark grey).

    Thanks

    • Hello.
      You can use this CSS:
      .tippy-box[data-theme~="wpbc-tippy-times"] { background: #fff !important; }

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

      • Hi

        The code you provided didn't work. After some testing I was able to identify the actual class I had to apply the new CSS to:

        .popover.popover_tippy {
        background: white !important;
        }

        Thanks to your reply I was able to identify the script you used and to further investiagte it.

  9. Hello and thanks in advance for your help.

    I use to charge 50% of the total booking cost.

    I tried to use [cost_hint/2] to edit the cost of reservation but it did not work.

    Is there any solution to edit the booking form to charge only 50% of the total cost ?

    Thanks in advance.

    Best regards

  10. Hello, I am having issues with the plugin in version 9.8.14. I want to update to version 9.9, but I can't find the download for that version anywhere.