Support Archive (2)

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

  1. Hi!,

    I am using the free version of WP booking online and it's fine for my case because i dont need other features.

    This is the instruction for changing size ( Width and height) of the wp Booking online:

    "Please include the booking shortcode into this div, its will reduce the size of calendar

    <divclass="widget_wpdev_booking"> ... some booking shortcode ... </div>

    But exactly which shortcode i have to use to reduce the size? 

    Many thanks 

    • Hello.
      If you are are use the free version you can insert into the content of the post or page the code like this:
      <div class=”widget_wpdev_booking”>[booking]</div>

      • Cool, thanks for your answer, in meantime i had temporanery fixed the problem editing the size in the CSS file, but this is a better solution i think.

        Just an other question,  if i make the Update to the version  4.0.1. i will lose the modifications to the CSS file? 

        Many thanks again 

        • Hello,
          yes, if you will make the update to the newer version, all CSS modifications will be reseted, so if you want to save them, please backup those CSS file(s) and after update process restore them back.

          • Ok perfect, good to know, so before updating to the new version i will save and copy my CSS files and then past again.

            Thanks for your good support and product 

  2. How do i centre the calendar in the middle of the page? its slightly off centre at the moment.

    Many thanks

    Roscoe
     

    • Hello,
      Please open the page, where you are inserted the booking calendar, and try to use before and after the booking shortcode the <center> HTML tags, similar to this:
      <center>[booking]</center>

  3. Hello, I'm a user of booking calender version 9.Premium Singlesite.3.0.
     
    I have some trouble about Email System since yesterday.
     
    All Email notice system appears to have not been working at all.
    Both  of Email to'Person' and 'Admin'  have not been sent.
     
     
    I tried to change the Admin Email Adress, but it still dosen't work.
    I have no idea about this problem...

    • Hello,

      if you are used the WordPress 3.3.2 or newer, so then the jQuery 1.7.1 or newer are already included into the your WordPress package.

      You are need to open the header.php file of your theme and deactivate (comment), the loading of the jQuery, so you do not load it using the theme.

      So then the Booking Calendar will load the jQuery from the WordPress installation (which have to be latest).

      • This site is using WordPress 3.4
        I've checked the header.php file for the theme I am using and cannot see any reference to jQuery. Can you please let me know where else I need to edit any reference to jQuery?
        This is the header.php content:
        ============CUTTED===============================

        • Hello,

          Its iside of the other file of your theme.

          Its inside of the:  ../wp-content/themes/travel-blogger/lib/functions/layout.php

           

          inside of the function exp_theme_scripts_styles()

          you can find this code:

              wp_deregister_script('jquery');     wp_register_script('jquery', ('https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'), false, '1.4.2');     wp_enqueue_script('jquery');

          Plese replace that code to this:

          //    wp_deregister_script('jquery'); //    wp_register_script('jquery', ('https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'), false, '1.4.2'); //    wp_enqueue_script('jquery');

  4. After updating to 4.0.1 I'm not able to add new bookings! Selecting multiple days isn't possible, I haven't changed anything in the settings and the "Multiple days selection: is checked as usual. I've deactivated all other plugins and this isn't the problem either. What else can I do?

    • Hello,
      please send the link to the page, where this issue is exist for rechecking that.
      Thank you.

        • Hello,
          Its seems that you are tested, without the clearing the browser cache, the plugin is load the old JavaScript files, so thats why you are get errors.

          Please clear the browser cache and test it again.

          • It's working again! Thank you! But is this for all computers which visited the website before?

            • New visitors of the site will not have this issue.
              Also the old visitors, who are visited after the some time (the cache in browsers plugin are expired and browser will load the actual scripts), will not have this issue also.
              Only the visitors, who are visited no far ago, have to clear the browser cache.

    • Hello,
      At the version 4.0, there is no calendar overview in the admin panel, its because of have more good performance there. Sorry.
      Instead of that you are have more flexible and powerful filter for the bookings showing.
      May be at the future versions updates we will restore back the calendar view of booking listing in the admin panel, but fully redeveloped.

  5. After upgrading from "Version 9.Professional.SingleSite.3.0" to "Version 9.Personal.SingleSite.4.0" my adminpanel doesn´t reset the numbers of unread bookings. Bookings are approved but the numbers of unapproved rises.
    Any idea?

    • Hello,
      you are need to make selected all your bookings, which is marked as "unread/new", and at the Actions tab at the top of the Booking listing page press the "Mark as read" button.

      Or you can click on the "New" icon at the left side of the each booking to mark the specific new booking as read.

      • Is this an action that I have to perform every time there is a new booking? Doesn´t Approve set the flag Read?

        • Hello,
          Unfortunately, if you are make the approve/unapprove actions for the specific bookings, these bookings are not marked as read.
          If you are want to make the fix of that, you are need to open this file ../booking/lib/wpdev-booking-ajax.php find this code:
          if ($is_approve_or_pending == '1') sendApproveEmails($approved_id_str, $is_send_emeils); else sendDeclineEmails($approved_id_str, $is_send_emeils,$denyreason);
          and replace it to this code:
          renew_NumOfNewBookings( explode(',', $approved_id_str) ); if ($is_approve_or_pending == '1') sendApproveEmails($approved_id_str, $is_send_emeils); else sendDeclineEmails($approved_id_str, $is_send_emeils,$denyreason);

          Also, this fix will be available in the future updates.

  6. Hi again,
    the new version works really fine, upgrading was easy so far 🙂
    But one question : The headlines in search results ("Search results" or "Nothing found") are still not translateable 🙁 We were talking about this earlier in version 3 and you said you'll fix it in the new version... so... do you have a solution for me? I took a look to the php code and it seems to be a translateable term but nothing happens when adding a translation to the language files...
    Thanks in advance for your help and thanks for your great work... 

    • Hello.
      According "Search results".

      Probably, this message is not translated, if you open the appropriate language file at the line 155, you can make translation there:
      msgid "Search results" msgstr ""

      or, you can make direct editing of this text inside of the ../booking/inc/biz_l.php file
      if (count($free_objects)>0) echo '<center><h2>'.__('Search results','wpdev-booking') . '</h2></center>'; else echo '<center><h2>'.__('Nothing found','wpdev-booking') . '</h2></center>';

      • Hi,
        yes, of course I edited the language file with poedit, but it doesn't work for some reason... When I change other things in the language file it works, but not there... Any idea?

      • Forgot... to change the original file makes no snense for me, because I need this term in 4 different languages, so it has to be done via language files

          • No, it doesn't. I successfully changed other terms in the language file, but these don't work...

            • Hello,
              Its require couple of modifications:
              please open this file ../booking/inc/biz_l.php
              find this code:
              $booking_search_form_show = str_replace( '[search_button]', '<input type="button" onclick="searchFormClck(this.form);" value="'.__('Search','wpdev-booking').'" class="search_booking">', $booking_search_form_show);
              and replace it to this code:

              $booking_search_form_show = str_replace( '[search_button]', '<input type="button" onclick="searchFormClck(this.form, \''. getBookingLocale(). '\');" value="'.__('Search','wpdev-booking').'" class="search_booking">', $booking_search_form_show);
              Then open this file ../booking/inc/js/biz_l.js

              1) find this code:

              function searchFormClck( search_form ){

              and replace it to this code:

              function searchFormClck( search_form, wpdev_active_locale ){

              2) then find this code:

              ajax_search_submit( search_form );

              and replace it to this code:

              ajax_search_submit( search_form, wpdev_active_locale );

              3) then find this code:

              function ajax_search_submit( search_form ) {

              and replace it to this code:

              function ajax_search_submit( search_form, wpdev_active_locale ) {

              then find this code:
              data:{ ajax_action : 'BOOKING_SEARCH', bk_check_in: search_form.check_in.value , bk_check_out: search_form.check_out.value , bk_visitors: search_form.visitors.value, bk_category:my_bk_category, bk_tag:my_bk_tag }

              and replace it to this code:

              data:{ ajax_action : 'BOOKING_SEARCH', bk_check_in: search_form.check_in.value , bk_check_out: search_form.check_out.value , bk_visitors: search_form.visitors.value, bk_category:my_bk_category, bk_tag:my_bk_tag, wpdev_active_locale:wpdev_active_locale }

    • Hi, sorry I have to bother you again, but I have another translation problem...
      I had to add some explaining text to the page where the paypal - pay - button is, because I need to offer a manual bank transfer in addition to paypal and the plugin doesn't support a thing like that. In the old version it was no problem to get it translated (I added the text to wpdev-premium.php after the line "$output .= '<div  id="paypalbooking_form'.$bk_type.'">';"
      The text appeared after importing in the language file and I could translate it.
      Now it's all within paypal.php I guess... When I add the text here I can also import it into the language file, but the translation is ignored... Can you help?
      Thanks in advance

      • You can make it inside of the ../booking/inc/biz_s.php file,

        please fine this code:

        $form_content .= '<div id="paypal'.$my_boook_type.'"></div>';

        and make your corrections, like this:

        $form_content .= '<div id="paypal'.$my_boook_type.'"></div>' . 'YOUR TEXT HERE';

        • Thank you for the code. But this adds the text before the booking form, I need it to be on the PalyPal Payment Page (after pressing "Book" button. Anyway, I tried it out and the problem is still the same... the translation won't show up, even if I updated the language files... 🙁

          • Hello,

            Ok so then you are need to edit the file  ../booking/inc/payments/paypal.php

            inside of the function content: wpdev_bk_define_payment_form_paypal

            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.

             

            • Hi again... sorry it took me a while to get what you mean... Well, I put the content right after this funtion in paypal.php with echo __('etc. it reappears in the right place, but still it's not translateable 🙁

            • Here's the code...
              <code>function wpdev_bk_define_payment_form_paypal($blank, $booking_id, $summ,$bk_title, $booking_days_count, $booking_type, $bkform, $wp_nonce, $is_deposit ){
                      $output = '';
                      $output .= '<div  id="paypalbooking_form'.$bk_type.'">';
                                  echo __('&nbsp;<br /><p><b>Thank you for your reservation!</b></p>
                                  <p>Please transfer the amount indicated below to our bank account: <br /><br />
                                  ...
                                  or pay directly by PayPal :</p>', 'wpdev-booking');
                                  echo '</div>';
                      if(
                          (get_bk_option( 'booking_paypal_is_active' ) == 'On') ||</code>

              • Hello,
                Please use the any HTML tags, like this "<p>" otside of the translation finctions like this "__" or "_e".
                Also after you are made this edit, you have to reupdate (refresh) the translation files (its in the "languages" folder) from the project (its mean, that you are need to correct the path of the projects in the properties of the translation file) and then reupdate it.
                After this you can make the translation.
                Please read more detail here: https://wpbookingcalendar.com/faq/make-translation-of-wp-plugin/

              • Where do I have to paste the code?

                Kind regards, Harry Fokken 

                • Hello,

                  In the previous comments there is the references to the files, where some modifications have to be done.

                  What  exactly code do you mean ?

  7. Hi, I'm using the free version of the plugin at the moment. Is it be possible to display more than one calendar month at a time with this version? Or, with a paid version?

    Thanks. 

    • Hello,
      If you are mean possibility to set showing of several months in a calendar at a page, so yes its possible with a free version.
      Just during the inserting (or reinserting if you are inserted it previously) the booking shortcode into the post or page, select the appropriate number of visible months in calendar, at the popup configuration dialog.

  8. Help, I just up dated the calender plugin and I lost the calender on my webpage.  It's gone along with the bookings.

    • Hello.
      Please, just the clear the browser cache and test it again.
      I am retested your page and there is everything fine with calendar.