=== BP User Profile Map === Contributors: hnla AKA Hugo Tags: buddypress, profiles, map, profile map, location Requires at least: BuddyPress 1.5 Tested up to: WP 3.3, BuddyPress 1.6 Stable tag: 1.3 Add a map display of a members location to their BuddyPress profile. == Description == A simple user location map plugin for BuddyPress sites. 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 you enable them. 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 but it would be possible to code it so the map could display user location on other page views although it's not clear whether there is much point to this. A nod to Andy Peatling for the inspiration of the original map php code. This version replaces the Google API with the V3 which benefits from not requiring an API key. The admin settings page allows the map to be assigned dimensions as well as basic control over the map overlay controls and to define which area of a page it should display in by selecting page action hooks. 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 'Base' profile group in which case it will appear on the signup page or you can create a new group and have the field display on the members profile settings only. The map will only display once the member has added their location to this new field. == Installation == * Upload the directory '/bp-user-profile-map/' to your WP plugins directory and activate from the Dashboard of the main blog. * Configure the plugin at Dashboard > BuddyPress > UPM Settings. * Presently you can set map dimensions plus map overlay options and select BP screens such as 'Members', 'Groups' or 'Profile'. == Frequently Asked Questions == None == Upgrade Notice == 1.3 Major re-write. Provision to display maps on BP members directory & groups members screens. Various new options for map control & display including user set profile field name, turn off/on styles, increased flexibility for map dimensions. ability to embed function call for templates & shortcodes for content body of pages/posts, REQUIRES: BP 1.5+ . == Screenshots == 1. A view of a small map displayed floated right in the members public profile page. == Changelog == ** V 1.3 ** 16/01/12 1.3 is a major re-write and requires BP 1.5 as a minimum it adds a number of new capabilities for Buddypress lists and for embedding map function in WP pages and additional option settings. - Add ability to show maps on BP members directory. - Add ability to show maps on BP group member list. - Added user set field for Xprofile field name - user can set a name of their choice for location. - Provided ability to use map function as standalone passing through location string via parameter. - Provided Shortcode capability for post/page content body. - Added new options in dashboard settings for additional map displays, provide ability to switch displays on/off, switch off styles, change width to 'auto' or percentage. - Cleaned up and improved settings page. ** V 1.2.1 ** 13/03/11 - Corrected version number update ** V 1.2 ** 13/03/11 - Plugin updated to work with WP 3.1 and BP 1.3. bleeding edge - Checked to work with WP 3.0.* stream BP 1.2.7 /1.2.8 and generally for multisite or single install. - Checked to work for BP 1.2.8 / 1.3 bleeding edge. - General tidy up of admin screens and fixes for display region checkbox deafult value 'none'. - Added class to parent div depending on display area selected to improve flexibility in styling. ** V 1.1 ** 27/12/10 Version introduces further admin options for configuring the map overlay controls. - Turn off the map navigation overlay (zoom, pan). - choose to display navigation overlay in 'Small' mode regardless of map size. - Select 'dropdown' as the primary Map Type selection display regardless of map size. - Set the preferred initial map zoom value (defaults to 11 ). ** V 1.0.1 ** 13/12/10 Minor bug fixes and author induced errors - Corrected bad link in admin settings page pointing to BP profile field setup - Corrected issue with passing variable values for width and height inline styles - out of function scope. ** V 1.0 ** 06/12/10 Stable initial release