Important!!! Check actual Support Forum, if you need to ask a Questions.
Is it possible to hide certain days depending on what day it is? For example, on one of my calendars you can book 5 days starting on Monday and can only book Monday-Friday. So if it's any day after Monday, I want all of the days this week to be marked as unavailable until the next week starts. Here's a screenshot of what I mean: https://imgur.com/7GDSSrt
hi,
I write because i'm having problems with reservations. Since I installed Booking Calendar, from one moment to another appears 24 reservations with blank fields.
What can be caused this?
I have the small bussines version intalled yesterday march 26, 2018.
I also have the latest wordpress versión 4.9.4–es_ES.
Hello.
Please be sure that you have configured correctly booking form fields at the “Content of booking fields data” form at the Booking > Settings > Form page.
Please read more about the booking form fields configuration here https://wpbookingcalendar.com/help/booking-form-fields/
Please use shortcode generator at the right side of the Booking > Settings > Form page for the fast and correct creation of booking form fields.
I also i need help with the color of the send button.
How can I change the color?
It happens to me that all the available templates have the color of the button very clear, and I want to leave it to a more lively color.
This is the page where I have the booking calendar installed
Hi, I want to try to customize 100% of search form of Booking Calendar but I don't know how.
I've tried through admin panel but it is limited, so I've tried to echo do_shortcode("...") to get styles, scripts and form elements to integrate fully in my pre-built website template but it doesn't work! Why?
How to get output of search form shortcode and customize 100% to integrate fully it on my website template?
Please, be clear!
Thanks
Hello.
1) If you want to customize CSS of the search form, so you can do this in file like this: ../{Booking Calendar Folder}/inc/css/search-form.css
2) In the settings at the Booking > Settings > Search page you can configure your search form and search results only with shortcodes that you can find at help section.
3) If you need to use configuration with PHP, so then its means that you need to customize PHP source code in plugin. Its does not possible to use PHP in settings pages at the Booking > Settings > Search page.
You can customize your search form at this file ../{Booking Calendar Folder}/inc/_bl/biz_l.php in this function function wpdev_get_booking_search_form($search_form, $attr){
and search results in this file ../{Booking Calendar Folder}/inc/_bl/wpbc-search-availability.php
in content of this function: public function show_results( $free_objects, $bk_date_start, $bk_date_finish ) {
Disclaimer!!! Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
Thank you for understanding.
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.
Kind Regards.
Hi There,
Where do i see the user action audti log?
THanks.
regards,
aaron
audit *
Hello.
Currently Booking Calendar does not support some detail audit log on user actions. Sorry.
In your server configuration have to be the general access.log for any actions at your website. Please contact your hosting support, if you can not find this log.
Thank you.
Hi Support,
Can set regular user able to view other regular user resources yet in your system?
regrsds,
Aaron
Hello.
No, the regular users can see only own bookings, booking resources and settings. They can not see this data from other users.
Kind Regards.
Hi Support,
Can you give me the block of code where all emails by default send out based on login user instead of email they set? If possible please provide me sample code.
Because now all users are admin but we could track who is the one that deleted off all the bookings in our operation.
I hope you can help me on this.
Thanks.
Hi Support,
Let me rephrase.
All users are admin now and we couldnt trace who deleted all the bookings.
Can you give me the block of code where i can customize the email setting by default it use the login user profile email rather than setting an email there.
This can be achieve if i customize if email setting field is empty, it will just use login user profile email to send.
Thanks.
Hello.
During activation booking admin panel for new regular user at the Booking > Settings > Users page, relative to the emails, is executing this code in this file ../{Booking Calendar Folder}/inc/_mu/multiuser.php
So you need to chage this line: $email_data['to'] = get_user_option('user_email', $us_id );
to code like this: $email_data['to'] = 'email@server.com';
If you want that Regular user do not have access the Booking > Settings General page and to the Booking > Settings > Emails pages, so then you need to login as super booking admin user and at the Booking > Settings General page in User role sections for the menu "Settings" set minimum user role as "Administrator" and all your regular users set with user role as "Subscriber" or with some other lower user role, than you was saved in Booking > Settings General page.
Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
Thank you for understanding.
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.
Kind Regards.
I have 5 booking admin user but when they create a new booking, they are using the same email in booking>setting>email that is set "from" to send out email.
Instead of that, can you give me some tips where i could hardcore to ignore the that email "from" and send email using their login ID email.
what if hardcode to send email based on their login id email ?
Hello.
1) Booking Calendar is sending email to the email address that saved at the Booking > Settings > Emails page
2) In Booking Calendar MultiUser version during initial activation of regular user from the Booking > Settings > Users page, the email address at the Booking > Settings > Emails page is saved from email address of specific User Profile, that was activated.
3) If you want to make customization, and set some static email at the Booking > Settings > Emails page and do not allow visitor to change it, so then you can make customization similar to this:
Please open this file ../{Booking Calendar Folder}/core/admin/page-email-new-admin.php
/** Update Email template to DB */
public function update() {
// Get Validated Email fields
$validated_fields = $this->mail_api()->validate_post();
and replace it to this code:
/** Update Email template to DB */
public function update() {
// Get Validated Email fields
$validated_fields = $this->mail_api()->validate_post();
$validated_fields['to'] = get_user_option('user_email', get_current_user_id() ); // Update email to email from user profile
Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
Thank you for understanding.
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.
Can you let me know where is the block of code where i can customise to add in more shortcode? because i need to put shortcode to pull out the user name that login to do booking in the email.
Thanks.
regards,
Aaron
Hello.
In the email templates does not possible to use "custom" shortcodes or PHP code. Sorry.
You can find email template that is relative to bookings that is completely deleteing in this file ../{Booking Calendar Folder}/core/admin/page-email-deleted.php
function that is execurting for sending these emails is: function wpbc__get_replace_shortcodes__email_deleted( $booking_id, $bktype, $formdata ) {
There is exist array of replacement for shortcodes in email:
...
$replace[ 'booking_id' ] = $booking_id;
$replace[ 'id' ] = $replace[ 'booking_id' ];
$replace[ 'dates' ] = $my_dates_4_send;
$replace[ 'check_in_date' ] = $my_check_in_date;
...
For other emails (which you can find files in the same folder ../{Booking Calendar Folder}/booking/core/admin/page-email-XXXXX.php ), you can find relative send function in the bottom of specific file, as well.
Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
Thank you for understanding.
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.
Kind Regards.
Hello.
You need to test it. Please check disclaimer, in my previous messages.
I can suggest that the code, can look like this:
$current_user = wp_get_current_user();
$current_user->display_name;
$replace[ 'current_user' ] = $current_user->display_name;
And then in the email templates at the Booking > Settings > Emails page to use this shortcode: [current_user]
Please note, this code was not tested, its just a suggestion.
Kind Regards.
It works !! million thanks!
i will keep this block of code and post in idea where new shortcode need to be added on your roadmap to track which user login to do changes. Since your plugin dont have audit log, I strongly suggest it is important to know at least who create/edit/cancel/delete booking as it is crucial to hotel operation.
side note: the reversation that resign delete almost all the booking before he left but we do not have prove and we have to report police due to such incident.
Hello.
Thank you for suggestions, please provide, which usefull shortcodes do you need to have in the emails, and we will include them into the new updates of Booking Calendar.
Thank you.
Hi I have a 2 site website license and need to remove one of the websites from my current license, how do I do that?
Thanks Cathy
Hello.
Please send your order ID and url to website (which you want to proceed), to the support @ wpbookingcalendar.com
Thank you.
Thanks.
You will be able to deactive the current url which access to wp admin?
Hello.
Yes, we will de-register your license.
Kind Regards.
Is it possible to hide certain days depending on what day it is? For example, on one of my calendars you can book 5 days starting on Monday and can only book Monday-Friday. So if it's any day after Monday, I want all of the days this week to be marked as unavailable until the next week starts. Here's a screenshot of what I mean: https://imgur.com/7GDSSrt
Hello.
1) Its possible in the Booking Calendar Business Medium or higher versions for different booking resources (calendars) to set as available or unavailable specific dates based on season filters. Check more about this feature here: https://wpbookingcalendar.com/overview/#availability
Watch it in this video guide https://wpbookingcalendar.com/help/booking-calendar-video-season-availability/
2) Also in the Booking Calendar Business Medium or higher versions possible to set the conditions for different type of days selections for the different seasons: https://wpbookingcalendar.com/overview/#advanced-days-selection
Or if you simply need to define the different type of days selections for different booking resources (calendars) at the different pages, so then check this: https://wpbookingcalendar.com/faq/advanced-javascript-for-the-booking-shortcodes/
Kind Regards.
hi,
I write because i'm having problems with reservations. Since I installed Booking Calendar, from one moment to another appears 24 reservations with blank fields.
What can be caused this?
I have the small bussines version intalled yesterday march 26, 2018.
I also have the latest wordpress versión 4.9.4–es_ES.
Hello.
Please be sure that you have configured correctly booking form fields at the “Content of booking fields data” form at the Booking > Settings > Form page.
Please read more about the booking form fields configuration here https://wpbookingcalendar.com/help/booking-form-fields/
Please use shortcode generator at the right side of the Booking > Settings > Form page for the fast and correct creation of booking form fields.
Watch it in this video guide https://wpbookingcalendar.com/help/booking-form-fields-settings-video-tutorial/
Kind Regards.
Thanks... problem solved
I also i need help with the color of the send button.
How can I change the color?
It happens to me that all the available templates have the color of the button very clear, and I want to leave it to a more lively color.
This is the page where I have the booking calendar installed
Hello.
Please try to make fix like this.
( You can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )
Please open this file ../{Booking Calendar Folder}/css/client.css
and add to the bottom of this file this code:
.booking_form input[type="button"], .booking_form button { background:#333 !important; border-color:#000 !important; }
Of course colors there can be different. You can set there different color codes.
PS Please do not forget to clear browser cache before testing these changes.
Thanks... Solved.
http://www.shsalud.cl/reserva-hora-lidia-gallegos-s/
Hi, I want to try to customize 100% of search form of Booking Calendar but I don't know how.
I've tried through admin panel but it is limited, so I've tried to echo do_shortcode("...") to get styles, scripts and form elements to integrate fully in my pre-built website template but it doesn't work! Why?
How to get output of search form shortcode and customize 100% to integrate fully it on my website template?
Please, be clear!
Thanks
Hello.
1) If you want to customize CSS of the search form, so you can do this in file like this: ../{Booking Calendar Folder}/inc/css/search-form.css
2) In the settings at the Booking > Settings > Search page you can configure your search form and search results only with shortcodes that you can find at help section.
3) If you need to use configuration with PHP, so then its means that you need to customize PHP source code in plugin. Its does not possible to use PHP in settings pages at the Booking > Settings > Search page.
You can customize your search form at this file ../{Booking Calendar Folder}/inc/_bl/biz_l.php in this function
function wpdev_get_booking_search_form($search_form, $attr){
and search results in this file ../{Booking Calendar Folder}/inc/_bl/wpbc-search-availability.php
in content of this function:
public function show_results( $free_objects, $bk_date_start, $bk_date_finish ) {
Disclaimer!!! Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
Thank you for understanding.
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.
Kind Regards.
Hi There,
Where do i see the user action audti log?
THanks.
regards,
aaron
audit *
Hello.
Currently Booking Calendar does not support some detail audit log on user actions. Sorry.
In your server configuration have to be the general access.log for any actions at your website. Please contact your hosting support, if you can not find this log.
Thank you.
Hi Support,
Can set regular user able to view other regular user resources yet in your system?
regrsds,
Aaron
Hello.
No, the regular users can see only own bookings, booking resources and settings. They can not see this data from other users.
Kind Regards.
Hi Support,
Can you give me the block of code where all emails by default send out based on login user instead of email they set? If possible please provide me sample code.
Because now all users are admin but we could track who is the one that deleted off all the bookings in our operation.
I hope you can help me on this.
Thanks.
Hi Support,
Let me rephrase.
All users are admin now and we couldnt trace who deleted all the bookings.
Can you give me the block of code where i can customize the email setting by default it use the login user profile email rather than setting an email there.
This can be achieve if i customize if email setting field is empty, it will just use login user profile email to send.
Thanks.
Hello.
During activation booking admin panel for new regular user at the Booking > Settings > Users page, relative to the emails, is executing this code in this file ../{Booking Calendar Folder}/inc/_mu/multiuser.php
//////////////////////////////////////////////////////////////////////// // Update Emails with new user email //////////////////////////////////////////////////////////////////////// $email_option_names = array( WPBC_EMAIL_NEW_ADMIN_PREFIX . WPBC_EMAIL_NEW_ADMIN_ID , WPBC_EMAIL_NEW_VISITOR_PREFIX . WPBC_EMAIL_NEW_VISITOR_ID , WPBC_EMAIL_APPROVED_PREFIX . WPBC_EMAIL_APPROVED_ID , WPBC_EMAIL_DENY_PREFIX . WPBC_EMAIL_DENY_ID , WPBC_EMAIL_TRASH_PREFIX . WPBC_EMAIL_TRASH_ID , WPBC_EMAIL_DELETED_PREFIX . WPBC_EMAIL_DELETED_ID , WPBC_EMAIL_MODIFICATION_PREFIX . WPBC_EMAIL_MODIFICATION_ID , WPBC_EMAIL_PAYMENT_REQUEST_PREFIX . WPBC_EMAIL_PAYMENT_REQUEST_ID ); foreach ( $email_option_names as $email_option_name ) { // Get Email Data $email_data = get_bk_option( $email_option_name ); // Modify Emails // if ( $email_option_name == WPBC_EMAIL_NEW_ADMIN_PREFIX . WPBC_EMAIL_NEW_ADMIN_ID ) { //FixIn: 8.1.2.17 $email_data['to'] = get_user_option('user_email', $us_id ); //$email_data['to_name'] = ''; // } //FixIn: 8.1.2.17 $email_data['from'] = get_user_option('user_email', $us_id ); //$email_data['from_name'] = ''; // Update Email Data update_user_option( $us_id, $email_option_name, $email_data ); }
So you need to chage this line:
$email_data['to'] = get_user_option('user_email', $us_id );
to code like this:
$email_data['to'] = 'email@server.com';
If you want that Regular user do not have access the Booking > Settings General page and to the Booking > Settings > Emails pages, so then you need to login as super booking admin user and at the Booking > Settings General page in User role sections for the menu "Settings" set minimum user role as "Administrator" and all your regular users set with user role as "Subscriber" or with some other lower user role, than you was saved in Booking > Settings General page.
Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
Thank you for understanding.
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.
Kind Regards.
I have 5 booking admin user but when they create a new booking, they are using the same email in booking>setting>email that is set "from" to send out email.
Instead of that, can you give me some tips where i could hardcore to ignore the that email "from" and send email using their login ID email.
Hello.
This is relative this comment: https://wpbookingcalendar.com/support/comment-page-33/#comment-17304
Kind Regards.
that is sending email out to whom right?
what if hardcode to send email based on their login id email ?
Hello.
1) Booking Calendar is sending email to the email address that saved at the Booking > Settings > Emails page
2) In Booking Calendar MultiUser version during initial activation of regular user from the Booking > Settings > Users page, the email address at the Booking > Settings > Emails page is saved from email address of specific User Profile, that was activated.
3) If you want to make customization, and set some static email at the Booking > Settings > Emails page and do not allow visitor to change it, so then you can make customization similar to this:
Please open this file ../{Booking Calendar Folder}/core/admin/page-email-new-admin.php
( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )
then find this code:
/** Update Email template to DB */ public function update() { // Get Validated Email fields $validated_fields = $this->mail_api()->validate_post();
and replace it to this code:
/** Update Email template to DB */ public function update() { // Get Validated Email fields $validated_fields = $this->mail_api()->validate_post(); $validated_fields['to'] = get_user_option('user_email', get_current_user_id() ); // Update email to email from user profile
Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
Thank you for understanding.
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.
This comment https://wpbookingcalendar.com/support/comment-page-33/#comment-17304 was about customization of ability to set email address (to some other), during initial activation of the Regular user (currently its set email address from user profile).
Kind Regards.
Hi Support,
Can you let me know where is the block of code where i can customise to add in more shortcode? because i need to put shortcode to pull out the user name that login to do booking in the email.
Thanks.
regards,
Aaron
Hello.
In the email templates does not possible to use "custom" shortcodes or PHP code. Sorry.
You can find email template that is relative to bookings that is completely deleteing in this file ../{Booking Calendar Folder}/core/admin/page-email-deleted.php
function that is execurting for sending these emails is:
function wpbc__get_replace_shortcodes__email_deleted( $booking_id, $bktype, $formdata ) {
There is exist array of replacement for shortcodes in email:
... $replace[ 'booking_id' ] = $booking_id; $replace[ 'id' ] = $replace[ 'booking_id' ]; $replace[ 'dates' ] = $my_dates_4_send; $replace[ 'check_in_date' ] = $my_check_in_date; ...
For other emails (which you can find files in the same folder ../{Booking Calendar Folder}/booking/core/admin/page-email-XXXXX.php ), you can find relative send function in the bottom of specific file, as well.
Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
Thank you for understanding.
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.
Kind Regards.
If i add one more line in the array as below:
$replace[ 'dates' ] = $current_user->display_name;
will it work?
regards,
Aaron
Hello.
You need to test it. Please check disclaimer, in my previous messages.
I can suggest that the code, can look like this:
$current_user = wp_get_current_user(); $current_user->display_name; $replace[ 'current_user' ] = $current_user->display_name;
And then in the email templates at the Booking > Settings > Emails page to use this shortcode:
[current_user]
Please note, this code was not tested, its just a suggestion.
Kind Regards.
It works !! million thanks!
i will keep this block of code and post in idea where new shortcode need to be added on your roadmap to track which user login to do changes. Since your plugin dont have audit log, I strongly suggest it is important to know at least who create/edit/cancel/delete booking as it is crucial to hotel operation.
side note: the reversation that resign delete almost all the booking before he left but we do not have prove and we have to report police due to such incident.
Hello.
Thank you for suggestions, please provide, which usefull shortcodes do you need to have in the emails, and we will include them into the new updates of Booking Calendar.
Thank you.
Hi I have a 2 site website license and need to remove one of the websites from my current license, how do I do that?
Thanks Cathy
Hello.
Please send your order ID and url to website (which you want to proceed), to the support @ wpbookingcalendar.com
Thank you.
Thanks.
You will be able to deactive the current url which access to wp admin?
Hello.
Yes, we will de-register your license.
Kind Regards.