Important!!! Check actual Support Forum, if you need to ask a Questions.
Dear Support Team, I hav a Little Problem which I am going to explain for you to understand.
I have 4 Booking Sources right now. Lets say A, B, C, D.
Example: Customers did sent an request with all his data inside the form for "Source B". Sadly he made an mistake by booking "Source B" and needs now actually "Source C". In order to Change now his made booking I am trying to assigne "Source C" for him but by doing this all the data of the customer gets lost! This is my major Problem. Changing the field entries etc. is no Problem but changing the source von B to C the data gets lost.
What can I do or why can't I Change the Source without loosing data or greating a new entry for the customer?
Any help is appriciated. Thank you very much
Hello.
Probably you are having the different "default" custom forms with different fields names for these 2 booking resources (B and C), because of that booking data from booking resource B after switching to booking resource C will not show.
If you are have the different custom forms for your booking resources, so you need to be sure that the names of the form fields are the same, otherwise its will not show booking data after such switching.
You can check about the names of form fields at the Booking > Settings > Fields page.
Please read more about the booking form fields configuration here https://wpbookingcalendar.com/help/booking-form-fields/
Kind Regards.
Hi we're on business large and i've a question about setting of the seasonal filters for costs in combination with the advanced cost forms.
For a single room, normal costs are 69,- but now we want to make price 65,- in weekends during winter.
I've added seasonal filter, called it "winterdiscount" added all dates in winter, in costs and rates i selected filter, added new cost for that filter. In the frontend nothing happens... discount is not calculated.
I do use "Advanced cost" forms to set up the shortcodes, (using percentages and fixed prices) everything works there.
Is there something i'm missing?
Hello.
Please open the Booking > Resources > Cost and rates page then click on "Rate" button near specific booking resources,
and then recheck that you activated (set checked) the checkbox at the left side near specific your rate.
Kind Regards.
Hi,
Rechecked it twice... Its activated. Any ideas?
Hello.
Please send screenshots of the Booking > Resources > Filters page and Booking > Resources > Cost and rates page (for the specific booking resource) and link to the page with that booking form, where you are having issue to the support @ wpbookingcalendar.com
P.S. Also please recheck that you do not use any cache plugins, like WP Super Cache. If you are using someone, please deactivate it or add the exception to the page with booking form !
Kind Regards.
Hello,
I have a question about receiving a confirmation e-mail after my buyer books online. I am not receiving an e-mail that buyers have booked online. I only find it on my wordpress site that someone has booked. Can you walk me through the process?
We have purchased and installed the booking plugin on a clients site alotransportation.com/demo. We are experiencing a few issues:
- The form is auto populated with an email jason@bizdev360.com. How do we remove this?
- We continue to get an error message when testing the booking calendar on the site.
- Our client would like to set up the payment to be a deposit taken only, how do we do this. Since he has various rates.
Hello.
1) Please deactivate this option: "Auto-fill fields" (set unchecked) at the General Booking Settings page in "Form" Section.
2) Relative to the error, please recheck this troubleshooting instruction here https://wpbookingcalendar.com/faq/duplicate-entry-key/
3) The deposit payment feature possible in the Booking Calendar Business Medium version (you can read in version overview about it: https://wpbookingcalendar.com/overview/ ).
But if you need just to get the fixed sum of the booking, you can set the "fixed" cost at the General Booking Settings page in "Cost" section. SO in the payment form will be show only fixed sum.
P.S. Also, please note, in your booking form you are using only "start time" field for the booking. You need to use start time and "end time" or "duration of time" or just use the "range time" shortcodes. Please read more about the booking form fields configuration here https://wpbookingcalendar.com/help/booking-form-fields/
Kind Regards.
I have question :
How to auto active user in booking user list after successfully user signup on site. ?
Please solve or ans my this question ASAP.
Thanks
Hello.
In the original versions such feature is not supporting. But you can make this fix to activate this feature:
Please open this file ../{Booking Calendar Folder}/inc/multiuser.php
add_bk_filter('wpdev_bk_get_option', array(&$this, 'wpdev_bk_get_option'));
add_bk_filter('wpdev_bk_update_option', array(&$this, 'wpdev_bk_update_option'));
add_bk_filter('wpdev_bk_delete_option', array(&$this, 'wpdev_bk_delete_option'));
add_bk_filter('wpdev_bk_add_option', array(&$this, 'wpdev_bk_add_option'));
/**/
add_action( 'user_register', array(&$this, 'activate_user_after_sign_up' ), 10, 1 );
}
function activate_user_after_sign_up( $us_id ) {
$this->reactivate_user($us_id, false); // Activate user with ID = $us_id
//update_user_option($us_id , 'booking_user_role', 'super_admin' ); // Set user as Super Booking Admin user
update_user_option($us_id, 'booking_max_num_of_resources', 5 ); // Set maximum allow booking resources for this user
}
I have purchased version, Could i do that with that version ?
Because I want to active only subscriber user type users.
So Tell me about it ?
Hello.
In the previous post I was explaining how to activate "booking admin panel" after new user is created.
So you can use that customization for the activation of the booking admin panel.
If you want to set additional check - to make activation of the "booking admin panel", if the new user only "subscriber", then in the previous code you need to have this:
add_bk_filter('wpdev_bk_get_option', array(&$this, 'wpdev_bk_get_option'));
add_bk_filter('wpdev_bk_update_option', array(&$this, 'wpdev_bk_update_option'));
add_bk_filter('wpdev_bk_delete_option', array(&$this, 'wpdev_bk_delete_option'));
add_bk_filter('wpdev_bk_add_option', array(&$this, 'wpdev_bk_add_option'));
/**/
add_action( 'user_register', array(&$this, 'activate_user_after_sign_up' ), 10, 1 ); // Activate booking admin panel, just after sign-up of new user
}
function activate_user_after_sign_up( $us_id ) {
if ( user_can( $us_id, "subscriber" ) ) {
$this->reactivate_user($us_id, false); // Activate user with ID = $us_id
//update_user_option($us_id , 'booking_user_role', 'super_admin' ); // Set user as Super Booking Admin user
update_user_option($us_id, 'booking_max_num_of_resources', 5 ); // Set maximum allow booking resources for this user
}
}
Yes , I have added the code but it is not working
I have to add deactivate that plugin and then active to effect the new code.
You can check here , I have setup a registration page , after registration user can login after activation then he can manage his/her bookings
I have purchased the pro version , so if i reactive that plugin and then active again so it affect my paid plugin ?
Hello.
Please try to replace in the previous code this:
add_action( 'user_register', array(&$this, 'activate_user_after_sign_up' ), 10, 1 ); // Activate booking admin panel, just after sign-up of new user
to this
add_action( 'wpmu_new_user', array(&$this, 'activate_user_after_sign_up' ), 10, 1 ); // Activate booking admin panel, just after sign-up of new user
It is not working
I am using "Register Plus Redux" plugin for registration.
So it need to work with it.
Thanks
Hello.
I do not familiar with that plugin.
Please contact to the support of that plugin (developer of that plugin), and ask about the hook, which is executing after visitor created with that plugin.
After that you just need to set correct hook in this code: add_action( 'user_register', array(&$this, 'activate_user_after_sign_up' ), 10, 1 );
Instead of "user_register" you need to set the hook, which is executed by that plugin.
Other issue which can generate this issue, is that you need to have some special settings for the activate.php file. Please recheck that inside of that file you have this constant defined as true: define( 'WP_INSTALLING', true );
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.
What is the location of that file activate.php ?
Its at the root of your website.
I am able to find that, signup function in that plugin, and from that plugin I am getting the user_id of that user, So how I can pass that user ID to your function to work it, Because I think for your plugin there is need only user_id .
Thanks
Ok, then you can generate some action hook in the code of that plugin (just after user created and you know the ID of that user), something similar to this:
do_action('someplugin_created_new_user', $user_id);
, where "$user_id" - its varibale with ID of your new User.
And in the code of the Booking Calendar you need to have this:
add_bk_filter('wpdev_bk_get_option', array(&$this, 'wpdev_bk_get_option'));
add_bk_filter('wpdev_bk_update_option', array(&$this, 'wpdev_bk_update_option'));
add_bk_filter('wpdev_bk_delete_option', array(&$this, 'wpdev_bk_delete_option'));
add_bk_filter('wpdev_bk_add_option', array(&$this, 'wpdev_bk_add_option'));
/**/
add_action( 'someplugin_created_new_user', array(&$this, 'activate_user_after_sign_up' ), 10, 1 ); // Activate booking admin panel, just after sign-up of new user
}
function activate_user_after_sign_up( $us_id ) {
if ( user_can( $us_id, "subscriber" ) ) {
$this->reactivate_user($us_id, false); // Activate user with ID = $us_id
//update_user_option($us_id , 'booking_user_role', 'super_admin' ); // Set user as Super Booking Admin user
update_user_option($us_id, 'booking_max_num_of_resources', 5 ); // Set maximum allow booking resources for this user
}
}
P.S. Please contact developer of that plugin, if you still will have some issue, because you need to fire that hook, in the moment when new user is verified and activated, not just during creation of that user.
Hi,
I'm using 9.Business.Large.SingleSite.5.1.4 version.
I'm using différente prices per saison for a little hotel. I have a page with a list of results : (https://www.hotelbubu.com/rooms-page/). The displayed price in the list is the standard price. But I need to display the current price with seasonal rate. Is it a bug ? How can I change that and display the good price. Thanks for your help.
Hello.
Unfortunately, in the actual versions at the search results possible to show only "standard" cost of booking resources (not the cost for the booking). The cost for the specific dates possible to see in the booking form, after visitor click on "Book now" button.
This issue will be fixed in future updates.
Kind Regards.
Thanks. Is it possible to set the image of ressource in this list results linkable to large image lighbox ?
Suggested futur features :
- display the current cost of specific dates/seasons in search results list
- Possibility to set/edit the displayed information on a page after visitor click on "book now".
Hello.
Sorry, the link for the image in search results does not support in the current versions.
Thank you for your suggestions, I will add them to the TODO list.
Kind Regards.
Hello there !
Imagine, we are the November 26. I go to the website of my customer and want to book 1 night for an arrival today. So that means I leave on November 27.
My customer doesn't want that and prefer the visitor to call the guesthouse ...
How can I configure this in the 9.Business.Large.SingleSite.5.1.4 ?
Well, my customer wants to block the day which corresponds with the date of the check-in.
Or, a way to explain, in the form of booking, to the visitor that he can't book only for 1 day ... Cause, for now, it's not clear in fact ...
But, my customer really wants to find a solution to block a day in order that he couldn't be booked if the day mix with the check-in date.
Thanks in advance
Best regards
Séb
Hello.
I am not sure that clearly understood you,
probably you just need to activate the "range days selection" mode using 2 mouse clicks and and explain in the booking form that visitor need to select 2 days in calendar (first and last day of selections). Also in the settings you can set that visitor can select minimum 2 days.
If you was meaning something else, please explain it more detail.
Kind Regards.
Hello,
Ok, I selected minimum 2 days in the settings, but, there is no message that inform the visitor that he has to choose 2 days (check-in and check-out).
So, ok, we can inform him in a standard message, but I would prefer to have a popup message that say : "Becareful, you have to choose 2 days minimum" ...
Best regards
Hello.
Please try to make this fix to show message about selecting of "Check out date", if visitor selected only 1st day.
Please open this file ../{Booking Calendar Folder}/inc/js/biz_s.js
then find this code:
//Calculate the cost and show inside of form
if(typeof( showCostHintInsideBkForm ) == 'function') { showCostHintInsideBkForm( bk_type); }
and replace it to this code:
//Calculate the cost and show inside of form
if(typeof( showCostHintInsideBkForm ) == 'function') { showCostHintInsideBkForm( bk_type); }
if ( jQuery('#booking_form_div'+bk_type+' input[type="button"]').prop('disabled' ) ) {
jQuery( '#date_booking' + bk_type ).after( "<span class='message_elect_checkout wpdev-help-message wpdev-element-message alert'>Please, select 'Check Out' date at Calendar.</span>" );
jQuery(".message_elect_checkout")
.animate( {opacity: 1}, 10000 )
.fadeOut( 2000 );
} else {
jQuery(".message_elect_checkout").remove();
}
Please clear the browser cache, before testing of this fix.
Kind Regards.
Hello again,
Sorry for inconveniance but my customer wants that things will be clear for visitors.
Your last solution is very good.
But
My customer wants you to take a look at the calendar and wants you to explain to me how to do this :
1 - Please click on this link : https://rainbowinn.ch.vtxhosting.ch/?page_id=40&lang=en
2 - On December 24, a visitor can book this day to sleep in the hotel. But, the logicial of your plugin is to choose a check-out date. As you can see, it's not possible to choose the December 25, cause it's already booked.
The hotel logical wants that a customer book the December 24, and, in the form, where you see "Check-in : ... Check-out : ... Number of night(s) : ...", you see :
Check-in : 24.12.2014 Check-out : 25.12.2012 Number of night(s) : 1
and not : Check-in : 24.12.2014 Check-out : 24.12.2012 Number of night(s) : 1
So, how can I resolve that issue? Where and how can I configure the plugin to have the correct days and costs days, of course ?
If you can find a solution, then, I won't ask you other questions in the future 😉
Thanks a lot in advance,
Best regards,
séb
PS : I can give you an admin access to the website if wou want. Just ask me by email.
Hello.
You can not book 24 - 25 of December, because 2 previous bookings was making in a wrong way (before you configured the system correctly).
Those 2 bookings for the dates 12-24 of December and 25-27 of December, was making with check in time set to "00:00", whats was wrong. And thats why you are having right now these dates (12 of December and 25 of December) as fully booked. And its not half days booking as it have to be. For exmaple, you can see test my booking for the 10-12 of June 2015, and there start and end dates are half booked.
Right now you are having correct configuration (of check in/out times) so all new bookings will be possible to finish at the dates, when the old bookings was starting.
According to those dates, you can just edit those bookings, for having the check in days of those bookings as half booked, or cacnle them and then create those bookings again.
2) You can configure the rates at the Booking > Resources > Cost and rates page by clicking on the "Rate button". Please check more here: https://wpbookingcalendar.com/overview/#rates
P.S. Do not forget to activate the specific rate (left checkbox near specific rate at that page).
Kind Regards.
Right now you are having cor
Ok, I understand what you said. It's perfectly clear. My head is too much of codes, etc... sorry 🙁
So, last question before my customer asked me it ...
Is it possible, in the code (JS or I don't know where), to personalize the title, what will show in mouseover tooltip near booked timeslot(s) ?
For check-in : A message X
For check-out : A message Y ?
It would be perfect.
Hello.
If you will always use only the check in and check out times in that booking form, so probably you will be need to have only 2 titles there.
Then you can make this fix:
Please open this file ../{Booking Calendar Folder}/inc/js/biz_s.js
if (s == 1) {
tooltip_time = '<span class="wpbc_booked_times_word">'+ 'A message X' + '</span><br />' + tooltip_time ;
} else {
tooltip_time = '<span class="wpbc_booked_times_word">'+ 'A message B' + '</span><br />' + tooltip_time ;
}
Please note, if you will modify the source code of the Booking Calendar, we will not guaranteed correct work of plugin and do not support it.
That's wonderful !! 😉 You are the best !
I think it's only possible in 1 language, not in 3 differents languages ... ?
Hello.
Yes, only in one language. But if you know some JavaScript variable that define the language (I do not know know about it), you can also add some additional logic there to have it in different languages.
Kind Regards.
Hi,
I would like to show the name of the customer that has made the reservation 'live' on the website for anyone to see. Is this possible in any of the versions, or can I make this happen by changing some code within the program?
Hello.
Its possible to make a little trick (in the Booking Calendar Business Small and higher versions ) to show in the "mouse over tooltip" over specific booked timeslot (please note the booking must be made for the specific timeslot, and not the full date), the Name of the person, who made the booking.
Example: 11:00 - 12:00 Jony Mack
But please note this feature can impact to the performance, so we do not recommend to activate it.
If you are still want to activate it,so please open this file: ../{Booking Calendar Folder}/lib/wpbc-constants.php (in older versions its was here: ../{Booking Calendar Folder}/wpdev-booking.php ) find this code:
if (!defined('WP_BK_SHOW_INFO_IN_FORM')) define('WP_BK_SHOW_INFO_IN_FORM', false ); // This feature can impact to the performace
and replace to this code:
if (!defined('WP_BK_SHOW_INFO_IN_FORM')) define('WP_BK_SHOW_INFO_IN_FORM', true); // This feature can impact to the performace
Kind Regards.
Hi again, what are the terms fir the multi site version (5 site activation), i.e. is there a time limit when all the activations must be made? I have urgent need for two calendars but can see a future need for more./Ben
Hello.
No, there are no time limits. So you can activate your version of Booking Calendar in any time, after your purchase.
Kind Regards.
My WordPress installation just upgraded to 4.0.1 and now the booking system is not working on the front-end. I can click on the first date for the booking, then I try to click not he end (second) date for the booking, and it removes all selection. I tested it on the back-end booking form and everything works just fine still.
As best I can tell there some portion of the javascript is not loading. I've tried toggling the enable/disable the bootstrap javascript in the settings for the booking system. I'm trying to figure out where the conflict is, i.e. with the upgraded wordpress or template, but I'm getting stuck.
Any ideas?
Hello.
1) Firstly please update your version to the latest update 5.2.1
2) Then please clear the browser cache and test it. Please check your page for the any JavaScript errors, and try to fix them.
If the issue still exist, please try this.
Please try to deactivate one by one all your active plugins at the WordPress > Plugins menu. Then retest it again.
If its not help, please deactivate your active theme and active the default wordpress theme. And then retest it again. May be there exist some conflict with some active plugin or actual theme and just need to find the reason of that issue.
Kind Regards.
Thanks... I was able to deduce that there was a jquery conflict with another plugin... Working on finding a substitute for that, but looks like I'm all back online.
Dear Support Team, I hav a Little Problem which I am going to explain for you to understand.
I have 4 Booking Sources right now. Lets say A, B, C, D.
Example: Customers did sent an request with all his data inside the form for "Source B". Sadly he made an mistake by booking "Source B" and needs now actually "Source C". In order to Change now his made booking I am trying to assigne "Source C" for him but by doing this all the data of the customer gets lost! This is my major Problem. Changing the field entries etc. is no Problem but changing the source von B to C the data gets lost.
What can I do or why can't I Change the Source without loosing data or greating a new entry for the customer?
Any help is appriciated. Thank you very much
Hello.
Probably you are having the different "default" custom forms with different fields names for these 2 booking resources (B and C), because of that booking data from booking resource B after switching to booking resource C will not show.
If you are have the different custom forms for your booking resources, so you need to be sure that the names of the form fields are the same, otherwise its will not show booking data after such switching.
You can check about the names of form fields at the Booking > Settings > Fields page.
Please read more about the booking form fields configuration here https://wpbookingcalendar.com/help/booking-form-fields/
Kind Regards.
Hi we're on business large and i've a question about setting of the seasonal filters for costs in combination with the advanced cost forms.
For a single room, normal costs are 69,- but now we want to make price 65,- in weekends during winter.
I've added seasonal filter, called it "winterdiscount" added all dates in winter, in costs and rates i selected filter, added new cost for that filter. In the frontend nothing happens... discount is not calculated.
I do use "Advanced cost" forms to set up the shortcodes, (using percentages and fixed prices) everything works there.
Is there something i'm missing?
Hello.
Please open the Booking > Resources > Cost and rates page then click on "Rate" button near specific booking resources,
and then recheck that you activated (set checked) the checkbox at the left side near specific your rate.
Kind Regards.
Hi,
Rechecked it twice... Its activated. Any ideas?
Hello.
Please send screenshots of the Booking > Resources > Filters page and Booking > Resources > Cost and rates page (for the specific booking resource) and link to the page with that booking form, where you are having issue to the support @ wpbookingcalendar.com
P.S. Also please recheck that you do not use any cache plugins, like WP Super Cache. If you are using someone, please deactivate it or add the exception to the page with booking form !
Kind Regards.
Hello,
I have a question about receiving a confirmation e-mail after my buyer books online. I am not receiving an e-mail that buyers have booked online. I only find it on my wordpress site that someone has booked. Can you walk me through the process?
Hello.
If you do not receive emails, after new bookings, then please recheck this troubleshooting instruction: https://wpbookingcalendar.com/faq/do-not-get-emails/
Kind regards.
We have purchased and installed the booking plugin on a clients site alotransportation.com/demo. We are experiencing a few issues:
- The form is auto populated with an email jason@bizdev360.com. How do we remove this?
- We continue to get an error message when testing the booking calendar on the site.
- Our client would like to set up the payment to be a deposit taken only, how do we do this. Since he has various rates.
Hello.
1) Please deactivate this option: "Auto-fill fields" (set unchecked) at the General Booking Settings page in "Form" Section.
2) Relative to the error, please recheck this troubleshooting instruction here https://wpbookingcalendar.com/faq/duplicate-entry-key/
3) The deposit payment feature possible in the Booking Calendar Business Medium version (you can read in version overview about it: https://wpbookingcalendar.com/overview/ ).
But if you need just to get the fixed sum of the booking, you can set the "fixed" cost at the General Booking Settings page in "Cost" section. SO in the payment form will be show only fixed sum.
P.S. Also, please note, in your booking form you are using only "start time" field for the booking. You need to use start time and "end time" or "duration of time" or just use the "range time" shortcodes. Please read more about the booking form fields configuration here https://wpbookingcalendar.com/help/booking-form-fields/
Kind Regards.
I have question :
How to auto active user in booking user list after successfully user signup on site. ?
Please solve or ans my this question ASAP.
Thanks
Hello.
In the original versions such feature is not supporting. But you can make this fix to activate this feature:
Please open this file ../{Booking Calendar Folder}/inc/multiuser.php
then find this code:
add_bk_filter('wpdev_bk_get_option', array(&$this, 'wpdev_bk_get_option')); add_bk_filter('wpdev_bk_update_option', array(&$this, 'wpdev_bk_update_option')); add_bk_filter('wpdev_bk_delete_option', array(&$this, 'wpdev_bk_delete_option')); add_bk_filter('wpdev_bk_add_option', array(&$this, 'wpdev_bk_add_option')); /**/ }
and replace it to this code:
add_bk_filter('wpdev_bk_get_option', array(&$this, 'wpdev_bk_get_option')); add_bk_filter('wpdev_bk_update_option', array(&$this, 'wpdev_bk_update_option')); add_bk_filter('wpdev_bk_delete_option', array(&$this, 'wpdev_bk_delete_option')); add_bk_filter('wpdev_bk_add_option', array(&$this, 'wpdev_bk_add_option')); /**/ add_action( 'user_register', array(&$this, 'activate_user_after_sign_up' ), 10, 1 ); } function activate_user_after_sign_up( $us_id ) { $this->reactivate_user($us_id, false); // Activate user with ID = $us_id //update_user_option($us_id , 'booking_user_role', 'super_admin' ); // Set user as Super Booking Admin user update_user_option($us_id, 'booking_max_num_of_resources', 5 ); // Set maximum allow booking resources for this user }
I have purchased version, Could i do that with that version ?
Because I want to active only subscriber user type users.
So Tell me about it ?
Hello.
In the previous post I was explaining how to activate "booking admin panel" after new user is created.
So you can use that customization for the activation of the booking admin panel.
If you want to set additional check - to make activation of the "booking admin panel", if the new user only "subscriber", then in the previous code you need to have this:
add_bk_filter('wpdev_bk_get_option', array(&$this, 'wpdev_bk_get_option')); add_bk_filter('wpdev_bk_update_option', array(&$this, 'wpdev_bk_update_option')); add_bk_filter('wpdev_bk_delete_option', array(&$this, 'wpdev_bk_delete_option')); add_bk_filter('wpdev_bk_add_option', array(&$this, 'wpdev_bk_add_option')); /**/ add_action( 'user_register', array(&$this, 'activate_user_after_sign_up' ), 10, 1 ); // Activate booking admin panel, just after sign-up of new user } function activate_user_after_sign_up( $us_id ) { if ( user_can( $us_id, "subscriber" ) ) { $this->reactivate_user($us_id, false); // Activate user with ID = $us_id //update_user_option($us_id , 'booking_user_role', 'super_admin' ); // Set user as Super Booking Admin user update_user_option($us_id, 'booking_max_num_of_resources', 5 ); // Set maximum allow booking resources for this user } }
Yes , I have added the code but it is not working
I have to add deactivate that plugin and then active to effect the new code.
You can check here , I have setup a registration page , after registration user can login after activation then he can manage his/her bookings
I have purchased the pro version , so if i reactive that plugin and then active again so it affect my paid plugin ?
https://rentmvp.com/wp-signup.php
Thanks
Hello.
Please try to replace in the previous code this:
add_action( 'user_register', array(&$this, 'activate_user_after_sign_up' ), 10, 1 ); // Activate booking admin panel, just after sign-up of new user
to this
add_action( 'wpmu_new_user', array(&$this, 'activate_user_after_sign_up' ), 10, 1 ); // Activate booking admin panel, just after sign-up of new user
It is not working
I am using "Register Plus Redux" plugin for registration.
So it need to work with it.
Thanks
Hello.
I do not familiar with that plugin.
Please contact to the support of that plugin (developer of that plugin), and ask about the hook, which is executing after visitor created with that plugin.
After that you just need to set correct hook in this code:
add_action( 'user_register', array(&$this, 'activate_user_after_sign_up' ), 10, 1 );
Instead of "user_register" you need to set the hook, which is executed by that plugin.
Other issue which can generate this issue, is that you need to have some special settings for the activate.php file. Please recheck that inside of that file you have this constant defined as true:
define( 'WP_INSTALLING', true );
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.
What is the location of that file activate.php ?
Its at the root of your website.
I am able to find that, signup function in that plugin, and from that plugin I am getting the user_id of that user, So how I can pass that user ID to your function to work it, Because I think for your plugin there is need only user_id .
Thanks
Ok, then you can generate some action hook in the code of that plugin (just after user created and you know the ID of that user), something similar to this:
do_action('someplugin_created_new_user', $user_id);
, where "$user_id" - its varibale with ID of your new User.
And in the code of the Booking Calendar you need to have this:
add_bk_filter('wpdev_bk_get_option', array(&$this, 'wpdev_bk_get_option')); add_bk_filter('wpdev_bk_update_option', array(&$this, 'wpdev_bk_update_option')); add_bk_filter('wpdev_bk_delete_option', array(&$this, 'wpdev_bk_delete_option')); add_bk_filter('wpdev_bk_add_option', array(&$this, 'wpdev_bk_add_option')); /**/ add_action( 'someplugin_created_new_user', array(&$this, 'activate_user_after_sign_up' ), 10, 1 ); // Activate booking admin panel, just after sign-up of new user } function activate_user_after_sign_up( $us_id ) { if ( user_can( $us_id, "subscriber" ) ) { $this->reactivate_user($us_id, false); // Activate user with ID = $us_id //update_user_option($us_id , 'booking_user_role', 'super_admin' ); // Set user as Super Booking Admin user update_user_option($us_id, 'booking_max_num_of_resources', 5 ); // Set maximum allow booking resources for this user } }
P.S. Please contact developer of that plugin, if you still will have some issue, because you need to fire that hook, in the moment when new user is verified and activated, not just during creation of that user.
Hi,
I'm using 9.Business.Large.SingleSite.5.1.4 version.
I'm using différente prices per saison for a little hotel. I have a page with a list of results : (https://www.hotelbubu.com/rooms-page/). The displayed price in the list is the standard price. But I need to display the current price with seasonal rate. Is it a bug ? How can I change that and display the good price. Thanks for your help.
Hello.
Unfortunately, in the actual versions at the search results possible to show only "standard" cost of booking resources (not the cost for the booking). The cost for the specific dates possible to see in the booking form, after visitor click on "Book now" button.
This issue will be fixed in future updates.
Kind Regards.
Thanks. Is it possible to set the image of ressource in this list results linkable to large image lighbox ?
Suggested futur features :
- display the current cost of specific dates/seasons in search results list
- Possibility to set/edit the displayed information on a page after visitor click on "book now".
Hello.
Sorry, the link for the image in search results does not support in the current versions.
Thank you for your suggestions, I will add them to the TODO list.
Kind Regards.
Hello there !
Imagine, we are the November 26. I go to the website of my customer and want to book 1 night for an arrival today. So that means I leave on November 27.
My customer doesn't want that and prefer the visitor to call the guesthouse ...
How can I configure this in the 9.Business.Large.SingleSite.5.1.4 ?
Thanks for your answer !
Best regards
Hello.
Your visitor just need to select 2 dates in calendar (26 and 27 of November) for making such booking.
Also probably you will be need to activate the "Check in/out times" feature, please read more here: https://wpbookingcalendar.com/overview/#change-over-days
and activate the range days selection mode, please check more here: https://wpbookingcalendar.com/overview/#range-days-selection
Kind Regards.
Hello again,
Well, my customer wants to block the day which corresponds with the date of the check-in.
Or, a way to explain, in the form of booking, to the visitor that he can't book only for 1 day ... Cause, for now, it's not clear in fact ...
But, my customer really wants to find a solution to block a day in order that he couldn't be booked if the day mix with the check-in date.
Thanks in advance
Best regards
Séb
Hello.
I am not sure that clearly understood you,
probably you just need to activate the "range days selection" mode using 2 mouse clicks and and explain in the booking form that visitor need to select 2 days in calendar (first and last day of selections). Also in the settings you can set that visitor can select minimum 2 days.
If you was meaning something else, please explain it more detail.
Kind Regards.
Hello,
Ok, I selected minimum 2 days in the settings, but, there is no message that inform the visitor that he has to choose 2 days (check-in and check-out).
So, ok, we can inform him in a standard message, but I would prefer to have a popup message that say : "Becareful, you have to choose 2 days minimum" ...
Best regards
Hello.
Please try to make this fix to show message about selecting of "Check out date", if visitor selected only 1st day.
Please open this file ../{Booking Calendar Folder}/inc/js/biz_s.js
then find this code:
//Calculate the cost and show inside of form if(typeof( showCostHintInsideBkForm ) == 'function') { showCostHintInsideBkForm( bk_type); }
and replace it to this code:
//Calculate the cost and show inside of form if(typeof( showCostHintInsideBkForm ) == 'function') { showCostHintInsideBkForm( bk_type); } if ( jQuery('#booking_form_div'+bk_type+' input[type="button"]').prop('disabled' ) ) { jQuery( '#date_booking' + bk_type ).after( "<span class='message_elect_checkout wpdev-help-message wpdev-element-message alert'>Please, select 'Check Out' date at Calendar.</span>" ); jQuery(".message_elect_checkout") .animate( {opacity: 1}, 10000 ) .fadeOut( 2000 ); } else { jQuery(".message_elect_checkout").remove(); }
Please clear the browser cache, before testing of this fix.
Kind Regards.
Hello again,
Sorry for inconveniance but my customer wants that things will be clear for visitors.
Your last solution is very good.
But
My customer wants you to take a look at the calendar and wants you to explain to me how to do this :
1 - Please click on this link : https://rainbowinn.ch.vtxhosting.ch/?page_id=40&lang=en
2 - On December 24, a visitor can book this day to sleep in the hotel. But, the logicial of your plugin is to choose a check-out date. As you can see, it's not possible to choose the December 25, cause it's already booked.
The hotel logical wants that a customer book the December 24, and, in the form, where you see "Check-in : ... Check-out : ... Number of night(s) : ...", you see :
Check-in : 24.12.2014 Check-out : 25.12.2012 Number of night(s) : 1
and not : Check-in : 24.12.2014 Check-out : 24.12.2012 Number of night(s) : 1
So, how can I resolve that issue? Where and how can I configure the plugin to have the correct days and costs days, of course ?
If you can find a solution, then, I won't ask you other questions in the future 😉
Thanks a lot in advance,
Best regards,
séb
PS : I can give you an admin access to the website if wou want. Just ask me by email.
Hello.
You can not book 24 - 25 of December, because 2 previous bookings was making in a wrong way (before you configured the system correctly).
Those 2 bookings for the dates 12-24 of December and 25-27 of December, was making with check in time set to "00:00", whats was wrong. And thats why you are having right now these dates (12 of December and 25 of December) as fully booked. And its not half days booking as it have to be. For exmaple, you can see test my booking for the 10-12 of June 2015, and there start and end dates are half booked.
Right now you are having correct configuration (of check in/out times) so all new bookings will be possible to finish at the dates, when the old bookings was starting.
According to those dates, you can just edit those bookings, for having the check in days of those bookings as half booked, or cacnle them and then create those bookings again.
2) You can configure the rates at the Booking > Resources > Cost and rates page by clicking on the "Rate button". Please check more here: https://wpbookingcalendar.com/overview/#rates
P.S. Do not forget to activate the specific rate (left checkbox near specific rate at that page).
Kind Regards.
Right now you are having cor
Ok, I understand what you said. It's perfectly clear. My head is too much of codes, etc... sorry 🙁
So, last question before my customer asked me it ...
Is it possible, in the code (JS or I don't know where), to personalize the title, what will show in mouseover tooltip near booked timeslot(s) ?
For check-in : A message X
For check-out : A message Y ?
It would be perfect.
Hello.
If you will always use only the check in and check out times in that booking form, so probably you will be need to have only 2 titles there.
Then you can make this fix:
Please open this file ../{Booking Calendar Folder}/inc/js/biz_s.js
then find this code:
tooltip_time = '<span class="wpbc_booked_times_word">'+bk_highlight_timeslot_word + '</span><br />' + tooltip_time ;
and replace it to this code:
if (s == 1) { tooltip_time = '<span class="wpbc_booked_times_word">'+ 'A message X' + '</span><br />' + tooltip_time ; } else { tooltip_time = '<span class="wpbc_booked_times_word">'+ 'A message B' + '</span><br />' + tooltip_time ; }
Please note, if you will modify the source code of the Booking Calendar, we will not guaranteed correct work of plugin and do not support it.
That's wonderful !! 😉 You are the best !
I think it's only possible in 1 language, not in 3 differents languages ... ?
Hello.
Yes, only in one language. But if you know some JavaScript variable that define the language (I do not know know about it), you can also add some additional logic there to have it in different languages.
Kind Regards.
Hi,
I would like to show the name of the customer that has made the reservation 'live' on the website for anyone to see. Is this possible in any of the versions, or can I make this happen by changing some code within the program?
Hello.
Its possible to make a little trick (in the Booking Calendar Business Small and higher versions ) to show in the "mouse over tooltip" over specific booked timeslot (please note the booking must be made for the specific timeslot, and not the full date), the Name of the person, who made the booking.
Example:
11:00 - 12:00 Jony Mack
But please note this feature can impact to the performance, so we do not recommend to activate it.
If you are still want to activate it,so please open this file: ../{Booking Calendar Folder}/lib/wpbc-constants.php (in older versions its was here: ../{Booking Calendar Folder}/wpdev-booking.php ) find this code:
if (!defined('WP_BK_SHOW_INFO_IN_FORM')) define('WP_BK_SHOW_INFO_IN_FORM', false ); // This feature can impact to the performace
and replace to this code:
if (!defined('WP_BK_SHOW_INFO_IN_FORM')) define('WP_BK_SHOW_INFO_IN_FORM', true); // This feature can impact to the performace
Kind Regards.
Hi again, what are the terms fir the multi site version (5 site activation), i.e. is there a time limit when all the activations must be made? I have urgent need for two calendars but can see a future need for more./Ben
Hello.
No, there are no time limits. So you can activate your version of Booking Calendar in any time, after your purchase.
Kind Regards.
My WordPress installation just upgraded to 4.0.1 and now the booking system is not working on the front-end. I can click on the first date for the booking, then I try to click not he end (second) date for the booking, and it removes all selection. I tested it on the back-end booking form and everything works just fine still.
As best I can tell there some portion of the javascript is not loading. I've tried toggling the enable/disable the bootstrap javascript in the settings for the booking system. I'm trying to figure out where the conflict is, i.e. with the upgraded wordpress or template, but I'm getting stuck.
Any ideas?
Hello.
1) Firstly please update your version to the latest update 5.2.1
If you are using the paid version of booking calendar, you can request the new update of Booking Calendar on this page: https://wpbookingcalendar.com/request-update/
2) Then please clear the browser cache and test it. Please check your page for the any JavaScript errors, and try to fix them.
If the issue still exist, please try this.
Please try to deactivate one by one all your active plugins at the WordPress > Plugins menu. Then retest it again.
If its not help, please deactivate your active theme and active the default wordpress theme. And then retest it again. May be there exist some conflict with some active plugin or actual theme and just need to find the reason of that issue.
Kind Regards.
Thanks... I was able to deduce that there was a jquery conflict with another plugin... Working on finding a substitute for that, but looks like I'm all back online.
Thanks!