=== AB Veh Take === Contributors: abubakar121 Tags: booking, vehicle, taxi, elementor, journey Requires at least: 5.8 Tested up to: 7.1 Requires PHP: 7.4 Stable tag: 1.7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Vehicle booking form with multi-stop journeys, an admin dashboard, configurable vehicles, Elementor support, and email notifications. == Description == AB Veh Take is a robust vehicle and journey booking plugin designed for transport services, taxis, and private drivers. It provides a seamless front-end booking experience that integrates beautifully with your theme. Major features include: * **One-Way & Multi-Stop Bookings:** Let your customers request standard A-to-B journeys, or complex multi-stop routes with wait times. * **Elementor Integration:** Includes the "AB Veh Take Form" Elementor widget so you can drag, drop, and style your booking form visually. * **Shortcode Support:** Easily embed the form anywhere using `[ab_veh_take_form]`. * **Admin Dashboard:** A dedicated backend area to manage, approve, or delete booking requests with bulk actions. * **Availability Calendar:** Define custom availability (Wide, Limited, Unavailable) for specific dates or weekends. * **Customization:** Fully customize colors, typography, vehicle types, layout dimensions, and all form text labels directly from the settings page. * **Email Notifications:** Sends instant confirmation emails to customers and admin alerts for new bookings. == Installation == 1. Upload the plugin files to the `/wp-content/plugins/ab-veh-take` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. Use the AB Veh Take -> Settings screen to configure your admin email, colors, and text. 4. Place the "AB Veh Take Form" Elementor widget or `[ab_veh_take_form]` shortcode on any page. == Frequently Asked Questions == = How do I change the vehicle types? = Navigate to the "AB Veh Take -> Settings -> General" page in your WordPress admin. There, you can add, remove, or rename the vehicle types offered in the booking form. = What shortcode should I use? = Use `[ab_veh_take_form]`. = Are emails not sending? = If you are testing on a local server, emails may not send. On a live server, the plugin uses the standard WordPress `wp_mail()` function. Ensure your server is configured to send emails, or use a dedicated SMTP plugin for maximum reliability. == Changelog == = 1.7.0 = * Renamed plugin folder to ab-veh-take to match WordPress.org slug requirements. * Bumped version to 1.7.0 for new WordPress.org submission. = 1.6.0 = * Renamed plugin to AB Veh Take (slug: ab-veh-take). * Introduced `[ab_veh_take_form]` shortcode and "AB Veh Take Form" Elementor widget. * Fixed PHP compatibility: resolved fatal error on PHP < 8.2 by using cross-version date validation. * Fixed admin booking list table bulk actions (approve, pending, delete). * Fixed vehicle types reset: clearing the list now properly resets to defaults. * Increased database `vehicle_type` column length to `VARCHAR(100)` to prevent MySQL strict mode truncation errors. * Fixed email display bug showing "(wait 0 mins)" on stops with no wait time. * Fixed time validation to accept optional seconds (HH:MM:SS). * Improved settings layout descriptions. = 1.5.3 = * Fixed frontend styles and JavaScript initialization in Elementor editor previews and dynamically rendered shortcode instances. = 1.5.2 = * Added strict server-side booking validation, honeypot spam protection, and per-IP submission throttling. * Added safe uninstall cleanup for plugin tables and options; synchronized the WordPress.org stable tag. * Hardened settings and Elementor value normalization, availability date validation, and bulk-action redirects. * Improved keyboard accessibility for journey tabs and calendar navigation. * Colors and layout now upgrade automatically on activation/update.