该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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. 通过 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. 通过 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