Linux 软件免费装

MYF Fleet Booking Widget

开发者 myfleet
更新时间 2026年7月21日 18:29
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

booking travel taxi cab-booking airport-transfer

下载

1.0.8

详情介绍:

MYF Fleet Booking Widget adds a self-contained cab-booking widget to any page or post. Visitors search live fares and confirm bookings across four service types: Key features: Requirements You need an active MYF Fleet API account (token + security salt) to search fares and take bookings. Without credentials configured, the widget shows a setup notice to administrators instead of rendering.

安装:

  1. Upload the myf-fleet-booking-widget folder to /wp-content/plugins/, or install the plugin ZIP through Plugins → Add New → Upload Plugin.
  2. Activate the plugin through the Plugins screen.
  3. Go to Settings → MYF Fleet Booking Widget and enter your MYF API token and security salt (and, optionally, a Google Places API key).
  4. Add the widget to a page using the [myfboen_booking] shortcode, or insert the "MYF Fleet Booking Widget" block from the block editor.

屏幕截图:

  • Available cabs bottom sheet
  • Booking details form
  • Confirmation screen
  • Plugin settings page (wp-admin)

升级注意事项:

1.0.8 Security update. The REST proxy endpoints now require a valid nonce in their permission_callback; the widget refreshes the nonce automatically so cached pages keep working. 1.0.7 Recommended update. Clarifies the public REST proxy endpoints' permission handling and keeps the nonce as a CSRF check inside the handlers. 1.0.6 Recommended update. UI polish for the sheet close button, service-tab hover, and field handling when switching trip types. 1.0.5 Recommended update. Fixes the results sheet backdrop not covering the full screen when another widget embed is present. 1.0.4 Recommended update. Fixes an empty results sheet when another widget with the same element ids is present on the page. 1.0.3 Recommended update. Bump clears cached scripts/styles from the previous version. 1.0.0 Initial release.

常见问题:

Do I need a MYF Fleet account to use this plugin?

Yes. The widget searches fares and creates bookings against the MYF Fleet API, which requires an account token and security salt.

Is my API token safe?

Yes. The token and salt are stored as WordPress options and are only ever used server-side, inside the REST proxy endpoints this plugin registers. They are never localized to JavaScript or otherwise sent to the browser.

Does this plugin work without a Google Maps API key?

The widget still functions, but address fields will not offer autocomplete suggestions — visitors must use the airport/station search (which does not require Google Maps) or type addresses manually where supported.

Can I change the widget's colours and copy?

Yes — headline, byline, customer care number, theme (light/dark) and accent colour are all configurable under Settings → MYF Fleet Booking Widget.

更新日志:

1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.0