Linux 软件免费装

BP xProfile Location

开发者 shanebp
更新时间 2024年8月16日 05:00
捐献地址: 去捐款
PHP版本: 4.0 及以上
WordPress版本: 6.5
版权: GPLv2 or later

标签

profile buddypress address members location map xprofile geocode buddyboss

下载

4.7 4.4 4.5 4.8 4.9 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 2.0 3.0 4.1 4.2 1.0 4.0 4.3 4.6

详情介绍:

This plugin works with both BuddyPress and the BuddyBoss Platform. It creates an xProfile Location field type that will use the Google Places API to populate and validate address fields on member profiles. The result will be uniform and searchable addresses with a single input field. In BuddyPress, you can create multiple Location fields via wp-admin > Users > Profile Fields > Add New Field In BuddyBoss Platform, you can create multiple Location fields via wp-admin > BuddyBoss > Profiles > Profile Fields > Add New Field The xprofile field for each member will be populated as a searchable string. A latitude / longitude 'geocode' will be saved as a separate field, if that option was selected when the field was created. You can then use the geocode in your preferred Member Map solution. Or you may be interested in this Member Map solution: BP Maps for Members For Group Maps, please see: BP Maps for Groups For more information about this plugin, please visit BP xProfile Location

安装:

  1. If you have not entered a Google Maps API Key for one of your other PhiloPress plugins - see the FAQ
  2. Upload the zip on the Plugins > Add screen in wp-admin
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. If you are using BuddyPress:
  5. Go to wp-admin > Settings > BuddyPress > Options. Under 'Profile Settings', find 'Google Maps API key', enter your key and Save
  6. Go to wp-admin > Users > Profile Fields > Add New Field and Create a profile field of Type = Location
  7. Or if you use BuddyBoss Platform:
  8. Go to wp-admin > BuddyBoss > Integrations > BuddyPress Plugins. Under 'Profile Settings', find 'Google Maps API key', enter your key and Save
  9. Go to wp-admin > > BuddyBoss > Profiles > Profile Fields > Add New Field and Create a profile field of Type = Location.

屏幕截图:

  • Creating a Profile Field of Type > Location
  • GeoCode option when creating a Profile Field

升级注意事项:

4.8
  • Fixed bug related to changes made in 4.7
4.7
  • Improved support for BP Profile Search
4.1
  • Adds support for distance search when used with the BP Profile Search plugin and BuddyBoss Platform > Profile Search
4.0
  • Improved performance of calls to the Google Maps APIs - important!
3.1
  • Tested with 5.4
  • Improve support for the BuddyBoss Platform - an alternative to BuddyPress
  • Improve cleanup on deletion of a field of type Location
3.0
  • Tested with 5.2.2
  • Add support for the BuddyBoss Platform - an alternative to BuddyPress
2.0
  • Tested with 5.1.1
  • Add support for distance searches via the BP Profile Search plugin IF you have the premium BP Maps for Members plugin from PhiloPress
1.8
  • Tested with 5.0.2
  • Improve multisite support
1.7
  • Add settings field for the 'Google Maps API key' to BuddyPress settings. Manually placing the key in the code is no longer required. But if you have already done so, it will be backward compatible.
1.6
  • Add 'Description' field output when the Profile field is shown
1.5
  • Prevent saving of field data and geocode if the value is an empty serialized array, a:0:{}
1.4
  • Changed the method for supporting the BP Profile Search plugin. You must have at least version 4.7.8 of the BP Profile Search plugin in order to be able to search on any profile fields that you add using the BP xProfile Location plugin.
1.3
  • Added check for enabled BuddyPress Extended Profiles component
  • Tested with WP 4.7 and BP 2.7.2
1.2
  • Added requirement for Google Maps API Key. If you were using this plugin prior to June 22, 2016, you don't need this update. If you decide to update anyway, you will need a Key - please see the FAQ for more info
1.1
  • Fix autolink issue
1.0

常见问题:

Do I need a Google Maps API Key?

Yes. If you need help, read this tutorial: Google Maps API Key

I have a Google Maps API Key. Where do I put it?

If you use BuddyPress: Go to wp-admin > Settings > BuddyPress > Options. Under 'Profile Settings', find 'Google Maps API key', enter your key and Save. Or if you use BuddyBoss Platform: Go to wp-admin > BuddyBoss > Integrations > PhiloPress. Find 'Google Maps API key', enter your key and Save.

Why are geocodes sometimes not created?

If you selected the "Save Geocode" option when creating the profile field and a geocode is not being saved when a member edits that field, then most likely they are not clicking on one of the address options that Google returns as they type. They have to click on one of the addresses or Goggle will not return the geocode. There is no practical method of forcing them to make that selection. We suggest that the "Description" text of the profile field contain an instruction like: "Please make a selection from the dropdown or you will not appear on the Members Map".

Other questions

更新日志:

4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0 3.1 3.0 2.0 1.8 1.7 1.6 1.5 1.4 1.3 1.2 1.1 1.0