Changeset 3063444
- Timestamp:
- 04/03/2024 08:54:33 AM (23 months ago)
- Location:
- wp-ride-booking/trunk
- Files:
-
- 3 edited
-
includes/distance.js (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
wp-ride-booking.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-ride-booking/trunk/includes/distance.js
r2506473 r3063444 3 3 var source, destination; 4 4 var directionsDisplay; 5 var directionsService = new google.maps.DirectionsService(); 6 google.maps.event.addDomListener(window, 'load', function () { 5 window.addEventListener('load', function () { 7 6 new google.maps.places.SearchBox(document.getElementById('txtSource')); 8 7 new google.maps.places.SearchBox(document.getElementById('txtDestination')); … … 11 10 12 11 function GetRoute() { 13 jQuery("#dvMap").addClass('map_area'); 12 // Initialize DirectionsService and DirectionsRenderer 13 var directionsService = new google.maps.DirectionsService(); 14 var directionsRenderer = new google.maps.DirectionsRenderer(); 14 15 var mumbai = new google.maps.LatLng(18.9750, 72.8258); 15 16 var mapOptions = { 16 zoom: 7, 17 zoom: 7, 17 18 center: mumbai 18 19 }; 19 20 map = new google.maps.Map(document.getElementById('dvMap'), mapOptions); 21 20 22 directionsDisplay.setMap(map); 21 23 … … 72 74 } 73 75 }); 76 jQuery("#dvMap").addClass('map_area'); 74 77 } 75 78 -
wp-ride-booking/trunk/readme.txt
r2840048 r3063444 2 2 Contributors: gbsdeveloper 3 3 Author URI : https://wpridebooking.com 4 Tags: Taxi, Cab, distance & fare calculator, Travel agency, Woocommerce booking, PayPal payments,Travel Booking, Route finder, google map4 Tags: Taxi, Cab, distance & fare calculator, Travel agency, Woocommerce booking, PayPal payments, Travel Booking, Route finder, google map 5 5 Requires at least: 5.0 6 6 Donate link: https://plugindemo.wpridebooking.com/support-free-taxi-booking-plugin/ 7 Tested up to: 6. 1.18 Stable tag: 2. 27 Tested up to: 6.5 8 Stable tag: 2.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 11 12 13 WP Ride Booking Plugin displays the total distance between two locations. 12 14 13 == Description == 15 14 16 WP Ride Booking Plugin is general purpose wordpress plugin for Ride Booking, Travel Agencies and Cab Booking Sites, Taxi Booking Sites who can directly accept payment from their paypal account. 15 <h3>WP Ride Booking: Your Ultimate Solution for Ride and Cab Booking</h3> 17 16 18 There are following settings available in the plugin 19 * Paypal Email Id 20 * Google Map Api Key 21 * Rates per kilo meter 22 * Get Route Button Text 23 * Set Google Map height 24 * Currency select option 25 * Set background color and text colors. 17 WP Ride Booking is a versatile WordPress plugin designed for ride booking, travel agencies, and cab booking sites. With seamless integration and robust features, WP Ride Booking enables you to effortlessly manage bookings and accept payments directly through PayPal. With WP Ride Booking, you can create a professional and user-friendly booking platform that meets the needs of your customers and enhance your booking experience. Streamline your booking process, increase customer satisfaction, and grow your business with WP Ride Booking today! 26 18 27 <h4>Key Features: </h4> 28 * Calculates total distance between two locations. 29 * Easy to use with shortcode provided. 19 <h4>Plugin Settings:</h4> 20 * PayPal Email ID: Easily configure your PayPal email address to accept secure online payments from customers. 21 * Google Map API Key: Integrate Google Maps for accurate route calculation and real-time navigation. 22 * Rates per Kilometer: Set customizable rates per kilometer to ensure fair pricing for customers. 23 * Get Route Button Text: Customize the text for the "Get Route" button to match your website's branding and messaging. 24 * Google Map Height: Adjust the height of the embedded Google Map to fit seamlessly into your website layout. 25 * Currency Selection: Choose from a variety of currencies to accommodate customers from around the world. 26 * Color Customization: Personalize the plugin's appearance with options to set background and text colors. 27 28 <h4>Key Features:</h4> 29 * Distance Calculation: Automatically calculates the total distance between two locations, providing accurate fare estimates for customers. 30 * Easy Integration: Seamlessly integrate WP Ride Booking into your website using provided shortcodes, making it easy to set up and use. 31 * Responsive Design: Enjoy a fully responsive design that adapts to any screen size, ensuring a consistent user experience across devices. 32 * Customization Options: Customize the plugin to match your brand's identity with flexible settings and color options. 33 * Secure Payments: Accept secure online payments directly through PayPal, providing peace of mind for both you and your customers. 30 34 31 35 <h4>Shortcode:</h4> 32 36 <pre>[wp-ride-booking]</pre> 33 37 38 <h4>Free Version Demo:</h4> 39 <a href="https://plugindemo.wpridebooking.com/wp-ride-booking-free-plugin/" target="_blank">View Demo</a> of WP Ride Booking Free Version 40 34 41 35 42 == WP Ride Booking Pro version == 36 WP Ride Booking Pro pluginis woocommerce compatible which allows anyone to create their online taxi, cab, bus, van, trucks or any vehicle booking system in a few moments.43 WP Ride Booking Pro is the ultimate solution for managing your transportation services seamlessly on your WordPress website. Whether you run a taxi service, limousine rental, or shuttle business, this plugin empowers you to streamline bookings, manage your fleet, and deliver exceptional service to your customersand maximize operational efficiency. is woocommerce compatible which allows anyone to create their online taxi, cab, bus, van, trucks or any vehicle booking system in a few moments. 37 44 Plugin allows payment using default woocommerce order system and orders can be viewed in the admin section with all the information of the booking like source, destination, distance, payment mode, order status and customer information. 38 45 … … 40 47 <a href="https://wpridebooking.com/#pricing" target="_blank">Get Pro Version</a> if you need the following advanced features: 41 48 42 * All features of free version 43 * WooCommerce Checkout: Allow people to pay for their travel charges using Woocommerce checkout 44 * Supports all woocommerce features like use of Coupons, Tax Classes. 45 * Options for distance units (Kilometer/Miles) 46 * Vehicle types settings 47 * Passengers and Luggage Option 48 * Nice admin interface 49 * Journey Date and Time Selection 50 * Fully Responsive Design 51 * Cross Browser Compatibility 52 * Works with any Theme 53 * 1 Year free support from the date of purchase 54 * No recurring charges 49 1. Seamless WooCommerce Integration: Enable customers to pay for their travel charges using the trusted WooCommerce checkout system. Benefit from full compatibility with all WooCommerce features, including the use of coupons, tax classes, and more. 55 50 56 <h4>Free Version Demo:</h4> 57 <a href="https://plugindemo.wpridebooking.com/wp-ride-booking-free-plugin/" target="_blank">View Demo</a> of WP Ride Booking Free Version 51 2. Advanced Configuration Options: 52 * Define distance units (kilometers/miles) to suit your business requirements. 53 * Customize vehicle types settings to accurately reflect your fleet. 54 * Offer passengers and luggage options to accommodate varying travel needs. 55 56 3. Enhanced User Experience: 57 * Enjoy a sleek and intuitive admin interface for effortless management of bookings and settings. 58 * Allow customers to select journey dates and times with ease, ensuring a smooth booking process. 59 60 4. Optimized for Performance and Compatibility: 61 * Experience lightning-fast performance and responsiveness across all devices. 62 * Enjoy seamless compatibility with any WordPress theme and browser, guaranteeing a consistent experience for all users. 63 64 5. Dedicated Support and Updates: 65 * Receive 1 year of free support from the date of purchase, providing peace of mind and assistance when you need it most. 66 * Benefit from regular updates and improvements to ensure your booking system remains up-to-date and secure. 67 68 <h4>Why Choose Taxi Booking Pro?</h4> 69 Increased Bookings: With online booking and real-time tracking, attract more customers and boost bookings. 70 Efficient Operations: Streamline your taxi service operations, save time, and reduce manual tasks. 71 Improved Customer Experience: Enhance customer satisfaction with a seamless booking process and reliable service. 72 Scalable Solution: Whether you have a small fleet or a large operation, Taxi Booking Pro scales with your business. 73 74 <h4>Upgrade Today and Elevate Your Transportation Business</h4> 75 76 With WP Ride Booking Pro, you'll have everything you need to create a professional, reliable, and customer-friendly transportation booking platform. Enhance the booking experience, streamline operations, and drive growth for your business – all with WP Ride Booking Pro. 77 78 Unlock the full potential of your transportation business. Upgrade to WP Ride Booking Pro today! 58 79 59 80 <h4>Pro Version Demo (Basic):</h4> … … 90 111 91 112 == Changelog == 113 = 2.3 = 114 - Updated depreciated funtions and classes 115 - Compatible with WordPres 6.5 92 116 93 117 = 2.2 = -
wp-ride-booking/trunk/wp-ride-booking.php
r2840055 r3063444 68 68 } 69 69 function wprb_ride_booking_scripts() { 70 $api_key _js= get_option('google_map_api');70 $api_key = get_option('google_map_api'); 71 71 wp_enqueue_script( 'jquery' ); 72 wp_enqueue_script( 'google-maps', '//maps.googleapis.com/maps/api/js?libraries=places&key='.$api_key_js); 72 73 // Construct the URL with async attribute 74 $script_url = "//maps.googleapis.com/maps/api/js?libraries=places&key=$api_key&loading=async"; 75 76 // Enqueue the script with async attribute 77 wp_enqueue_script( 78 'google-maps-api', 79 $script_url, 80 array(), 81 null, 82 false // Set to 'true' to include the script in the footer 83 ); 73 84 wp_enqueue_script( 'ride-jscript', wprb_URL . 'includes/distance.js' ); 74 85 wp_enqueue_style( 'map-style', wprb_URL . 'css/style.css'); 75 86 76 87 } 77 add_action( 'wp_enqueue_scripts', 'wprb_ride_booking_scripts' ); 78 88 add_action('wp_enqueue_scripts', 'wprb_ride_booking_scripts'); 79 89 80 90 function wprb_ride_booking_install() {
Note: See TracChangeset
for help on using the changeset viewer.