Support Archive (5)

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

  1. Hi,

    Sorry, just realised another issue.

    When not connected to the back office, the shortcode [selected_short_timedates_hint] is not getting translated.
    This shortcode is showing date like 01 January 2020 - 03 January 2020.
    But the January is not getting translated in the different language we have.

    Strangely, the month in the calendar just above are translated.

    In WPML (our translation plugin), all month are translated in both languages.

    We are using this shortcode in a reservation form for each of our accommodation. Each form has its own translation with [lang=fr_FR] and [lang=de_DE].

    Can you help me with that ?
    Thank you very much,
    Morgane

    • Hello.
      Did you make any fix in the file ../{Booking Calendar Folder}/core/wpbc-dates.php
      from this code:
      $mydates_result .= date_i18n( $date_format_now, mktime( $tms[0], $tms[1], $tms[2], $dta[1], $dta[2], $dta[0] ) ) . ', ';
      to this code:
      $mydates_result .= date( $date_format_now, strtotime( $dt ) ) . ', ';

      If you was made this fix, then please try to replace last code to this:
      $mydates_result .= wp_date( $date_format_now, strtotime( $dt ) ) . ', ';

      Please reply if its help.
      Kind Regards.

      • Hi,

        I did not touch anything in the files of your plugin.
        Should I try the code you give then ?

        What will happen if I need to update your plugin in the future?

        • Hello.
          You can try to make that fix.
          In future updates of Booking Calendar this fix will be available.
          Kind Regards.

          • Hi,

            I replaced with your code at wpbc-dates.php but unfortunately it is still not working.
            It looks like nothing changed at all 🙁

            • Hello.

              Weird... just retested it once again, and if you are having this code in the ../{Booking Calendar Folder}/core/wpbc-dates.php:
              $mydates_result .= wp_date( $date_format_now, strtotime( $dt ) ) . ', ';
              Its working fine with showing dates in correct language relative t the dates hint shortcode: [selected_short_timedates_hint]

              Can you send the link to your page with booking form, where you are having the issue.

              • Hi

                This is exactly the code I put but it is still not working. I emptied cache and tried in several different browsers/devices but nothing has changed.

                You can try on any of those link (english version of our website). All month of selected dates appear in french.

                http://test.reservation-gite.alsace/en/gites/apartment-the-storks/
                http://test.reservation-gite.alsace/en/gites/apartment-the-merchants/
                http://test.reservation-gite.alsace/en/gites/apartment-gewurztraminer/

                • Hello.
                  Just retested and its trasnfer correct locale en_US after selecting the dates,
                  so its weird.. why its does not reload the language in your website.

                  I was tested such functionality at the local system (I was switched language at the WordPress > Settings General page) and I was not having any issue relative the locale. I will check further into it.
                  As some solutions, here possible to use format of dates at the Booking > Settings General page in Admin panel section, that does not include monthese like January, but instead of that use digits, like 24/01/2020

                  • Hi,

                    As I said, if I am connected to backoffice, month are showing translated, so this may be why you see them translated as well in local ?
                    But it definetely doesn't work if I am not connected, as I tried on several different device and browser.

                    I am afraid my client absolutely want the month to be showing so I can't use other format like DD/MM/YYYY 🙁

                    Please keep me aware if you find any fix for that. That would be great.

                    • Hello.
                      What exactly translation plugin do you use for this.
                      Or if it’s possible please send temporary login to test this issue. Please send all this to support @ wpbookingcalendar.com
                      Kind Regards.

    • Hello.
      Please note, Booking Calendar is use standard WordPress wp_mail function for sending emails. This function can be overridden by other plugins.

      Please check this troubleshooting instruction https://wpbookingcalendar.com/faq/no-emails/

      The most probably you need to check the point #5 from this instruction and install WP Mail SMTP plugin which is 'sending emails via php' option and it can resolve that issue.
      Kind Regards.

  2. Hi!

    I have a calendar to select 30 consecutive days with one click (one month aprox). But I would like to start counting from 1st of selected month. So with one click you book one month, not 30 days (then i have to not worry about number of days of the month).
    I think that is changin configuration of advanced javascript on page.

    Let me know please! thank you a lot, a really appreciate the work you all are doing, this plugin is very useful.
    Thank you!

    • Hello.
      Unfortunately it’s does not possible to add conditions to select 30 or 31 or 28 days depend from the month length and start day of selection. It’s possible to make such selection only for fixed number of days. Sorry.
      Kind Regards.

  3. Hi,

    I wonder if it is possible to manage resource dependent payment? For instance, being able to pay through Stripe in one resource, and additional/other payment methods (bank transfer) on a different booking resource?

    Best regards

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

  4. Installed demo. Works fine in admin, but live front end site gets this error. I need to see if this will work so I can purchase the plugin. I'm pulling the calendar in as a widget.

    Error!
    No 'WPBS_Widget_Calendar' widget registered in this installation.

    • Hello.
      Do you sure that this error "WPBS_Widget_Calendar" relative to the Booking Calendar plugin. Its seems like some other plugin error.
      Please send the link to your page with booking form, where you are having the issue.
      Thank you.

  5. Hi

    How can I change the colours in the calendar? So e.g. if everything is sold out/totally booked, the color of the day is red - and if there are available items the day is green... I don't remember how to change? Now it is orange and grey.

    Thanks.

    • Hello.
      Please be sure that you have activated the Booking Calendar at the WordPress > Plugins menu.
      Otherwise Probably, its because of conflict with some other plugin or actual theme.
      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.
      Kind Regards.

  6. Hi everyone!

    I need to be able to receive multiple booking on my calendar; I check the option "Allow unlimited reservations for the same day" and it works but now users can't view the other approved reservations on the calendars.

    It's important that users can make more reservations in the same day and also that they can view the approved booking.

    Thank you for your time and for your help!

    Laura

    • Hello.

      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.

      Also this option “Use pending days as available” must be CHECKED. It’s located at the Booking > Settings General page in Advanced section.

      So only pending bookings will be showing as available.

      Kind Regards.

  7. We are trying to set special prices for certain weeks in the year and have set up the valuation days and the filters, but it doesn't appear to be changing the price on the calendar (when that week is chosen by a customer). Is there something we're doing wrong? The box on the left is ticked.

    Also, how do we add an additional cost if an extra person books into a room? As in if two people book instead of one. Thank you.