=== Booking Activities === Contributors: bookingactivities, yoancutillas Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7EKU434L7NEVC Tags: booking, reservation, booking form, woocommerce booking, booking events Requires at least: 3.6 Tested up to: 6.5 Requires PHP: 5.3 Stable tag: 1.16.5 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html Reservation system specialized in activities: sports, leisure, courses, events, tourism, and more! Works great with WooCommerce. == Description == Booking Activities is a complete booking tool designed for activities. It is very easy to use: 1. **Drag and drop** your activities onto your schedule. 2. Copy / Paste a **shortcode** to display a booking form. Or **integrate it with WooCommerce** products. 3. **Pick** an event on this calendar and book it. Try this reservation tool live on the [demo website](https://demo.booking-activities.fr/en/), or [generate a temporary site](https://tastewp.com/new/?pre-installed-plugin-slug=booking-activities&pre-installed-plugin-slug=woocommerce&pre-installed-theme-slug=twentytwentythree&redirect=admin.php%3Fpage%3Dbookacti_calendars&ni=true) to test the backend! [youtube https://www.youtube.com/watch?v=Q7gbK5i4DPU] *Video made with v1.1.1. Booking Activities is constantly evolving.* = Main features = ★ = Unique feature only Booking Activities has. **Editor** * ★ **WYSIWYG**: Visually build your plannings * ★ **Drag and drop** events directly on the calendar * ★ **Group your events** to easily sell bundles, subscriptions, seminars, or events spreading on several days * Create **repeated events** (with desired frequency and exceptions dates) * Unlimited calendars, activities, events and bookings. * **Permission management system**: your managers manage only their own calendars and reservations. E.g.: You can [set up Booking Activities for a marketplace](https://booking-activities.fr/en/blog/set-up-a-booking-marketplace-with-booking-activities/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme) *(Booking Activities can only be managed from the backend)*. **Booking forms** * **Fully customizable** forms in a WYSIWYG editor * **Shortcodes** to display reservation forms or simple calendars * ★ Display events from multiple schedules and activities at once * ★ **One-click booking**: just pick the desired event(s) on the calendar and click on "Book"! * Custom action when you submit the form or when you click an event: make a reservation, ★ **add a product to cart, redirect to a URL** * Pick multiple events and book them all at once / ★ **add them all to cart at once** * ★ **Seamless login / registration**: embedded in the form and processed with the reservation. You can also **book without account**, or **display a login form only** with a shortcode. * 100% responsive: looks great on mobiles, tablets and computers. * ★ *Set any custom fields and any booking metadata thanks to [Advanced Forms](https://booking-activities.fr/en/downloads/advanced-forms/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_campaign=advanced-forms&utm_content=readme) add-on* **Online payments with WooCommerce** * Calendars are automatically integrated to WooCommerce product pages * ★ Attach multiple calendars and activities to one WC product * ★ **Cart expiration system**: bookings in the shopping cart are temporary * Auto-validation when payment is completed * ★ WooCommerce order status and its bookings status are smartly bound * ★ Automatic refunds by WC coupon or via the gateway (if allowed) **Manage reservations** * Find all your bookings at a glance on a calendar and in a list. Use dynamic filters, sorting, and custom columns * Booking actions: validate, cancel, reschedule, ★ refund... * ★ Display your customer's bookings calendar and their booking list with a shortcode * ★ Your customers can **cancel** or **reschedule** their bookings and **ask a refund** by themselves * **Export** your bookings as **CSV** and **iCal** feeds and **sync** them on spreadsheet and calendar apps (e.g.: Google Sheet, Google Calendar) **Availability options** * Set the **booking period**: customers can't book too early or too late * Make your **events private** or bookable by multiple users * ★ Set the min and max bookings allowed per user per event * Offer some activities to certain user roles only **Notifications** * **Automatic emails** are sent to both administrator and customer when a booking is made, when its state changes, and when it is rescheduled * **Fully customize** and configure all your email notifications * In multilangual sites, emails are sent to your customers **in their own language** * *Send activity-specific notifications and **reminders** via email, **SMS and ★ Push** thanks to [Notification Pack](https://booking-activities.fr/en/downloads/notification-pack/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_campaign=notification-pack&utm_content=readme) add-on* **Translation ready** * **Multilingual support** with WPML and ★ [qTranslate-XT](https://github.com/qtranslate/qtranslate-xt) (free plugin) * ★ Auto-detect and switch languages, date/time format, first day of the week... * Customize most frontend messages directly in the settings * Fully translated in English and French. You can also help us [translating Booking Activities](https://translate.wordpress.org/projects/wp-plugins/booking-activities) in your language. **The best inside** * **API for developers** (PHP actions and filters, JS actions). *Documentation coming soon.* * Use the beautiful and handy **[FullCalendar](https://fullcalendar.io/)** * Support WP Multisite * Support WP privacy tools for exporting and erasing your customers personal data See the whole [features list here](https://booking-activities.fr/en/documentation/features/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme). = Extend these features with add-ons: = * **[Resource Availability](https://booking-activities.fr/en/downloads/resource-availability/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_campaign=resource-availability&utm_content=readme)**: Manage your resource availability and assignment * **[Advanced Forms](https://booking-activities.fr/en/downloads/advanced-forms/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_campaign=advanced-forms&utm_content=readme)**: Add any (paid) custom fields to your booking forms * **[Display Pack](https://booking-activities.fr/en/downloads/display-pack/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_campaign=display-pack&utm_content=readme)**: Customize your calendars or set alternative display (datepicker) * **[Prices and Credits](https://booking-activities.fr/en/downloads/prices-and-credits/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_campaign=prices-and-credits&utm_content=readme)**: Set per event prices, decreasing prices, price categories (adults, children, etc.), pay with credits * **[Notification Pack](https://booking-activities.fr/en/downloads/notification-pack/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_campaign=notification-pack&utm_content=readme)**: Send activity-specific notifications and booking reminders by email, SMS and Push * **[Order for Customers](https://booking-activities.fr/en/downloads/order-for-customers/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_campaign=order-for-customers&utm_content=readme)**: You can book / place an order in the name of your customers See the whole [add-ons list here](https://booking-activities.fr/en/add-ons/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme) = This plugin is great for... You? = To know if Booking Activities is made for you, you just need to understand **how it works**: 1. **You place** events on a calendar 2. **Customers pick** them and book them If this fits your business then give it a try! This booking system has been specially designed to fulfill the needs of **most activity providers**: * For **tourism, sport and leisure** (nautical, aerial, land, mountain, foot or wheels, outdoor or indoor...) * For **courses, trainings, exhibitions** (education, music, drawing, seminar...) * For **cultural activities** (museum, theatre / cinema, booking events...) * *For you too, but you are not in this list? [Tell us](https://booking-activities.fr/en/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme#contact)* :) = We are listening = **You are the developers**. *You have always been.* Booking Activities has been designed and developed in collaboration with activity providers. **Now it is getting better thanks to you.** Then feel free to tell us if you miss a feature, if you find a bug or anything to make your booking system better! * [Documentation](https://booking-activities.fr/en/documentation/user-documentation/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme) * [Report a bug / Request a feature](https://github.com/bookingactivities/booking-activities/issues/) * [Contact us](https://booking-activities.fr/en/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme#contact) at contact@booking-activities.fr (French and English) = Requirements = * **WordPress**: 3.6 or later * **PHP**: 5.3 or later * **MySQL**: 5.7.22 or later (or MariaDB 10.5.4 or later) * **WooCommerce**: 3.x or later * *Booking Activities can be used without WooCommerce* == Frequently Asked Questions == = I am not an activity provider, can this plugin still meet my needs? = Yes of course. It is basically a reservation system based on event scheduling. In other words, you build your event calendar and allow them to be booked. You can find another purposes to it. To know if it actually meets your needs, simply try it, it's free. If you are on a hurry, you can just check the [demo website](https://demo.booking-activities.fr/en/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme). Or read the full [features description](https://booking-activities.fr/en/documentation/features/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme) if you are looking for something in particular. = Create and fill your first calendar = **Create your first calendar** 1. Go to Booking Activities / Calendar Editor page 2. Click on the big '+' button 3. Set a title 4. In the "Editor" tab, you can set your working hours 5. Click on the dialog OK button, the calendar is loading! **Create your first activity** 1. Click on the '+' button in the 'Activities' area 2. Set a title, an availability, a color and a duration 3. Click on the dialog OK button, the activity is added to the list! **Create your first event** 1. Drag an activity from the list and drop it on the calendar 2. Drag and drop the event to move it 3. Mouseover the event and click on its settings wheel to edit its properties **Congrats! You have created your first event schedule** = Display a reservation form = *Make sure to have at least one calendar, one activity and one event at a future date* 1. Go to Booking Activities / Booking forms page 2. Select the desired form or create a new one 3. Click on the setting gear on the "Calendar" field to set the calendar(s) to display (and many other settings) 4. Copy the shortcode given in the "How to integrate this form" area (it looks like `[bookingactivities_form form=""]`) 5. Past this shortcode in any post or page you like 6. Go on this post / page frontend, the booking form appears! /!\ Reservation forms displayed via shortcode are not bound to WooCommerce at all. If you want to bind a WC product to a calendar, check "Use it with WooCommerce" in this FAQ. = Display the calendar only = *Make sure to have at least one calendar, one activity and one event at a future date* 1. Go to Booking Activities / Booking forms page 2. Select the desired form or create a new one 3. Keep the "Calendar" field and remove all the others (like "Login/Register", "Quantity" and "Submit" fields) 4. Copy the shortcode given in the "How to integrate this form" area (it looks like `[bookingactivities_form form=""]`) 5. Past this shortcode in any post or page you like 6. Go on this post / page frontend, the calendar appears alone! = Display user's booking list = *Make sure the user has bookings and he / she is logged in, otherwise it will not show anything* 1. Past this shortcode in any post or page you like: `[bookingactivities_list]` 2. Go on this post / page frontend, the booking list appears! *Depending on BA settings and bookings dates, actions like cancel or reschedule may appear. Try them!* = Use it with WooCommerce = *Make sure to have at least one booking form with one event available at a future date* *You also need to activate WooCommerce and create one product* 1. Go to Products / *Your Product* 2. In 'Product data' area, check 'Activity', a new 'Activity' tab appears 3. In 'Activity' tab, bind the desired booking form to the product 4. Go on this product page on the frontend, a booking form appears! *For Variable Products, you need to check the 'Activity' checkbox and set a calendar and an activity for each variation.* = Does this plugin accept reservation online payments? = Yes, you can accept payments for bookings through WooCommerce. Booking Activities is perfectly integrated to WooCommerce: * Booking forms will appears automatically on product pages * A cart expiration system is implemented to make sure that bookings in the shopping basket won't stay in the basket forever, taking the place of someone else * Bookings are automatically validated when the payment is received, or cancelled if not * If you change order quantity or state, so do the bookings, and vice versa = Should I accept payments for bookings? = Here is a pros and cons analysis: **PROS:** * Customers are engaged, if they book, they come. * Saves time: customers have already paid. * Customers can come without money, they can offer the activity to a relative * Automatic cashing, billing, accounting and stats **CONS:** * May discourage customers, depending on the type of activity you provide and your target * Takes more time for customers, and more diffult process, higher cart abandonment rate * You will have to do much more development, administrative and legal procedures, and you will have more expenses (bank commission, maintenance ...) We recommend to accept online payments since it's a great way to automate your business management and make it grow. = Events are not "Booked" after booking form submission, they are "Pending", why? = Don't worry, the reservation is well registered. Now, it is up to you to turn it to "Booked" right away or when your customer comes, or when your customer gives you the money... But you can just turn the default booking status to "Booked" in Booking Activities settings. Note that if you use WooCommerce and online payments, booking status turn automatically to "Booked" if the payment is complete, or "Cancelled" if not. = Cart expires but events are still booked = A bot cleans expired bookings hourly. So just wait up to 1 hour. Usually, users are still on your website when their bookings expire, if so, they are immediatly removed. Else, they will be cancelled later, with the others in that case. = My events appear to be booked, but no bookings appear in the list = Temporary bookings (such as In cart events) take active slots but may not appear in the booking list. Go to the "Bookings" page, under the "States" filter select "Delivered", "Booked", "Pending" and "In cart". Then, just click on "Apply Filters". Now you can see all kind of active bookings. = Cancelled bookings disapeared from the list, I need to see them! = Go to the "Bookings" page. Under the "States" filter, select all the available status. Click on "Apply Filters" and then you will be able to see inactive bookings (cancelled, expired, removed, refunded, refund requested). = Email notifications are not sent = If you enabled "Asynchronous email" option in Booking Activities settings ("Notifications" tab), emails will be sent the next time someone (anyone) loads any page of your website. Then, you only need to refresh or visit any page of your website and then check your inbox. If you disable "Asynchronous email" option, then the loading will last until the email is actually sent. = Ask for support = **We answer within 48h**. You can contact us in many ways: - By email at [contact@booking-activities.fr](mailto:contact@booking-activities.fr) - On [WordPress support forum](https://wordpress.org/support/plugin/booking-activities) - On [GitHub issue tracker](https://github.com/bookingactivities/booking-activities/issues/) If you don't receive a reply within 48h by email, a technical problem has probably occurred, please try again, or try on an other medium. == Screenshots == 1. Drag and drop to edit. Click to book. Works both with a shortcode and WooCommerce. 2. WYSIWYG calendar editor. Simply drag and drop events. Click on events for additional settings (availability, repetition...). 3. Create daily, weekly or monthly repeated events. You can add exception dates to the repetition. 4. Grouping your events is simple: just select multiple events and click on 'Add a group'. Or select an existing group and start editing it right away. 5. Create and customize your booking form. You can combine events and settings of multiple schedules. You can make each form unique. 6. Use a shortcode to display a booking form (or a calendar alone). Your customers can log in or register as they book, they can also book without account. 7. When a customer clicks on a grouped event, the whole group is selected. If the event is part of several groups, the customer has to choose one from a dialog. 8. There is also an option to allow your customers to pick multiple events of their choice at once. 9. Easily bind a reservation form to a WooCommerce product. You can set a different event calendar to each variation. 10. A reservation form appears automatically on desired WooCommerce product pages. 11. WooCommerce cart expiration system: when time is up, bookings are cancelled and cart emptied. You can also disable it. 12. Your bookings are displayed on a calendar, when you mouseover an event, and in a list that you can filter, sort and customize. Manage your bookings: change state (cancel, validate), reschedule, refund... 13. Synchronize your bookings and display them in your Google Calendar events' description 14. Customers also have their booking list and calendar thanks to a shortcode. They can cancel, reschedule or ask a refund by their own (if you allow them). 15. Your customers can manage their bookings from their WooCommerce orders as well. 16. Orders status are bound to their bookings status. If bookings are cancelled / booked / refunded, so do the order (and vice-versa). 17. Email notifications are automatically sent to the customer or the administrator when they need to be informed of a change. 18. Make your emails look just like you want thanks to the HTML editor and special tags. You can also choose to deactivate a notification. == Changelog == = 1.16.5 - 2024/04/17 = * Fix - PHP error when changing booking group status * Fix - PHP warning when cart contains non activity products, or when cart content is null * Fix - "Booking form location on product pages" option is now compatible with WP Blocks * Tweak - Encapsulate the cart form in a div when "Booking form location on product pages" option is set to "Full width" (non blocks) = 1.16.4 - 2024/04/12 = * Fix - "At the earliest" option was based on events ending time instead of their starting time * Fix - Change activity text color in calendar editor according to Display Pack add-on settings * Fix - Make sure cart item quantity matches booking quantity and prevent checkout otherwise * Fix - Incorrect {price_raw} and {price} notification tags value when used with WooCommerce and Booking Activities add-ons * Fix - Hide "Select all ... items" button when no bookings are selected in backend booking list * Dev - Use CSS classes to hide empty weeks when "Trim" option is active, so developers can change their appearance = 1.16.3 - 2024/04/05 = * Feature - Filter the booking list by booking (group) ID * Fix - Weeks may be hidden even if they have events if "Trim" option is active * Fix - "Show only first event of groups" option should be hidden when Group Category = None = 1.16.2 - 2024/04/04 = * Feature - Allow administrators to change the booking forms author * Feature - Filter the booking form list by ID, title and author * Tweak - Display an error message in the booking forms list if the form author is not allowed to manage the displayed calendars * Tweak - Hide weeks on Day Grid views if all the days are empty if "Trim" option is active * Fix - Notification not sent to administrators when an administrator reschedule a booking * Fix - Incorrect booking status displayed in WC notification after completing a failed order * Dev - Remove data conversion for updates from versions prior or equal to 1.14.3 (you need to update Booking Activities to 1.15 before updating it to 1.16) = 1.16.1 - 2024/03/26 = * Fix - Notifications not sent after changing a booking (even if "Send notifications" option was ON) * Fix - Prevent performing any booking action if no bookings are selected * Fix - Browser may hang after deleting a lot of bookings (bookings were correctly deleted) * Fix - Site setting "Are started groups of events bookable?" was not taken into account (but group category setting was) * Fix - Started group events were not grayed out if not bookable * Fix - Make "Trim" option compatible with "Show only first event of groups" option * Dev - Update some js scripts dependencies = 1.16.0 - 2024/03/21 = * Bookings bulk actions, reschedule scope - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-16-bookings-bulk-actions-reschedule-scope-etc/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** * Feature - Edit multiple bookings at once: change status, change quantity, reschedule, refund, delete, send notification * Feature - Add an option to allow customers to reschedule a booking to a different activity and / or to a different calendar (in Calendar Editor > the activity settings > Availability tab) * Feature - Add an option to allow administrators to reschedule a booking to a different activity and / or to a different calendar (in Settings > Cancellation tab) * Feature - Add an option to select the activities a booking can be rescheduled to (in Calendar Editor > the activity settings > Availability tab) * Feature - Send only one notification for multiple bookings / for WC order (the "Asynchronous notifications" option must be ON in Settings > Notifications tab) * Feature - Manually send a notification from the backend booking list (in the Actions column) * Feature - Allow customers to manage their bookings without being logged in by using an authentication key in the URL of the page displaying the [bookingactivities_list] shortcode (see {user_auth_key} notification tag) * Feature - Add the {user_auth_key} notification tag (to be used as the user_auth_key URL parameter value, e.g.: yoursite/my-booking-list/?user_auth_key={user_auth_key}) * Tweak - "Customer" booking filter: List the customer emails from booking made without accounts * Tweak - "Customer" booking filter: Display the bookings made with and without account by the selected customer (need a page refresh, not working with AJAX) * Tweak - You cannot display events from a calendar that the booking form author cannot manage * Tweak - Remove "When to load the events?" option, you can use the bookacti_booking_system_default_attributes hook to set auto_load to 0 (after page load (default)) or 1 (on page load (not recommended, support no longer provided)) * Tweak - Unselect an event by clicking it again (even if multiple events selection is deactivated) * Tweak - Export bookings included in groups if the booking list is filtered by event and if export settings are "One row for each booking of the group" * Fix - Booking filters may not be correctly applied after reloading the bookings page * Fix - Deleting an activity deleted it from all calendars instead of removing it only from the current calendar * Fix - Decode HTML entities before displaying WooCommerce price * Fix - Incorrect bookings retrieved if booking_group_id_operator filter was set to "OR" and no booking ids where provided * Fix - Selected user ID was displayed in user selectbox instead of proper label * Fix - English was used instead of site locale in javascript if site locale code had no underscore * Fix - (WIP) Support WooCommerce Cart Block: validate cart item quantity and change booking quantity accordingly * Fix - (WIP) Support WooCommerce Checkout Block: change booking status after checkout * Dev - (WIP) Declare WC Cart and Checkout blocks as NOT supported by Booking Activities and its add-ons for now (use WC Cart and Checkout shortcodes instead) * Dev - Functions to update and delete Booking Activities objects metadata now allow multiple object ids * Dev - Refactor async notifications scheduling * Dev - Lots of hooks and functions have changed, especially regarding booking actions, test and update your custom code consequently * Lib - Update FullCalendar to 6.1.11 = 1.15.20 - 2024/02/09 = * Fix - Improve booking filters sanitizing = 1.15.19 - 2024/01/25 = * Feature - Add an option to display only the first event of groups (in booking form > Calendar settings) * Tweak - Add notification tags: {booking_payment_status}, {order_status}, {order_payment_status} = 1.15.18 - 2024/01/17 = * Tweak - Wait 1 second for the user to complete the quantity input before checking min and max quantity * Fix - Error when trying to export form events without ending limit (limit to 5 years by default) = 1.15.17 - 2024/01/03 = * Fix - "Add new" buttons were not translated * Fix - Compatibility with WC HPOS * Dev - Use WC_Product methods instead of WP_Post functions to handle product data (not required for HPOS, but more future-proof) = 1.15.16 - 2023/12/13 = * Fix - Prevent forgotten password notification to be sent twice * Fix - Filtering bookings by booking group showed bookings from all repeated groups * Fix - JS error when loading events of a larger scope (e.g. week to month) if "Load events every" option is too low * Fix - Hide WC "order again" button if the order contains bookings * Fix - Incorrect iCal formatting in specific server configuration if a multiline text was exported * Lib - Update FullCalendar to 6.1.10 = 1.15.15 - 2023/10/18 = * Tweak - Do not empty booking form if add to cart failed with WooCommerce * Tweak - Change booking status icons to one specific icon per status * Fix - Display error messages on WC cart page after changing quantity * Fix - JS error when opening the grouped event dialog with the Display Pack's "Waterfall" booking method * Dev - Add options and an API to handle price formatting (overriden by WooCommerce) * Dev - Remove bookacti_onoffswitch function, use bookacti_display_field instead * Dev - Add js hooks when opening booking dialogs * Dev - Allow bdi HTML tag in wp_kses_post * Dev - Refactor notification {price} tag and add {price_raw} tag * Dev - Refactor Total Price field: it is now refreshed via AJAX (PHP) instead of JS to improve compatibility and accuracy * Dev - Refactor WC cart item subtotal display * Lib - Update FullCalendar to 6.1.9 = 1.15.14 - 2023/06/08 = * Fix - Bookings from not allowed calendars may be displayed in backend Bookings calendar after changing the filters * Fix - Booking forms now use window.location.assign for external redirects, without parameters, to avoid error 405 and error 414 * Fix - Use window.location.assign instead of window.location.replace when it is useful to keep the URL in browser history * Lib - Update FullCalendar to 6.1.8 = 1.15.13 - 2023/05/23 = * Breaking change - If you have made javascript custom code using Booking Activities' $.fn.serializeObject function, you must replace it with bookacti_serialize_object( your_form ) * Tweak - Allow to change notifications title * Dev - Replace homemade $.fn.serializeObject with bookacti_serialize_object() to improve compatibility (especially with the "jquery-serialize-object" script provided in WP) * Lib - Update FullCalendar to 6.1.7 = 1.15.12 - 2023/05/04 = * Tweak - Add French translation for select2, more translation files can be added in wp-content/languages/select2 * Tweak - Display existing options immediatly in select2 using AJAX * Fix - Display select2 loading during AJAX search * Fix - JS error when setting invalid date format in "Go to" date input * Fix - Remove max height limitation to group categories and groups of events in calendar editor * Fix - Add a delay when sorting activities, groups and categories to avoid undesired drags in calendar editor * Fix - Hide WC Payments Google Pay / Apple Pay buttons on "Activity" product pages (it is too early for Booking Activities) * Dev - Add not_in__status and not_in__payment_status filters to bookacti_get_bookings() * Lib - Update FullCalendar to 6.1.6 = 1.15.11 - 2023/04/14 = * Feature - Compatible with the new [Resource Availability](https://booking-activities.fr/en/downloads/resource-availability/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme) add-on! * Tweak - Allow to purchase a booking from checkout page after an order failed if the cart item is not removed * Fix - All activities were displayed if the booking form was configured to display only activities that are restricted to a user role, and if the user was not logged in or doesn't have this role * Fix - Cells that should be empty in iCal booking lists may be filled with the column name * Fix - Display the "Send when order is..." option in all admin status changes notifications settings * Fix - New booking notifications not sent with WC if the order doesn't need any payment * Fix - Temp fix to a WooCommerce issue - Display WC notices after failing to restore a cart item (on cart page up to 10 seconds after the error occured) * Fix - In bookings filters, when the selectbox is resized, the input goes below the others * Fix - In the reschedule dialog, the quantity displayed in the event list is always 1 * Fix - Event title not translated in a WC notice (booking already purchased notice) * Fix - Error message not displayed after closing reschedule dialog once on frontend * Fix - When filtering bookings in the backend, abort the running AJAX request before starting a new one * Dev - Add js hook to change the select2 data when initialized * Dev - Add hooks to validate a change of cart item quantity * Dev - Add bookacti_wc_after_add_to_cart_validation hook * Dev - Add parameters in booking system data to allow plugins to flag the events and groups of events as unavailable * Lib - Update FullCalendar to 6.1.5 = 1.15.10 - 2023/03/08 = * Fix - Booking status was displayed as Pending in paid and complete WC order notification (#186) * Fix - Do not cancel booking of a "Pending payment" order if they were already paid in another order * Fix - Error messages no longer displayed after closing the reschedule dialog once * Dev - Add hooks to change the filters used to retrieve events and their number of bookings in a booking system * Dev - Wrap SUM sql queries that can be modified by plugins to ensure that joining additional tables will not skew the result = 1.15.9 - 2023/03/01 = * Fix - Translatable strings may not be registered in the default WPML language * Dev - Add backward compatibility with MariaDB 10.3 = 1.15.8 - 2023/02/24 = * Breaking change - Requires MySQL 5.7.22 or later, or MariaDB 10.5.4 or later * Fix - "No events" message not displayed if no availability dates were set * Fix - Notifications text area was not full width * Fix - The hook bookacti_booking_deleted may not be triggered after booking group deletion * Fix - When moving an event backward from calendar editor, its bookings and grouped events were moved at an incorrect date * Fix - Events may appear twice on variable WC products pages if the booking form "Opening" date is past * Fix - When adding a product to cart from a booking form shortcode, field validation error messages were incorrectly displayed * Dev - Flag when the WC order is new to avoid sending the same notifications twice * Dev - Move the onkeypress attributes from the HTML elements to a js file * Dev - Rename data-unit attributes to data-duration-unit * Dev - bookacti_get_booking_groups now retrieves the grouped booking ids * Lib - Update FullCalendar to 6.1.4 = 1.15.7 - 2023/01/30 = * Tweak - Grouped bookings are now listed in asc order in WC order items and notifications * Tweak - Add margins to event bookings tooltip on small screens * Fix - Improve tooltip triggering on touch devices * Fix - Booking forms shortcode not displayed in booking forms table * Fix - Error messages were not removed in frontend dialogs * Fix - Cannot change booking group quantity in WooCommerce cart or order * Dev - Generate a random id on displayed fields without id = 1.15.6 - 2023/01/09 = * Fix - Error when switching booking group status to refunded from the backend * Fix - Calendar navigated to incorrect date when loaded with a picked events * Fix - Bound products were not correctly displayed in calendar settings in form editor * Fix - Booking calendar settings dialog was emptied after closed * Fix - Needed to refresh page to take into account the columns to display in the booking calendar tooltip * Fix - Activities were not filtered according to selected calendars in bookings filters * Lib - Update FullCalendar to 6.0.2 (Support for IE 11 has been dropped) * Lib - Remove Moment JS files and use the files included in WP instead * Dev - Compare datetimes directly instead of using mySQL UNIX_TIMESTAMP and CONVERT_TZ functions * Dev - Calendar dates are no longer restricted between 1970-01-01 and 2037-12-31 * Dev - Allow half-bounded intervals when retrieving events and groups * Dev - Refactor bookacti_validate_booking_form function and hook (rename to bookacti_validate_picked_events and new parameters) * Dev - Refactor bookacti_validate_booking_form_picked_event hook (rename to bookacti_validate_picked_event and new parameters) * Dev - bookacti_allow_multiple_bookings hook parameters have changed * Dev - Add form fields checks and hooks before and after rescheduling a booking (standardize process, like booking form and WC add to cart) * Dev - Add form fields checks, and do not process bookacti_validate_picked_events twice while adding a WC product to cart from a calendar * Dev - Standardize the status change functions code between groups and single bookings = 1.15.5 - 2022/11/24 = * Tweak - Remove useless checkbox column in list tables and standardize CSS * Tweak - Support YITH WooCommerce Quick View (load booking system in popup) * Fix - Activity unit name was not displayed * Fix - Activity unit name was not displayed in the correct order in RTL languages * Fix - Incorrect display of ID column in backend list table on mobile * Fix - WC order status may be Completed unexpectedly in some cases involving non-booking products * Fix - Invalid group ID error may appear in groups of events dialog in calendar editor * Fix - Group categories "All" option was not selected in form editor calendar settings dialog * Fix - Possible undesired scroll when closing group selection dialog after navigating the calendar * Fix - JS error when deleting a group of events with no events, a group category with no groups, and the last calendar * Dev - Standardize dialogs JS and CSS * Dev - No longer generate id in html fields (with random number) if not provided * Dev - Change LONGTEXT to TEXT or MEDIUMTEXT db column definition, and remove useless numeric type attributes * Dev - Add bookacti_reset_password_notification_callback hook and send WC Reset Password email instead of WP's (#169) * Dev - Reset error notices automatically when the dialog is closed (standardize code) * Dev - Functions triggered on WC product pages only can now be triggered on any page having the "woocommerce" class * Dev - Standardize the use of nonces (input name = nonce) = 1.15.4 - 2022/10/06 = * Tweak - Enable the "Today" button even if today's view is not accessible * Tweak - Use select2 library for options using selectboxes with multiple values * Tweak - If the refunded WC order items quantity is not set, try to compute it from the refunded amount * Fix - Bookings were not refunded when a WC order was totally refunded but whithout selecting the WC order items to refund * Fix - The displayed booking date didn't take the timezone into account * Fix - The current day highlighted on the calendars didn't take the timezone into account * Dev - Use WP default strings for Add New, Publish, Update, Edit, Trash, Delete, Retore * Dev - API to make select2 multiple select sortable * Dev - Add indexes to relevent database columns to improve performance on large databases * Dev - Use full version of Select2 = 1.15.3 - 2022/09/13 = * Tweak - Improve display of calendar toolbar when the calendar is narrow * Fix - Possible JS error with Cache / Optimization plugins = 1.15.2 - 2022/09/08 = * Tweak - Change the minimum time to display event on next day in DayGrid view (nextDayThreshold) to the value of Day Begin option (slotMinTime) * Fix - Notification Pack custom notifications not sent with WC if default notifications were configured not to be sent with WC * Fix - Remove unused code about Bootstrap tooltip that may cause js error * Dev - Change js and css minification processor to Google Closure Compiler (replace all .min files) = 1.15.1 - 2022/09/02 = * Fix - JS error when duplicating event (needed to refresh page) ([#160](#160)) * Fix - Permissions to calendars didn't work ([#162](#162)) * Fix - JS error if Calendar localization was set to Based on more WP settings (Site Language, Time Format, Week Starts On) * Fix - Cannot open event settings or select event to group in calendar editor on touch devices = 1.15.0 - 2022/08/31 = * Update Fullcalendar to v5 - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-15-fullcalendar-v5/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.14.0 - 2022/06/08 = * Add WPML Compatibility - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-14-wpml-compatibility-multilingual-sites/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.13.0 - 2022/03/01 = * Set up your leave periods - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-13-days-off/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.12.0 - 2021/08/23 = * Repeat groups of events - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-12-repeat-groups-of-events/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.11.0 – 2021/05/05 = * Advanced options to repeat events - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-11-advanced-options-to-repeat-events/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.10.0 - 2021/03/12 = * Cancel or reschedule a whole event and notify customers - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-10-cancel-or-reschedule-a-booked-event-and-notify-customers/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.9.0 - 2021/01/27 = * Multiple bookings - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-9-multiple-bookings-cancel-an-event/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.8.0 - 2020/05/12 = * Preview bookings on mouseover, Export bookings to iCal, etc. - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-8-bookings-preview-ical-export-login-beforehand-etc/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.7.0 - 2019/03/01 = * Add a product to cart from a booking form - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-7-form-actions-and-sytem-tools/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.6.0 - 2018/11/29 = * Export events, Book without account - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-6-export-and-booking-without-account/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.5.0 - 2018/05/05 = * Make customizable booking forms - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-5-booking-forms/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.4.0 - 2018/02/24 = * Availability options (e.g. private events) - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-4-availability-options/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.3.0 - 2018/01/28 = * Improved bookings management - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-3-improved-booking-management/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.2.0 - 2017/10/12 = * Email notifications - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-2-email-notifications/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.1.0 - 2017/07/16 = * Make groups of events - **[See the user-friendly release note](https://booking-activities.fr/en/blog/booking-activities-1-1-grouped-events/?utm_source=wp-plugin-page&utm_medium=wordpress&utm_content=readme)** = 1.0.0 - 2017/03/25 = **[See changelog for all versions](https://booking-activities.fr/en/documentation/changelog/)** == Upgrade Notice == = 1.15.8 = Requires MySQL 5.7.22 or later, or MariaDB 10.5.4 or later = 1.15.0 = Major changes in code: * If you have custom code, especially javascript and CSS affecting the calendars, you will probably need to adapt it. No support can be provided for your custom code. = 1.12.0 = Major changes in code: * If you have purchased add-ons, you need to update them too. * If you have custom code, you may need to adapt it. No support can be provided for your custom code. * The archiving tool has been removed. You can still find the backups you have made in wp-content/uploads/booking-activities/archives and manually import them with phpMyAdmin. * You won't be able to restore your previous backups of the wp_bookacti_exceptions table as is after the update = 1.9.0 = Major changes in code: * If you have purchased add-ons, you need to update them too. * If you have custom code, you may need to adapt it. No support can be provided for your custom code. = 1.1.0 = Major update with breaking changes. To be safe, make a backup of your database. You need to update your Booking Activities add-ons in the same time (if you have any) as they will not be compatible anymore. = 1.0.4 = If you are using Booking Activities with WooCommerce, make sure you are using 2.6.0 or later, and try to update to WooCommerce 3.* as soon as possible since BW compatibility functions are now deprecated