Support

Technical help board

Check the FAQ first for existing answers before posting new Questions

If you have any technical question about the plugin or configuration of plugin or if you found some issue, please describe it here. Please, inform inside of message your version of WordPress, PHP, Booking Calendar. Also sometimes is needed list of used plugins inside of system and name of your WordPress theme.

8,698 thoughts on “Support

  1. Hi I have a datepic error as described in the FAQ which is fixed by commenting out the script src. However, while this does make the booking calendar work it stops the menus and slideshow from working. Is there a way around this?

    Many thanks.

    • Hello.
      You can make a little fix for load JavaScript files of Booking Calendar , only at pages with Booking forms (if you know URL of these pages).
      Please open this file ../booking/lib/wpbc-scripts.php
      then find this code:

      add_action( 'wp_enqueue_scripts',                     'wpbc_load_js_on_client_side', 1000000000);   // Enqueue Scripts to All Client pages

      and replace it to this code:

              if (  ( in_array( $_SERVER['REQUEST_URI'],  array(
                      '/page1/',
                      '/page2/',
                      '/page3/',
                      '/page4/',
                      '/page5/'
                      ) ) ) ) {
      
                   add_action( 'wp_enqueue_scripts',    'wpbc_load_js_on_client_side', 1000000000);   // Enqueue Scripts to All Client pages
              }
      

      where ‘/page1/’ … ‘/page5/’ its the full terms of your pages with the booking form. So its mean that your are inserted the booking forms into the pages like these:

      http://www.server.com/page1/
      http://www.server.com/page2/
      http://www.server.com/page3/
      http://www.server.com/page4/
      http://www.server.com/page5/

      2) The same thing you can do with line about loading CSS (in the same file):

      find this code:

      add_action( 'wp_enqueue_scripts',                      'wpbc_load_css_on_client_side' , 1000000000);    // Enqueue Scripts to All Client pages

      and replace it to this code:

              if (  ( in_array( $_SERVER['REQUEST_URI'],  array(
                      '/page1/',
                      '/page2/',
                      '/page3/',
                      '/page4/',
                      '/page5/'
                      ) ) ) ) {            
           add_action( 'wp_enqueue_scripts',                      'wpbc_load_css_on_client_side' , 1000000000);    // Enqueue Scripts to All Client pages         }
      

      PS Otherwise, if its will not work, please contact the developer of your theme, about resolving this issue in the source files of your theme.

      Kind regards.

        • Sadly not.. It just gives me the following:

          Calendar is loading…
          01
          – Available
          01
          – Booked
          01
          – Pending

          • Error is:

            Uncaught ReferenceError: visible_booking_id_on_page is not defined?page_id=29:211 (anonymous function)jquery.min.js:2 n.Callbacks.jjquery.min.js:2 n.Callbacks.k.fireWithjquery.min.js:2 n.extend.readyjquery.min.js:2 I

            • Hello.
              It’s means that customization was making in wrong way, because it’s seems that JS and CSS files of booking calendar is not loading. Please reread instruction about the customization – section about the URL of your website.

          • Hello.
            You need to be sure that at the page with booking calendar is loading JS and CSS files of booking calendar and there are no JS error(s), which can be a reason of overloading jQuery library. It’s means loading jQuery only once.

            • I think we cross-posted. Did you see the post where the following error is reported?

              Uncaught ReferenceError: visible_booking_id_on_page is not defined?page_id=29:211 (anonymous function)jquery.min.js:2 n.Callbacks.jjquery.min.js:2 n.Callbacks.k.fireWithjquery.min.js:2 n.extend.readyjquery.min.js:2 I

              Do I need to load an alternative header for pages that load the booking calendar as defined in your fix where the jquery is removed? (sorry – I have a very limited understanding of how jquery works)

              • Hello.
                1) Booking Calendar require that no any JavaScript errors exist at the page. Otherwise calendar will not show.
                2) As far as I am understood from your previous post, the issue with Booking Calendar was relative to this: http://wpbookingcalendar.com/faq/loading-jquery-twice/
                If yes, then you need to comment the line of loading jQuery second time in header.php of your theme.
                3) In one of my comments, previously I was trying to say how to not load the Booking Calendar JS and CSS files on the pages, where no Booking Calendar forms. But probably I was wrong. Please restore wpbc-script.php file to the original source.

                4) You need to comment loading of the jQuery ( in your theme header.php file) second time only on the pages, where you are having the Booking Calendar forms. So at this page calendar will load, but your menu still will not work. But at all other pages its will work.

                Otherwise you need to contact the developer of your theme, about issue of not working menu, when you load the default jQuery library from the WordPress installation and not the jQuery library from the theme itself.

                Kind Regards.

                • Ah, I see. Yep, that makes sense. I’ll see if there is another way to run the menus, etc without calling Jquery. Thanks for your help.

                  Tim

  2. HI,

    I have bought business medium version of your plugin and have activated on my site. This installation was overridden by another installation by mistake and I have lost all my work. Now I have freshly installed the wordpress again.

    Please advise how to get my plugin activated in my fresh installation.

    Thanks,
    Bala

Leave a Reply

Your email address will not be published. Required fields are marked *

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>