BP Distance Search

外掛說明

BP Distance Search adds a new Google Place Autocomplete field type to your BuddyPress extended profiles, and registers this field type with BP Profile Search.

After installing this plugin:

  1. Admin can create new profile field(s) with type Google Place Autocomplete
  2. Members can fill in the new profile field(s) on their Profile Edit page
  3. Admin can add the new profile field(s) to a BP Profile Search form, selecting either the distance search mode or one of the usual text search modes contains, is, or is like
  4. Visitors can use the search form with the new profile field(s)

See the screenshots below depicting the above steps.

螢幕擷圖

  • Admin creates a new profile field with type Google Place Autocomplete
  • Members fill in the new profile field on their Profile Edit page
  • Admin adds the new profile field to a BP Profile Search form
  • Visitors use the search form with the new profile field

安裝方式

Get a Maps JavaScript API key, and enable the Geocoding API and the Places API.

This plugin doesn’t require any configuration, you’ll need your API key when you create your first Google Place Autocomplete profile field.

使用者評論

2023 年 4 月 4 日
Very nice, little plugin which solves quite big problem of the missing location field in the user’s profile in BuddyBoss. Thank you so much! Please keep developing this plugin🙏🏻
2020 年 9 月 7 日 1 則留言
There is only one thing I would change. I wish you could limit how much information users could give. For example: require city – but prevent users from giving their full address for security reasons. I think this is really about Google though and not the plugin. The plugin just uses Google’s APIs. I just added a warning on my registration page advising users not to give their full addresses. The plugin is very useful and does just what it’s supposed to do.
2019 年 4 月 17 日
As simple as installing the plugin, adding the field and API key. Perfect. Another exceptional plugin by Andrea. Thank you so much for your continued development of this plugin and BP Profile Search.
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈BP Distance Search〉的開發相關工作。

參與者

〈BP Distance Search〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈BP Distance Search〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4.4

  • Removed loading=async as it doesn’t work with WordPress 6.6

1.4.3

  • Fixed old bug that prevented Loco Translate from working properly

1.4.2

  • Added loading=async when loading the Maps JavaScript API

1.4.1

  • Added code to help users select a location from the dropdown list

1.4

  • Added message reminding users to select a location from the dropdown list

1.3

  • Added support for the BuddyBoss Platform built-in profile search

1.2

  • Added ability to sort the search results by distance
  • Added ability to show the distance in the member details area
  • Updated for BP Profile Search 5.1

1.1

  • Added location pin to get the current location

1.0.3

  • Fixed bug in back-end profile editing

1.0.2

  • Fixed conflict with the BuddyPress Date Selector field type

1.0.1

  • Added call to load_plugin_textdomain

1.0

  • Initial version released to the WordPress Plugin Directory