=== Cab Grid (Pro edition) === Contributors: nimbusdigital Tags: taxi,taximap,cab,minicab,mini-cab,fare,price,calculator,journey,travel,transport,uber,estimate,calculate,booking,system,quote Version: 5.9.4 Requires at least: 4.0 Tested up to: 6.1.1 Stable tag: trunk License: GP2 Locale: en_GB,de_DE,es_ES,fr_FR,it_IT,pt_PT,nl_NL,ru_RU Displays a taxi fare price calculator on your site via shortcode [cabGridPro] or widget. == Description == (Disponible en español | Disponível em Português | Disponible en français | Disponibile in italiano) Cab Grid is a simple taxi fare price calculator for your Wordpress website. It enables calculation of fare prices for simple A to B journeys. First you define your areas and vehicles. Next you enter prices in a grid for journeys between each area for each vehicle. * Unlimited Areas * Unlimited vehicles * Integrated booking form (sends email to WP admin address) * Accept payment using Paypal * Customisable currency * Customisable CSS (styling) * Customisable booking message * Can be displayed on your site via a shortcode: [cabGridPro] or as a widget in your sidebar == Requirements == PHP v5.6 or higher CURL function MAIL function Twilio account (optional) == Installation == AUTO (WORDPRESS): Go to your Wordpress Admin > Plugins > Add New Click 'Upload Plugin' at top Use the file browser to locate the ZIP file you downloaded on your computer. Click 'Install Now' MANUALLY (FTP UPLOAD): Upload the plugin folder to your Wordpress plugins directory - typically wp-install-directory/wp-content/plugins/ Activate the plugin: Log in to the Wordpress admin, go to Plugins > Installed Plugins. Find the Cab Grid Pro item and click Activate Configure your prices: - In the admin menu, click CAB GRID PRO - Enter the areas (place names) you would like to cover (journey between). You can define an area as either a starting point only (origin) or destination only or both. - Click the VEHICLES tab - Enter at least one vehicle including passenger and luggage capacity (optionally select an image) - Click the PRICES tab - Enter prices for journeys between two places in the corresponding grid cell (see note below) - Click the tab for any additional vehicles and specify prices in the same way - (Optional) Click the OPTIONS tab and enter a currency symbol (ie $, £ or €) in the currency field. If you are using Paypal to take payments, you must select the currency code also. - (Optional) Turn the booking form on or off - (Optional) Also under OPTIONS tab, define any custom CSS in the STYLING text area. - (Optional) Also under OPTIONS tab, enter a message to be shown with the price in the MESSAGE text area. (This could include details on how to book or the maximum number of passengers.) - (Optional) Enter your Paypal email address in the Paypal ID field to accept payments (if left blank, no PAY button will be shown) - Click SAVE *Note: Apart from journeys remaining within a single area, each two places can have both FROM and TO prices. These may often be the same, but you are able to specify different prices if the need arises. i.e. The price for a journey starting from place1 going to place2 might be different to the price starting from place2 to place1. Add shortcode to a page: Create (or edit) a page (or post) on your Wordpress site where you want your Cab Grid Price Calculator to appear. Enter the shortcode: [cabGridPro] at the point on the page where you want the calculator to be displayed. Add the Cab Grid widget to your sidebar: From the Wordpress admin page menu, select Widgets from the Appearance section. Under 'Available Widgets' look for the item named Cab Grid and drag it to you preferred widget area (on the right) Expand the new widget and enter a title (arbitrary text of your discerning) and the height you wish the widget to have on your sidebar/widget area. For more details and screenshots, see https://cabgrid.com == Frequently Asked Questions == = Where can I get installation help? = https://cabgrid.com/installation-configuration/ = Can I translate labels and text? = Yes. Translations are stored in the 'languages' folder. For instructions, see https://cabgrid.com/help-and-support/translations/cab-grid-translations/ == Changelog == 5.9.4 Bug fix: Fixed price bug when prices have been imported Bug fix: Fix flag perspective bug on mobile NEW: Delete all prices (via admin) NEW: Delete all places (via admin) NEW: Delete all vehicles (via admin) NEW: Delete all extras (via admin) NEW: Customise admin notification email subject line (with text-substitution) vai $cabGridProAdminNotificationSubject variable in _settings.php (and Defaults add-on v2.17) Improved logging Updated update system Improved mail() function testing Improved cache handling 5.9.3 NEW: Logo field in OPTIONS (for general use - e.g. Booking nameplate) Improved logging Bug fix: Slider widget wording too close Removed friendly URL option as obsolete Bug fix: Scroll to top of CabGrid interface when floating book button clicked NEW: $cabGridProAdminLocale setting to override site language for admin messages (also in Defaults add-on v2.15) 5.9.2 NEW: Booking Reference Seed NEW: Support for custom note in admin notification messages: $cabGridProAdminMsg via _settings.php NEW: Filter for outbound messages: cabGridProSendFilter Bug Fix: Direct link to booking in bookings tab when booking managment installed Bug Fix: Loading spinner animation Styling improvements Compatibility test improvements Update system improvements 5.9.1 Improved text substitution logic to account for unexpected markup Bug Fix: Remove HTML tags from SMS messages NEW: JS hook for date picker: hookCabGridProDateChange(date,picker,input) Syntax updates Updated language picker UX Bug Fix: CabGrid table layout tooltip positioning Bug Fix: PHP8 not showing no price message Bug Fix: Prevent excess alerts in admin email address validation 5.9 NEW: Paypal success page option (and cancel page via _settings.php/Defaults add-on) Built-in accept email now includes return journey date and time Bug Fix: Custom form field radio buttons not mandatory NEW: Custom form checkbox fields now accept multiple values Minor admin styling update: floating save button Improved booking form submission reliability Updated Google Analytics integration to avoid errors with analytics plugins (e.g. Monster Insights) Updated built-in jQuery Validate to 1.19.3 5.8.21 NEW: Link to edit Advanced Settings (or Defaults Add-on) if admin editing permitted (OPTIONS) Improvements to mail system where SMTP plugin used Bug fix: added stopPropagation() to return label click Bug fix: Date picker Norwegian localization Date picker catch invalid localization 5.8.20 Improved object caching (and added option to disable cache in _settings/defaults: cabGridProDisableCache) Bulk price update formula now rounded based on $cabGridProPriceDecimals variable as set via _settings.php or defaults add-on. Bug fix: admin notification email did not provide translations for "passengers" & "luggage". Now available for translation. Bug fix: site would crash if cURL not available Added lazy-loading to all img tags Added PHP version test to compatibility test 5.8.19 Added JS hooks: hookCabGridProGetPrice("done|fail") hookCabGridBookingSubmit("done|fail",[form data]) hookCabGridProBookButtonClick(Cab Grid Instance) 5.8.18 Bug fix: Compatibility test throws false positive in Wordfence scan 5.8.17 Date-picker library updated Bug fix: Native mobile date-picker on mobile not displaying properly Remove "CabGrid Instance:" from customer notification email message Added theme name to compatibility report 5.8.16 Improved security where server permits directory listing Bug fix: Choose latest price for journey spec (solves discrepancy when importing prices) Remove long addresses from customer notifications 5.8.15 Minor updates to Gutenburg block Admin: Price removed when deleted from price table (no need to enter zero any more) Admin: New preview link loads embedded version of CabGrid Pro calculator in new window/tab Bug fix: Corrected references to return icons in v5 alt styles CSS Tooltips: Rewritten tooltip positioning Tooltips: strip HTML from title tags when displaying as tooltips Translations: Rewritten translation engine (improved notification emails, better compatibility with 3rd part translation plugins) 5.8.14 NEW: Built-in alternative styles for v5 Auto-update functionality improved Improve advanced destination drop-down picker compatibility Updated 'Baht' to 'Thai Baht' in currency list Licensing validation updates Updated encoding in HTML notification emails Added additional error notifications on front end displayed only when ADMIN in logged in (e.g. Alert shown to administrators if mail sending fails on front end) Bug fix: overflow adding width on small devices. Updated v5 shadow (.cabGridPro:after) not to extend beyond parent width on screen sizes below 600px. Re-run calculation when BACK button clicked to prevent destination drop-down being disabled (on mobile devices) 5.8.13 JS compile bug fix 5.8.12 Fix Google Tag Manager event tracking 5.8.11 Improved text substitutions to give better feedback if data for ///key/// missing Added English language variants to localisations to avoid file not found warnings Updated troubleshooting logging - added notification message in admin when enabled Bug fix: Booking availability checker (via Booking Management Add-on) not passing correct vehicle id Improved localisation in notification emails so that admin uses site language and customer notification uses language selected on front end 5.8.10 Update mail function for WordPress 5.5 Date picker update (library version and time styling) Make address input placeholder text customisable in _settings.php and defaults add-on (.e.g. "Pick-up address or flight number/terminal") New: Email acknowledgement message accepts translation syntax 5.8.9 Bug fix: JS error in Google Analytics tracking causing load error Improved update notifications 5.8.8 Bug fix: JS error in Google Analytics tracking causing load error 5.8.7 Bug fix: update notification persists New: Reinitialise button Format price as decimal format for Google Analytics tracking 5.8.6 NEW: EXTRAS now have dedicated return journey prices NEW: Group order characters hidden before carat (^) character Updated Dutch translation (thanks to Roel) Improved resource management when WordPress installed in sub-directory 5.8.5 NEW: Notification in CabGrid Admin pages when an update becomes available. NEW: Updated admin menu icon Bug Fix: English flag not showing when default lang not English? Minor updates to (DE/ES/IT/RU) translations (thanks to Gary) License verification mechanism improved Changed default log length in _settings to 1500 Bug Fix: Links (custom HTML) in custom form field names (labels) now properly formatted. Bug Fix: Allow 'http://' links in custom form field labels (previously, colon would have been considered separatpr) Updated booking notification emails to handle/parse HTML within custom form field labels Changed default priority value for areas and vehicles to be twice total count so that a custom order can be defined without having to change priority assigned to all areas/vehicles. (Previously default was 1) Updated styling in admin when priority order is enabled in areas and vehicles tables. Updated compatibility tests to be less strict when testing cURL functions. 5.8.4 Bug Fix: Default customer SMS text not sent when custom message field empty Improved styling (spacing) for extras on booking form 5.8.3 Return button labels customisation improvements Bug Fix: Return price calculation formula "*1" now correctly handled (though this formula has no impact on one-way price) 5.8.2 NEW: Added option to enter a custom message sent by SMS as booking acknowledgement NEW: Added instance ID to booking request notification email (for tracking) NEW: Set background colour for embed page via query string ?bg=HEX (no #) Improved parsing of telephone numbers in Twilio settings to avoid illegal characters (additional punctuation) Updated error log support for international dialling codes Removed anomalous data from default booking request notification emails Improved tab switch in admin to include link if reload fails Improved export button so label is reset on successful file download Bug Fix: Full address labels now show correct place when destinations are switched Improved Paypal link in booking request notification email Added return details in admin text (SMS) Improved cURL call reliability 5.8.1 NEW: Address auto-complete now biased to selected destination (radius defined in _settings.php or via defaults add-on) Negate PHP error log warning when checking site name Bug Fix:A non-numeric value encountered in Cab Grid Pro admin Initial move to labelling as CabGrid (no space) Bug Fix: Export function not working Improved security for export function Improved notification system in admin Updated CabGrid Pro compatibility test to check file access Updated cURL functions to improve reliability 5.8 NEW: Click the one-way or return text next to price to switch between one-way and return journey types NEW: Table layout can be limited by row (origin) and/or column (destination) NEW: Links to bookings now limit booking table to the booking in question UPDATED: Booking form styling - better alignment NEW: Booking form full address labels now use the places selected by the customer NEW: English language flag based on site locale (US/UK/AU/NZ/ZA/CA) Bug Fix: Optgroup IDs unique Bug Fix: Booking form field labels no longer contain whitespace Bug Fix: Booking form fields now have always unique ID attributes Improved TinyMCE and Gutenburg functionality to account for new shortcode attributes 5.7.3 Bug Fix: Default setting for USE FRIENDLY URLs (soon deprecated). Improved link system to operate entirely within WordPress. 5.7.2 Bug Fix: Double backslash in non-rewrite includes Improved AJAX functionality Added Twilio $10 referral link 5.7.1 BUG FIX: Paypal (and other fields) missing from OPTIONS tab Added canonical meta tag to EMBED page Validate return journey formula in OPTIONS tab 5.7 NEW: Option to use drop-down (HTML