Important!!! Check actual Support Forum, if you need to ask a Questions.
I had a question about this statement "Bookings for specific time in a day
Please note, the time slot list is fixed, its DO NOT depend from the week of day or from some specific days"
Is it possible to set overlapping time slots? I.e. if I wanted to offer an appointment that can be booked from eother 8-10 or 8-12, is that possible?
Hello,
yes its possible.
But if someone is reserve any of that timeslots, other timeslot is become unavailable for that selected date, also.
I am using premium V2.6 but cant seem to work out how to get the upgrade to V3. I am having issues with tooltips and have made the manual edit to get it to move to the right spot but it now beneath the calander and cat be seen properly. How do I get the latest version and what can I do to get the tooltop to the top most layer?
Thanks
Hello,
Please send the order number of purchasing the booking calendar to this email info @ onlinebookingcalendar.com
So then we will send the link for downloading update to you. The instruction about update process you can find at the FAQ section of this site. Accordig fixing tooltip, probabaly you are still will need to make that configuration from FAQ, but if you are still will have an issue there, please contact directly to that email and we will try to help you.
Regards.
Couple of questions:
1) In the "Add booking" page, there is a problem with the calendar not matching with the correct booking resource. This problem is only for the first entry in the default booking resource drop down list. If I try to make a reservation without touching the default booking resource, I get an error where it asks me to select dates for my booking resource when it has already been selected due to the fact that the calendar corresponds to last booking resource. The only way to work around this is to select a different booking resource and then re-select the same resource again so that the calendar appears correctly.
2) I have two booking resources that share the same room. One resource type is for one room. Another resource type is for all rooms. If someone books the second resource, how can the first resource be blocked on the calendar?
Thanks
Hello Micky,
1) this issue is appear only if you are deleted the first booking resource, which was created by system. So for fixing this issue please open this file ../booking/lib/wpdev-booking-class.php
find this lines: $default_booking_resource = get_bk_option( 'booking_default_booking_resource');
if ((isset($default_booking_resource)) && ($default_booking_resource !== false)) $_GET['booking_type']= $default_booking_resource;
and make this modifications:
if( $this->wpdev_bk_pro !== false ) {
$default_booking_resource = $this->wpdev_bk_pro->get_default_booking_resource_id();
} else $default_booking_resource = 1;
$_GET['booking_type'] = $default_booking_resource;
2) This is possible only at the Hotel Edition version.
You are need to create the one booking resource with capacity = 2 (its mean that "parent" booking resource will have 1 child (room)).
So For the calendar of all rooms, you are need to insert the booking form for the "parent" resource. Inside of the Booking form you are need to have the selectbox of the visitor selection, where you are need to have only 1 options - for 2 visitors (Example: [select visitors "2"]). Then at the General Booking settings page, you are need to activate this feature "Visitors number apply to capacity" and select the second radio button option.
This configuration will make possible to book 2 resources at one reservation process, in other words its book both rooms.
For the First room reservation, you are need to insert the booking form for the CHILD resource, and you are also need to create new custom booking form, where you are need to have selection of only 1 visitor (Example: [select visitors "1"]). So here you will reserve only one child booking resource.
But you are still will not be able to reserve then the second room in this configuration, so you can reserve only the first room or both rooms, as request in your description.
Hi,
I have this error being thrown by the pro version: "08 is not a legal ECMA-262 octal constant". The code that throws this is:
var wpdev_bk_today = new Array( parseInt(<?php echo date_i18n('Y') .'), parseInt('. date_i18n('m').'), parseInt('. date_i18n('d').'), parseInt('. date_i18n('H').'), parseInt('. date_i18n('i') ; ?>) );
being inserted at the beginning of each page.
Thanks for your help.
Hello,
for fixing this issue, please try to make this modifications. Please open this file: ../booking/lib/wpdev-booking-class.php
find this line: var wpdev_bk_today = new Array( parseInt(<?php echo date_i18n('Y') .'), parseInt('. date_i18n('m').'), parseInt('. date_i18n('d').'), parseInt('. date_i18n('H').'), parseInt('. date_i18n('i') ; ?>) );
and make this modifications:
var wpdev_bk_today = new Array( parseInt("<?php echo date_i18n('Y') .'",10), parseInt("'. date_i18n('m').'",10), parseInt("'. date_i18n('d').'",10), parseInt("'. date_i18n('H').'",10), parseInt("'. date_i18n('i') ; ?>",10) );
It works! Thank you so much!
Hi All,
since one week I am trying to install Booking Calendar Pro to our website. Getting always the message:
wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /webspace/10/48929/antispam24.tv/wp-includes/functions.php on line 3587 or
Error trapped: USER NOTICE(1024), WP_Admin_Bar::add_node was called incorrectly. The menu ID should not be empty. Please see Debugging in WordPress for more information. (This message was added in version 3.3.)
Tried everything:
--> Deactivating all Plugins
--> Standard Theme
--> erase Browser Case
--> reinstall wp 3.3.1 (debug mode off and on)
But any time I activate the booking calendar, it gives me errors.
Maybe you can have a look at the site. In the moment the system is:
--> reinstalled (debug mode off)
--> Debug Mode is now ON
--> All Plugins deactivated
--> Activated Plugins are: "booking calendar" and "Simple Error Handler"
--> Theme = "Twenty Eleven 1.3"
Any help would be appreciated.
With best Regards
Markus
Hello Markus,
thank you for your notifications.
WE are rechecking it, and there is exist these messages in debug mode.
So for fixing these messages, please make these corrections:
1) Please open the ../booking/lib/wpdev-booking-class.php file, then find this code inside of the content of this function wpdev_booking:
if ( ( strpos($_SERVER['REQUEST_URI'],'wpdev-booking.phpwpdev-booking')!==false) &&
( strpos($_SERVER['REQUEST_URI'],'wpdev-booking.phpwpdev-booking-reservation')===false )
) {
if (defined('WP_ADMIN')) if (WP_ADMIN === true) wp_enqueue_script( 'jquery-ui-dialog' );
wp_enqueue_style( 'wpdev-bk-jquery-ui', WPDEV_BK_PLUGIN_URL. '/css/jquery-ui.css', array(), 'wpdev-bk', 'screen' );
}
and replace it to this code:
$wp_admin_bar->add_menu(
array(
'parent' => 'booking_options',
'title' => __( 'Settings', 'wpdev-booking' ),
'href' => $link_settings,
'id' => 'booking_settings'
)
);
Hi there,
I have the following version of the plugin :
Version: 9.Premium.Plus.SingleSite.3.0
Type: Premium Plus
and so far it's been really good - thanks! Just a few issues I'm having though :
In researching for fixes for my problems I was hoping to search through these comments https://onlinebookingcalendar.com/issues/ but when I do it seems to return only the first 10 or so results? Is there a way to get more? Eg. Searching on "booking" should return 100's I would think but only returns about 10
I need the ability to add a message above the Pay Now button and the text from “Payment description” field. Is there a way this can be done through the admin panel or do I need to edit PHP?
I would like to set up bookings using the "Range selection", "FIXED number of days by ONE mouse click" set to 6 days and "Start day of range" set to Saturday. The idea being that an apartment can only be booked from Saturday to Thursday (so 6 nights). However when I do this and hover over any day of the week, it highlights the NEXT week. Eg. Hovering over Tuesday April 10th 2012 I would expect it to highlight Sat April 7th - Thu April 12th. This is particularly confusing when only displaying 1 month calendar and hovering over the last week, it looks as though it's not highlighting anything but presumably it is in the NEXT hidden month. Is there a way to fix this?
Lastly, I would like to charge a fixed cost for an apartment since the customer can only select it for a fixed period. In the Payments settings page, I have tried setting this : "Please, enter cost FIXED SUMM of each booking resource" with Apartment 1 set to $1000 but then when completing a booking it seems to skip the payment screen altogether. I then also tried setting this on the "Cost and Availability" screen but instead of "fixed summ" it only has "Fixed deposit" making me think there is actually no such way of a fixed cost? As a workaround, I am charging $1000/6 per night but it adds up to a few cents over $1000 making it look a little clumsy. Is there a way to do this?
Thanks again
Hello Paul,
1) According adding the message an changing the "Payment description" you can make directly inside of the ../booking/include/wpdev-premium.php file,
Please open that file, find this function definePaypalFormRequest, and at the bottom of the function content, please make your editing (CAREFULLY!!).
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.
2) According fix of highlighting the week, we will try to fix it for the next update, currently if you will how only one month its will work so. Sorry.
3) You are just need to set the fixed cost per resource at the Booking > Settings > Payment page and at this page select in selectbox "fixed sum". You are do not need to make any other cost configurations at the Cost and availability page.
OK. Thanks for that.
For 3) "fixed sum" though....when I do set that on Booking > Settings > Payment page, the booking form does not work as expected.
Usually (with this setting set to "for 1 night") when a customer selects dates, enter their details and presses "Send". This then removes the form and displays the Paypal Pay Now button which when clicked goes through to the Paypal website as expected.
But when I set this setting to "fixed sum", when a customer selects dates, enters their details and presses "Send" the form is removed and only the message "Thank you for your online reservation. We will send confirmation of your booking as soon as possible." appears and then fades away. There is no Paypal button to be seen?
Thanks
Hello.
Please try to make this fix.
So please open this file ../booking/include/wpdev-premium.php
find this code:
if (get_bk_option( 'booking_paypal_price_period' ) == 'fixed') $summ = $paypal_dayprice ;
and replace it to this code:
if (get_bk_option( 'booking_paypal_price_period' ) == 'fixed') {
if (is_array($paypal_dayprice)) $summ = $paypal_dayprice[0] ;
else $summ = $paypal_dayprice ;
}
This fix is already implemented in the development version for the next updates.
OK - will maybe try it out and see. Thanks.
However, since my original point 2) highlighting the week is a little buggy, my client has asked me to try a different setup so I'm using "Selection of DYNAMIC number of days by TWO mouse click:". Now with the following settings :
1) Minimum days selection number set to 7, max set to 104
2) Specific days selections set to 7
3) Start day of range set to Saturday I am having the following issues:
a) it seems possible for a user to click just ONCE on a date, and then fill out the rest of the form and submit - booking only 1 day instead of the minimum of 7
b)If the user clicks on May 31st 2012, the calendar (only showing 1 month) becomes unclickable - no dates are clickable and the month navigation at the top has disappeared? I assume this might happen with other dates too so might prevent many bookings from being possible?
Any advice on these issues?
Hello,
for fixing issue with possibility to select one date, please make this customizations.
Please open this file: ../booking/js/wpdev.bk.js
find this code:
// Recheck Times
if( typeof( is_this_time_selections_not_available ) == 'function' )
if ( is_this_time_selections_not_available( bk_type, submit_form.elements ) )
return;
//Show message if no selected days
if (document.getElementById('date_booking' + bk_type).value == '') {
and make this modifications:
// Recheck Times
if( typeof( is_this_time_selections_not_available ) == 'function' )
if ( is_this_time_selections_not_available( bk_type, submit_form.elements ) )
return;
var inst = jWPDev.datepick._getInst(document.getElementById('calendar_booking'+bk_type));
if (wpdev_bk_is_dynamic_range_selection != undefined)
if ( wpdev_bk_is_dynamic_range_selection )
if (days_select_count_dynamic != undefined)
if (inst.dates.length < days_select_count_dynamic ) {
alert(message_verif_selectdts);
return;
}
//Show message if no selected days
if (document.getElementById('date_booking' + bk_type).value == '') {
P.S.This fix is already exist at the development version for the next update.
According point (B), unfortunately right now its not possible to fix it somehow. Please set more visible months in calendar.
hi.
I'd like to ask a question.
tooltip on calendar didn't appear when user level is Author or Subscriber.
tooltip did appear when user level is Administrator or Editor.
do you have any suggestions please?
Hello,
Its have to show correctly in any of your variants. I am retested it to be sure in that.
So, please try to clear the browser cache before testing. Try to test it gain.
Regards.
hello,
I cleared the browser cache and never eliminated.
regards,
Hello,
Please send the link to that page with booking form for retesting it.
Also the screenshots of working and not working of that example and screenshot of settings.
Regards.
Can I take the "Partially Booked" off the legend under the calendar?
Hello,
Please open the file /booking/lib/wpdev-booking-class.php
find the function declaration: get_legend
function get_legend(){
$my_result = '';
if (get_bk_option( 'booking_is_show_legend' ) == 'On') { //TODO: check here according legend
$my_result .= '<div class="block_hints datepick">';
$my_result .= '<div class="wpdev_hint_with_text"><div class="block_free datepick-days-cell"><a>#</a></div><div class="block_text">- '.__('Available','wpdev-booking') .'</div></div>';
$my_result .= '<div class="wpdev_hint_with_text"><div class="block_booked date_approved">#</div><div class="block_text">- '.__('Booked','wpdev-booking') .'</div></div>';
$my_result .= '<div class="wpdev_hint_with_text"><div class="block_pending date2approve">#</div><div class="block_text">- '.__('Pending','wpdev-booking') .'</div></div>';
if ($this->wpdev_bk_pro !== false)
if ($this->wpdev_bk_pro->wpdev_bk_premium !== false)
$my_result .= '<div class="wpdev_hint_with_text"><div class="block_time timespartly">#</div><div class="block_text">- '.__('Partially booked','wpdev-booking') .'</div></div>';
$my_result .= '</div><div class="wpdev_clear_hint"></div>';
}
return $my_result;
}
and remove or comment these lines:
if ($this->wpdev_bk_pro !== false)
if ($this->wpdev_bk_pro->wpdev_bk_premium !== false)
$my_result .= '<div class="wpdev_hint_with_text"><div class="block_time timespartly">#</div><div class="block_text">- '.__('Partially booked','wpdev-booking') .'</div></div>';
THANK YOU.
Hi
I am looking at using this plugin with my Nerja Holiday Rentals site https://mynerja.com/rentals/holiday-rentals/ so that I can add individual booking forms to each property. Each property is a post and my question is when I create a new post (ie add a new property to the site) can I set up the booking plugin to automatically add a new resource?
I don't want to have to add a new post and then add a new resource separately. If there is a function call I could add to my php code that would be fine.
I am thinking of buying the Professional version of the plugin.
Thanks
Tony
Nerja Holiday Rentals
Hello,
you are need to make some customization inside of the your theme for such type of workflow.
At the FAQ is exist instruction how to integrate the booking form into the post or page directly in PHP file.
But for this customization you are need to know some logic how to assign the ID of booking resource from booking calendar to the specific post or page.
I can only suggest that you can use the some kind of custom fields in the post or page, where you can write the ID of booking resource for the specific post and then get this ID using the PHP and insert it into the example from FAQ.
Thanks for the reply. I can easily do the logic to add a specific booking form to each post, but what I need is a call to a function to add a new resource, that would return the ID number of the new resource. Is there a function I can call to do that?
My solution would be as follows:
1) When a new property is added to my site the code would call the function to create a new resource and then save the id of that new resource as a custom field.
2) When the property is displayed, my code would take the id from the custom field and display the appropriate booking form.
All straightforward if you can give me a function that will create the new resources (which is pretty much the "Add new resource(s)" button in the booking resources management page in the dashboard.
Booking resources managment
Hello,
sorry, but at current version, there is no separate such function. You can check some code how todo this, at the top of content of this function wpdev_booking_resources_show_content inside of the /booking/include/wpdev-pro.php file
I just installed the Premium Booking Calendar and I'm getting the following error. Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /mounted-storage/home130/sub020/sc75256-PALK/radrivertraining.ca/wp-content/plugins/booking.premium.3.0/lib/wpdev-booking-ajax.php on line 530
Hello,
Please contact your administrator os server. You're need to increase
memory for php script execution, may be also time. Also check, if at
server configuration any restrictions on size of php CALSSes loading.
Thank you.
I had a question about this statement "Bookings for specific time in a day
Please note, the time slot list is fixed, its DO NOT depend from the week of day or from some specific days"
Is it possible to set overlapping time slots? I.e. if I wanted to offer an appointment that can be booked from eother 8-10 or 8-12, is that possible?
Hello,
yes its possible.
But if someone is reserve any of that timeslots, other timeslot is become unavailable for that selected date, also.
I am using premium V2.6 but cant seem to work out how to get the upgrade to V3. I am having issues with tooltips and have made the manual edit to get it to move to the right spot but it now beneath the calander and cat be seen properly. How do I get the latest version and what can I do to get the tooltop to the top most layer?
Thanks
Hello,
Please send the order number of purchasing the booking calendar to this email info @ onlinebookingcalendar.com
So then we will send the link for downloading update to you. The instruction about update process you can find at the FAQ section of this site. Accordig fixing tooltip, probabaly you are still will need to make that configuration from FAQ, but if you are still will have an issue there, please contact directly to that email and we will try to help you.
Regards.
Couple of questions:
1) In the "Add booking" page, there is a problem with the calendar not matching with the correct booking resource. This problem is only for the first entry in the default booking resource drop down list. If I try to make a reservation without touching the default booking resource, I get an error where it asks me to select dates for my booking resource when it has already been selected due to the fact that the calendar corresponds to last booking resource. The only way to work around this is to select a different booking resource and then re-select the same resource again so that the calendar appears correctly.
2) I have two booking resources that share the same room. One resource type is for one room. Another resource type is for all rooms. If someone books the second resource, how can the first resource be blocked on the calendar?
Thanks
Hello Micky,
1) this issue is appear only if you are deleted the first booking resource, which was created by system. So for fixing this issue please open this file ../booking/lib/wpdev-booking-class.php
find this lines:
$default_booking_resource = get_bk_option( 'booking_default_booking_resource'); if ((isset($default_booking_resource)) && ($default_booking_resource !== false)) $_GET['booking_type']= $default_booking_resource;
and make this modifications:
if( $this->wpdev_bk_pro !== false ) { $default_booking_resource = $this->wpdev_bk_pro->get_default_booking_resource_id(); } else $default_booking_resource = 1; $_GET['booking_type'] = $default_booking_resource;
2) This is possible only at the Hotel Edition version.
You are need to create the one booking resource with capacity = 2 (its mean that "parent" booking resource will have 1 child (room)).
So For the calendar of all rooms, you are need to insert the booking form for the "parent" resource. Inside of the Booking form you are need to have the selectbox of the visitor selection, where you are need to have only 1 options - for 2 visitors (Example: [select visitors "2"]). Then at the General Booking settings page, you are need to activate this feature "Visitors number apply to capacity" and select the second radio button option.
This configuration will make possible to book 2 resources at one reservation process, in other words its book both rooms.
For the First room reservation, you are need to insert the booking form for the CHILD resource, and you are also need to create new custom booking form, where you are need to have selection of only 1 visitor (Example: [select visitors "1"]). So here you will reserve only one child booking resource.
But you are still will not be able to reserve then the second room in this configuration, so you can reserve only the first room or both rooms, as request in your description.
Hi,
I have this error being thrown by the pro version: "08 is not a legal ECMA-262 octal constant". The code that throws this is:
var wpdev_bk_today = new Array( parseInt(<?php echo date_i18n('Y') .'), parseInt('. date_i18n('m').'), parseInt('. date_i18n('d').'), parseInt('. date_i18n('H').'), parseInt('. date_i18n('i') ; ?>) );
being inserted at the beginning of each page.
Thanks for your help.
Hello,
for fixing this issue, please try to make this modifications. Please open this file: ../booking/lib/wpdev-booking-class.php
find this line:
var wpdev_bk_today = new Array( parseInt(<?php echo date_i18n('Y') .'), parseInt('. date_i18n('m').'), parseInt('. date_i18n('d').'), parseInt('. date_i18n('H').'), parseInt('. date_i18n('i') ; ?>) );
and make this modifications:
var wpdev_bk_today = new Array( parseInt("<?php echo date_i18n('Y') .'",10), parseInt("'. date_i18n('m').'",10), parseInt("'. date_i18n('d').'",10), parseInt("'. date_i18n('H').'",10), parseInt("'. date_i18n('i') ; ?>",10) );
It works! Thank you so much!
Hi All,
since one week I am trying to install Booking Calendar Pro to our website. Getting always the message:
wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the
wp_enqueue_scripts
,admin_enqueue_scripts
, orinit
hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /webspace/10/48929/antispam24.tv/wp-includes/functions.php on line 3587or
Error trapped: USER NOTICE(1024), WP_Admin_Bar::add_node was called incorrectly. The menu ID should not be empty. Please see Debugging in WordPress for more information. (This message was added in version 3.3.)
Tried everything:
--> Deactivating all Plugins
--> Standard Theme
--> erase Browser Case
--> reinstall wp 3.3.1 (debug mode off and on)
But any time I activate the booking calendar, it gives me errors.
Maybe you can have a look at the site. In the moment the system is:
--> reinstalled (debug mode off)
--> Debug Mode is now ON
--> All Plugins deactivated
--> Activated Plugins are: "booking calendar" and "Simple Error Handler"
--> Theme = "Twenty Eleven 1.3"
Any help would be appreciated.
With best Regards
Markus
Hello Markus,
thank you for your notifications.
WE are rechecking it, and there is exist these messages in debug mode.
So for fixing these messages, please make these corrections:
1) Please open the ../booking/lib/wpdev-booking-class.php file, then find this code inside of the content of this function wpdev_booking:
if ( ( strpos($_SERVER['REQUEST_URI'],'wpdev-booking.phpwpdev-booking')!==false) && ( strpos($_SERVER['REQUEST_URI'],'wpdev-booking.phpwpdev-booking-reservation')===false ) ) { if (defined('WP_ADMIN')) if (WP_ADMIN === true) wp_enqueue_script( 'jquery-ui-dialog' ); wp_enqueue_style( 'wpdev-bk-jquery-ui', WPDEV_BK_PLUGIN_URL. '/css/jquery-ui.css', array(), 'wpdev-bk', 'screen' ); }
and replace it to this code:
add_action('wp_enqueue_scripts', array(&$this, 'wpdevbk_scripts_enqueue'));
2) Then add under the content of that function wpdev_booking, add this new function content:
function wpdevbk_scripts_enqueue() { wp_enqueue_script('jquery'); if ( ( strpos($_SERVER['REQUEST_URI'],'wpdev-booking.phpwpdev-booking')!==false) && ( strpos($_SERVER['REQUEST_URI'],'wpdev-booking.phpwpdev-booking-reservation')===false ) ) { if (defined('WP_ADMIN')) if (WP_ADMIN === true) wp_enqueue_script( 'jquery-ui-dialog' ); wp_enqueue_style( 'wpdev-bk-jquery-ui', WPDEV_BK_PLUGIN_URL. '/css/jquery-ui.css', array(), 'wpdev-bk', 'screen' ); } }
3) According fixing showing message about the Admin bar.
Please open this file: ../booking/lib/wpdev-function.php
find this code:
$wp_admin_bar->add_menu( array( 'parent' => 'booking_options', 'title' => __( 'Settings', 'wpdev-booking' ), 'href' => $link_settings ) );
and replace it to this code:
$wp_admin_bar->add_menu( array( 'parent' => 'booking_options', 'title' => __( 'Settings', 'wpdev-booking' ), 'href' => $link_settings, 'id' => 'booking_settings' ) );
Hi there,
I have the following version of the plugin :
Version: 9.Premium.Plus.SingleSite.3.0
Type: Premium Plus
and so far it's been really good - thanks! Just a few issues I'm having though :
In researching for fixes for my problems I was hoping to search through these comments https://onlinebookingcalendar.com/issues/ but when I do it seems to return only the first 10 or so results? Is there a way to get more? Eg. Searching on "booking" should return 100's I would think but only returns about 10
I need the ability to add a message above the Pay Now button and the text from “Payment description” field. Is there a way this can be done through the admin panel or do I need to edit PHP?
I would like to set up bookings using the "Range selection", "FIXED number of days by ONE mouse click" set to 6 days and "Start day of range" set to Saturday. The idea being that an apartment can only be booked from Saturday to Thursday (so 6 nights). However when I do this and hover over any day of the week, it highlights the NEXT week. Eg. Hovering over Tuesday April 10th 2012 I would expect it to highlight Sat April 7th - Thu April 12th. This is particularly confusing when only displaying 1 month calendar and hovering over the last week, it looks as though it's not highlighting anything but presumably it is in the NEXT hidden month. Is there a way to fix this?
Lastly, I would like to charge a fixed cost for an apartment since the customer can only select it for a fixed period. In the Payments settings page, I have tried setting this : "Please, enter cost FIXED SUMM of each booking resource" with Apartment 1 set to $1000 but then when completing a booking it seems to skip the payment screen altogether. I then also tried setting this on the "Cost and Availability" screen but instead of "fixed summ" it only has "Fixed deposit" making me think there is actually no such way of a fixed cost? As a workaround, I am charging $1000/6 per night but it adds up to a few cents over $1000 making it look a little clumsy. Is there a way to do this?
Thanks again
Hello Paul,
1) According adding the message an changing the "Payment description" you can make directly inside of the ../booking/include/wpdev-premium.php file,
Please open that file, find this function definePaypalFormRequest, and at the bottom of the function content, please make your editing (CAREFULLY!!).
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.
2) According fix of highlighting the week, we will try to fix it for the next update, currently if you will how only one month its will work so. Sorry.
3) You are just need to set the fixed cost per resource at the Booking > Settings > Payment page and at this page select in selectbox "fixed sum". You are do not need to make any other cost configurations at the Cost and availability page.
OK. Thanks for that.
For 3) "fixed sum" though....when I do set that on Booking > Settings > Payment page, the booking form does not work as expected.
Usually (with this setting set to "for 1 night") when a customer selects dates, enter their details and presses "Send". This then removes the form and displays the Paypal Pay Now button which when clicked goes through to the Paypal website as expected.
But when I set this setting to "fixed sum", when a customer selects dates, enters their details and presses "Send" the form is removed and only the message "Thank you for your online reservation. We will send confirmation of your booking as soon as possible." appears and then fades away. There is no Paypal button to be seen?
Thanks
Hello.
Please try to make this fix.
So please open this file ../booking/include/wpdev-premium.php
find this code:
if (get_bk_option( 'booking_paypal_price_period' ) == 'fixed') $summ = $paypal_dayprice ;
and replace it to this code:
if (get_bk_option( 'booking_paypal_price_period' ) == 'fixed') { if (is_array($paypal_dayprice)) $summ = $paypal_dayprice[0] ; else $summ = $paypal_dayprice ; }
This fix is already implemented in the development version for the next updates.
OK - will maybe try it out and see. Thanks.
However, since my original point 2) highlighting the week is a little buggy, my client has asked me to try a different setup so I'm using "Selection of DYNAMIC number of days by TWO mouse click:".
Now with the following settings :
1) Minimum days selection number set to 7, max set to 104
2) Specific days selections set to 7
3) Start day of range set to Saturday
I am having the following issues:
a) it seems possible for a user to click just ONCE on a date, and then fill out the rest of the form and submit - booking only 1 day instead of the minimum of 7
b)If the user clicks on May 31st 2012, the calendar (only showing 1 month) becomes unclickable - no dates are clickable and the month navigation at the top has disappeared? I assume this might happen with other dates too so might prevent many bookings from being possible?
Any advice on these issues?
Hello,
for fixing issue with possibility to select one date, please make this customizations.
Please open this file: ../booking/js/wpdev.bk.js
find this code:
// Recheck Times if( typeof( is_this_time_selections_not_available ) == 'function' ) if ( is_this_time_selections_not_available( bk_type, submit_form.elements ) ) return; //Show message if no selected days if (document.getElementById('date_booking' + bk_type).value == '') {
and make this modifications:
// Recheck Times if( typeof( is_this_time_selections_not_available ) == 'function' ) if ( is_this_time_selections_not_available( bk_type, submit_form.elements ) ) return; var inst = jWPDev.datepick._getInst(document.getElementById('calendar_booking'+bk_type)); if (wpdev_bk_is_dynamic_range_selection != undefined) if ( wpdev_bk_is_dynamic_range_selection ) if (days_select_count_dynamic != undefined) if (inst.dates.length < days_select_count_dynamic ) { alert(message_verif_selectdts); return; } //Show message if no selected days if (document.getElementById('date_booking' + bk_type).value == '') {
P.S.This fix is already exist at the development version for the next update.
According point (B), unfortunately right now its not possible to fix it somehow. Please set more visible months in calendar.
hi.
I'd like to ask a question.
tooltip on calendar didn't appear when user level is Author or Subscriber.
tooltip did appear when user level is Administrator or Editor.
do you have any suggestions please?
Hello,
Its have to show correctly in any of your variants. I am retested it to be sure in that.
So, please try to clear the browser cache before testing. Try to test it gain.
Regards.
hello,
I cleared the browser cache and never eliminated.
regards,
Hello,
Please send the link to that page with booking form for retesting it.
Also the screenshots of working and not working of that example and screenshot of settings.
Regards.
Can I take the "Partially Booked" off the legend under the calendar?
Hello,
Please open the file /booking/lib/wpdev-booking-class.php
find the function declaration: get_legend
function get_legend(){ $my_result = ''; if (get_bk_option( 'booking_is_show_legend' ) == 'On') { //TODO: check here according legend $my_result .= '<div class="block_hints datepick">'; $my_result .= '<div class="wpdev_hint_with_text"><div class="block_free datepick-days-cell"><a>#</a></div><div class="block_text">- '.__('Available','wpdev-booking') .'</div></div>'; $my_result .= '<div class="wpdev_hint_with_text"><div class="block_booked date_approved">#</div><div class="block_text">- '.__('Booked','wpdev-booking') .'</div></div>'; $my_result .= '<div class="wpdev_hint_with_text"><div class="block_pending date2approve">#</div><div class="block_text">- '.__('Pending','wpdev-booking') .'</div></div>'; if ($this->wpdev_bk_pro !== false) if ($this->wpdev_bk_pro->wpdev_bk_premium !== false) $my_result .= '<div class="wpdev_hint_with_text"><div class="block_time timespartly">#</div><div class="block_text">- '.__('Partially booked','wpdev-booking') .'</div></div>'; $my_result .= '</div><div class="wpdev_clear_hint"></div>'; } return $my_result; }
and remove or comment these lines:
if ($this->wpdev_bk_pro !== false) if ($this->wpdev_bk_pro->wpdev_bk_premium !== false) $my_result .= '<div class="wpdev_hint_with_text"><div class="block_time timespartly">#</div><div class="block_text">- '.__('Partially booked','wpdev-booking') .'</div></div>';
THANK YOU.
Hi
I am looking at using this plugin with my Nerja Holiday Rentals site https://mynerja.com/rentals/holiday-rentals/ so that I can add individual booking forms to each property. Each property is a post and my question is when I create a new post (ie add a new property to the site) can I set up the booking plugin to automatically add a new resource?
I don't want to have to add a new post and then add a new resource separately. If there is a function call I could add to my php code that would be fine.
I am thinking of buying the Professional version of the plugin.
Thanks
Tony
Nerja Holiday Rentals
Hello,
you are need to make some customization inside of the your theme for such type of workflow.
At the FAQ is exist instruction how to integrate the booking form into the post or page directly in PHP file.
But for this customization you are need to know some logic how to assign the ID of booking resource from booking calendar to the specific post or page.
I can only suggest that you can use the some kind of custom fields in the post or page, where you can write the ID of booking resource for the specific post and then get this ID using the PHP and insert it into the example from FAQ.
Thanks for the reply. I can easily do the logic to add a specific booking form to each post, but what I need is a call to a function to add a new resource, that would return the ID number of the new resource. Is there a function I can call to do that?
My solution would be as follows:
1) When a new property is added to my site the code would call the function to create a new resource and then save the id of that new resource as a custom field.
2) When the property is displayed, my code would take the id from the custom field and display the appropriate booking form.
All straightforward if you can give me a function that will create the new resources (which is pretty much the "Add new resource(s)" button in the booking resources management page in the dashboard.
Booking resources managment
Hello,
sorry, but at current version, there is no separate such function.
You can check some code how todo this, at the top of content of this function wpdev_booking_resources_show_content inside of the /booking/include/wpdev-pro.php file
I just installed the Premium Booking Calendar and I'm getting the following error.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /mounted-storage/home130/sub020/sc75256-PALK/radrivertraining.ca/wp-content/plugins/booking.premium.3.0/lib/wpdev-booking-ajax.php on line 530
Hello,
Please contact your administrator os server. You're need to increase
memory for php script execution, may be also time. Also check, if at
server configuration any restrictions on size of php CALSSes loading.
Thank you.