這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Location Module (Lite) for Contact Form 7

外掛說明

Location Module for Contact Form 7 is an “Contact Form 7” extension to let users search their location, adjust and send it. It displays an address form and a map (using Google Maps). The user can set their address and locate it on the Map by pressing “Set” button. Is possible to drag and drop the marker to adjust the location. Using: cf7-location-lng’,’cf7-location-lat’ and ‘cf7-location-url’ tags is possible to send in the email the coordinates and the location link set by the user.

Required Plugins

The following plugins are required for Location Module (lite) for Contact Form 7 users:

  • Contact Form 7 by Takayuki Miyoshi – Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup.

This Plugin Needs Your Support

It is hard to continue development and support for this free plugin without contributions from users like you. If you enjoy using Contact Form 7 Location Module and find it useful, please consider making a donation. Your donation will help encourage and support the plugin’s continued development.

Credits

Thanks to GMaps.js v0.4.25 https://github.com/hpneo/gmaps

安裝方式

  1. Upload the entire location-module-for-contact-form-7 folder to the /wp-content/plugins/ directory.
  2. Ensure that Contact Form 7 is activated.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Go to Plugin Settings and fill API KEY field with a valid Google API key
  5. Location Module is now available on the form edit page of Contact Form 7

常見問題集

Installation Instructions
  1. Upload the entire location-module-for-contact-form-7 folder to the /wp-content/plugins/ directory.
  2. Ensure that Contact Form 7 is activated.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Go to Plugin Settings and fill API KEY field with a valid Google API key
  5. Location Module is now available on the form edit page of Contact Form 7

使用者評論

2019 年 5 月 6 日
Woks perfectly! I tried tons of plugins to get this functionality, but finally, it’s the only one doing the job. And it’s very simple to configure and to use. The error message is due to an empty field on a computer. The field needs an adress before clicking the icon. But on a mobile, with location activated, it works, no need to enter an adress.
2018 年 7 月 13 日
Set up the plugin with a valid Google Maps API and Contact Form 7 (both using the most current versions). No other plugins activated, using a stock WordPress theme. A maps is displayed on the contact page, but the only thing that happens is the error message “Error while geocoding your address. Please retry.”
2017 年 7 月 7 日 2 則留言
i’ve been looking for this functionality in ages!! thank you so much!
2017 年 4 月 3 日 1 則留言
Hi, First of all, this is a great plugin! It really covers almost anything I needed. Just a few questions: 1. Now when I enter a business address the map flies to the right location even if there are (small) mistakes in the input (as it would happen on googlemaps), however, if you type the wrong business/store name, googlemaps would propose similar ones. That would be a great feature in the plugin. I need this since I am mapping the fields from CF7 into my database and I would need all the user who want to mention a place, to mention that exact place. 2. Would it be posible to include a reser button for the address field just in case a user enter a wrng address and wants to change it? Thank you VERY MUCH. Javier
2016 年 10 月 12 日 1 則留言
Perfect integration with Contact Form 7. The plugin works smoothly. The developer replied kindly and quickly to my request. Now it allows using Google Maps’ API.
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Location Module (Lite) for Contact Form 7〉的開發相關工作。

參與者

變更記錄

1.1.0

  • New Feature: acquire GPS location
  • Plugin rewritten in OOP
  • Wrapped JS to avoid conflicts

1.0.12

  • Security improvements
  • Fixed Localization bug
  • Added Custom Text on SET button
  • Enable / Disable start location marker
  • Added Italian Language

1.0.11

  • Security improvements
  • Localization support with https://translate.wordpress.org/projects/wp-plugins/location-module-for-contact-form-7
  • If no Google Maps API KEY is set a dismissible warning appear on admin area.

1.0.10

  • Added Reset Button and created an option to enable/disable it
  • Bug Fix: When the location field isn’t required and error that the field is required appear on form submit.
  • Bug Fix: Default Zoom not working

1.0.9

  • Added Reverse Geocoding function when user move the marker
  • Added Map Type Option

1.0.8

  • Fixed URL Update on map marker update
  • Removed deprecated functions

1.0.7

  • Fixed SET Button float problem
  • Fixed JS Error on resize
  • Switched to minified css

1.0.6

  • Fixed Validation Deadlock

1.0.5

  • Fixed JS BUG

1.0.4

  • Fixed JS BUG

1.0.3

  • Added Google Maps API Key option

1.0.2

  • Added default values on plugin options
  • Code improvements (Stability & Security)

1.0.1

  • CSS Minor Fixes

1.0

  • First Version