Support Archive (2)

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

  1. I have booking form that has a start time and duration. I want to do so that for any booking can add extra 30 minutes that affect duration, but without pay.

    Here is an example.
    On the form selected
    Start Time: 10:00 am
    Duration Time: 1:00

    So, when booking is done, I want the customer to pay 1 hour, but on the calendar reflect as 10:00 - 11:30 am, not as 10:00 - 11:00 am

    I tried [time] option, but this does not affect the calendar.

    WordPress: 3.4.2
    PHP: 5.3.8
    Booking Calendar: 9.Business.Large.SingleSite.4

    • Hello,
      please try to make this customization.
      Please open the ../booking/lib/wpdev-booking-ajax.php file

      find this code:

                  
                  $start_end_time = get_times_from_bk_form($sdform, $my_dates, $bktype);
                  $start_time = $start_end_time[0];
                  $end_time = $start_end_time[1];
                  $my_dates = $start_end_time[2];
      
                  make_bk_action('wpdev_booking_post_inserted', $booking_id, $bktype, str_replace('|',',',$dates),  array($start_time, $end_time ) );
                  $my_cost = apply_bk_filter('get_booking_cost_from_db', '', $booking_id);
      

      and add below of that code the new code, so its will look like this:

                  $start_end_time = get_times_from_bk_form($sdform, $my_dates, $bktype);
                  $start_time = $start_end_time[0];
                  $end_time = $start_end_time[1];
                  $my_dates = $start_end_time[2];
      
                  make_bk_action('wpdev_booking_post_inserted', $booking_id, $bktype, str_replace('|',',',$dates),  array($start_time, $end_time ) );
                  $my_cost = apply_bk_filter('get_booking_cost_from_db', '', $booking_id);
      
                  
              $new_end_time = mktime($end_time[0], ($end_time[1] + 30) );        
              $end_time = date('H:i',$new_end_time);
              $end_time = explode(':',$end_time);
              $end_time[2]='02';
                  
      
      • Great, it works exactly as I want. Thank you very much.
        I would like to ask you just one more adjustment. We are using PayPal Standard payment form.
        We do not want the customers to be charged for the additional 30 minutes.
        I noticed that at the price that the customer should pay was added the extra 30 minutes, but on the admin side not.

        • Hello,
          ok please try to make this fix.
          In your previous modifications:

                      make_bk_action('wpdev_booking_post_inserted', $booking_id, $bktype, str_replace('|',',',$dates),  array($start_time, $end_time ) );
                      $my_cost = apply_bk_filter('get_booking_cost_from_db', '', $booking_id);
          
                      
                  $new_end_time = mktime($end_time[0], ($end_time[1] + 30) );        
                  $end_time = date('H:i',$new_end_time);
                  $end_time = explode(':',$end_time);
                  $end_time[2]='02';
          

          Please moake this chnages:

                      make_bk_action('wpdev_booking_post_inserted', $booking_id, $bktype, str_replace('|',',',$dates),  array($start_time, $end_time ) );
                      $my_cost = apply_bk_filter('get_booking_cost_from_db', '', $booking_id);
          $old_end_time = $end_time;
                  $new_end_time = mktime($end_time[0], ($end_time[1] + 30) );
                  $end_time = date('H:i',$new_end_time);
                  $end_time = explode(':',$end_time);
                  $end_time[2]='02';
          

          After this ( at the same file), find this code:

                              }
                          do_action('wpdev_new_booking',$booking_id, $bktype, str_replace('|',',',$dates), array($start_time, $end_time ) ,$sdform );
          
                          ?> <script type="text/javascript"> setReservedSelectedDates('<?php echo $bktype; ?>'); </script>  <?php
          

          and make this modifications:

                              }
                          do_action('wpdev_new_booking',$booking_id, $bktype, str_replace('|',',',$dates), array($start_time, $old_end_time ) ,$sdform );
          
                          ?> <script type="text/javascript"> setReservedSelectedDates('<?php echo $bktype; ?>'); </script>  <?php
          
  2. Thanks,

    We have the business large license we have a program that runs for 2.5 hours 3 times a day starting at 9.30, 11, 12.30, how would you sugest we set it up, I would prefer to have a single dropdown. also when a session (9.30, 11, 12.30) I would prefer that it gets blocked out.

    Your help is appreciated.

    Cheers Tim 

    • Hello.
      If you are need to have the booking for the specific time in day (please note, this time slot will be not available in a specific date for the other visitors, if some visitor is reserve this time slot for the specific date), so then you are need to create the "single" resource at the Booking > Resources page (please read more info about the booking resources and how to configure them here http://wpbookingcalendar.com/help/booking-resource/ ) and then configure the time slots at the Booking > Settings > Fields page (please read more about the booking form fields configuration here http://wpbookingcalendar.com/help/booking-form-fields/ )

  3. Hi,
    the plugin is no longer working correctly, and it's telling me to upgrade, but it's not clear from your website how to do this. Can you let me know please?
    thanks
     

  4. Hello, I am getting the following error on the payment page:
    Notice: Undefined variable: my_dates4emeil in /home/XXXXX/public_html/wp-content/plugins/booking.bl.4.0.1/inc/biz_l.php on line 1656
    I am using the Large Business version  9.Business.Large.SingleSite.4.0.1
    Please advise.

    • Hello.
      Sorry for this issue. for fixing of this notice message, please make this small fix:

      Please open this file ../wp-content/plugins/booking.bl.4.0.1/inc/biz_l.php on line 1656

      find this code:

                                          $my_date_previos = $my_date;
                                          
                                          $date = sprintf( "%04d-%02d-%02d %02d:%02d:%02d", $my_date[2], $my_date[0], $my_date[1], $start_time[0], $start_time[1], $start_time[2] );
                                          $my_dates4emeil .= $date . ',';
                                          if ( !empty($insert) ) $insert .= ', ';
                                          if ($bk_type_for_date !== $updated_type_id) $insert .= "('$booking_id', '$date', '$is_approved_dates', '$bk_type_for_date')";
                                          else                                        $insert .= "('$booking_id', '$date', '$is_approved_dates', NULL)";
      
                                          $date = sprintf( "%04d-%02d-%02d %02d:%02d:%02d", $my_date[2], $my_date[0], $my_date[1], $end_time[0], $end_time[1], $end_time[2] );
                                          $my_dates4emeil .= $date . ',';
                                          if ( !empty($insert) ) $insert .= ', ';
                                          if ($bk_type_for_date !== $updated_type_id) $insert .= "('$booking_id', '$date', '$is_approved_dates', '$bk_type_for_date')";
                                          else                                        $insert .= "('$booking_id', '$date', '$is_approved_dates', NULL)";
      

      and make this modifications:

                                          $my_date_previos = $my_date;
                                          
                                          $date = sprintf( "%04d-%02d-%02d %02d:%02d:%02d", $my_date[2], $my_date[0], $my_date[1], $start_time[0], $start_time[1], $start_time[2] );
                                          if ( !empty($insert) ) $insert .= ', ';
                                          if ($bk_type_for_date !== $updated_type_id) $insert .= "('$booking_id', '$date', '$is_approved_dates', '$bk_type_for_date')";
                                          else                                        $insert .= "('$booking_id', '$date', '$is_approved_dates', NULL)";
      
                                          $date = sprintf( "%04d-%02d-%02d %02d:%02d:%02d", $my_date[2], $my_date[0], $my_date[1], $end_time[0], $end_time[1], $end_time[2] );
                                          if ( !empty($insert) ) $insert .= ', ';
                                          if ($bk_type_for_date !== $updated_type_id) $insert .= "('$booking_id', '$date', '$is_approved_dates', '$bk_type_for_date')";
                                          else                                        $insert .= "('$booking_id', '$date', '$is_approved_dates', NULL)";
      
  5. This enquiry follows on from a previous issue which did not receive a reply so I am starting it again.  I upgraded the plugin to the latest version of Version 9.Business.Medium.SingleSite.4.0.2  and ran into an issue of the calendar vanishing from the pages and the widgets.  Having run through plugins 1 by 1 it appears that the booking calendar is incompatible with the plugin WP Shortcode Magic which is at http://shortcodemagic.com/.  IO have had to disable the shortcode plugin which is a huge inconvenience because I have used that to style a multitude of page headings and sections of text within the site.  I wonder if you would be able to liaise with the developers (Under the management of a marketer named Tracy Meagher) and see if there is a solution to this problem.

    The website affected is http://stanwixcommunitycentre.org.uk/ 

    A second issue is that I am now seeing an error message at the top of this page.

    http://stanwixcommunitycentre.org.uk/booking-manager-stanwix-community-centre/

    Is there a straightforward fix for this?

    Regards,
    Ray Cassidy

     

    • Hello.
      1) Please send the archive with that plugin "WP Shortcode Magic" and screenshot of your settings of this plugin to this email info @ wpbookingcalendar.com, so then we will checks and test it locally for finding fix of that issue.

      2) According the Warning message at the page:

      Probably you are have inside of the titles (or content) of the custom booking forms (from the Booking > Settings > Fields page) the characters, which is not excepted.
      So please try to delete your custom form and then create new one but using the simple title for these booking forms (without umlauts, or % characters and so on...)

      If you are still will have this issue, please try to make this fix. Please open the file /wp-content/plugins/booking.bm.4.0.2/inc/biz_m.php on line 688
      find this code:

                      if ($booking_forms_extended !== false) {
                          if ( is_serialized( $booking_forms_extended ) ) $booking_forms_extended = unserialize($booking_forms_extended);
      //debuge($my_booking_form_name, $booking_forms_extended)                    ; die;
                          // Check already exist names for rewrite it
                          foreach ($booking_forms_extended as $value) {
                              if ($value['name'] == $my_booking_form_name){
                                  return $value['form'];
                              }
                          }
                      }
      

      and make this modification:

                      if ($booking_forms_extended !== false) {
                          if ( is_serialized( $booking_forms_extended ) ) $booking_forms_extended = unserialize($booking_forms_extended);
                          // Check already exist names for rewrite it
                          if (is_array($booking_forms_extended))
                              foreach ($booking_forms_extended as $value) {
                                if (isset($value['name']))
                                  if ($value['name'] == $my_booking_form_name){
                                      return $value['form'];
                                  }
                              }
                      }
      
  6. Hi
    Why is it not possible to Sort by "booking dates"?? Currently it is only possible to sort by ID or Resource
    /Jesper

    • Hello.
      This feature will be available in next update, which have to come soon.
      Regards.

  7. I am a personal traininer and am looking for a plugin that will allow my clients to book their own appointments. I offer individual and group sessions. I have two questions:

    1. Is it possible to allow multiple people to book a time slot? This would be required in order to allow multiple people in a group session.

    2. I sell my training sessions in packages of 6, 12, and unlimited sessions. I'd like to block the ability to schedule once they have used their session limit. Is it possible to limit the number of bookings to accomodate the number of sessions they have purchased? 

    Thanks,

    M.W.            

    • Hello.
      Unfortunately, if you are need to make the several reservations per the same timeslot at same date, so this functionality is not possible . Sorry.

      At the Booking Calendar Business Small and Business Medium versions are possible to make the bookings for the specific time slot.

      Please note, if you will use the fixed time slot list selection (and not the time entering using the text fields) in the booking form, the timeslot list will be the same for the any date of week, in other words the fixed time slot list is not depend from the week of day. Also if some visitor will reserve the specific time slot at selected date at specific booking resource (calendar), this timeslot become unavailable for the other visitors at this selected date in this booking resource.

      At the Booking Calendar Business Large version is possible to set the capacity of the booking resource, it’s mean that your visitors can make the several reservations per the same date, in other words, the date(s) in calendar will be available until lumber of reservations per these full dates is less thancapacity of the booking resource. Please note, if you will use the timeslot selection for the booking resource with capacity higher than one, so then this timeslot will be simply record as a data into DB according this booking, but will not impact to the time availability.

      Please read more info about the booking resources and how to configure them herehttp://wpbookingcalendar.com/help/booking-resource/

      Please read the Booking Calendar version overview here: http://wpbookingcalendar.com/help/versions-overview/

      You can test Booking Calendar live demos at this page http://wpbookingcalendar.com/demo/ to be sure in functionality and do not have misunderstanding.

  8. Hi there,
    thank you so much for this awesome plugin. I am using the Business Large version and have two questions regarding the search:
    1) When clicking on a result, I want the user to jump to the start of the room page, not immediately to the booking section. How do I do this?
    2) When displaying the results, I want users to be able to click the name of the room, not only the small "display result" button. How do I do this?
    Third question: How can I change the background color of the "book now" button?
    Thank you very much for your time and effort.
    Best regards,
    Fabian Kaske
     

  9. I use the multiuser version and I want to achieve the following goal
    1) I want to charge 10% for each booking that somebody makes across all resources and owners
    - Trying to apply from my admin panel the deposit for a resource of the owner1 (regular user) seems to work but when I try to book this recourse the second page, that leads to the paymet gateways, after submiting the booking form, has the total price of the resource
    - The only way I have found is to give the owner1 a super admin role, activate the setting "Deposit payment" at the general booking settings page (cost section). My problem is that I don't want to give to the owners (owner1 in this case) super admin access! Furthermore when I remove afterwards (after the activation of the "Deposit payment")  the suer admin role the "Deposit payment" is not active
    How can I force a 10% payment for all owners and resources without giving them super admin access?
    Thanks