{"id":27097,"date":"2010-12-06T08:00:00","date_gmt":"2010-12-06T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/bp-user-profile-map\/"},"modified":"2013-08-27T16:55:00","modified_gmt":"2013-08-27T16:55:00","slug":"bp-user-profile-map","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/bp-user-profile-map\/","title":{"rendered":"BP User Profile Map"},"content":{"rendered":"<p>A simple user location  map plugin for BuddyPress sites combined with a separate function  and shortcode to enable standalone maps in posts\/pages and embedded in template files.<\/p>\n<p>Add Google maps to display a members Location. Maps are displayed in the users profile \/ account page as well as member directory listing or group members listing if enabled.<\/p>\n<p>A widget is available to allow finer control of map placement in custom widget areas that may exist. At present the widget works only for members profile areas and does not have the range of options available to the other maps.<\/p>\n<p>A nod to Andy Peatling for the inspiration of the original map php code.<\/p>\n<p>This version  replaces the Google API with the V3 which benefits from not requiring an API key.<\/p>\n<p>The admin settings page allows  maps to be assigned dimensions as well as basic options for map overlay controls and to define which area of a page maps should display in by selecting page action hooks.<\/p>\n<p>Maps can be set to display on both the BP members loop and the groups loop directories as well as the user account screens.<\/p>\n<p>A standalone function and shortcode are provided  to allow embedding single maps in templates or for calling from a post or page via shortcode.<\/p>\n<p>Important: You must have set up an extended profile field for members to use to add their location.  The location can be either set in the \u2018Base\u2019 profile group in which case it will appear on the signup page or you can<br \/>\ncreate a new group and have the field display on the members profile settings only. The maps will only display once the member has added their location to this new field.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add a map display of a members location to their BuddyPress profile.<\/p>\n","protected":false},"author":65,"featured_media":244651,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"BP User Profile Map - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Add a map display of a members location to their BuddyPress profile."},"footnotes":""},"categories":[1],"tags":[59,507,285,10153,6373],"class_list":["post-27097","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-buddypress","tag-location","tag-map","tag-profile-map","tag-profiles"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/27097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=27097"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/27097\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/244651"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=27097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=27097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=27097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}