BP User Profile Map
Show all Members in Shortcode (2 posts)

  1. andycheeseman
    Posted 4 years ago #


    Is it possible to display all members locations in BuddyPress using a shortcode? It works for me when I use the tick box in the settings, but I'd rather place this map on a unique page.



  2. Hugo Ashmore
    Plugin Author

    Posted 4 years ago #

    It's not possible at the moment I'm afraid, the plugin is designed to work through the BP do_action hooks for BP pages or directly in a profile field entry using the provided function. The standalone shortcode and function provided intended simply for pages or posts.

    However you could simply take the primary function for the BP map displays 'upm_gmap_display()' and add that in the template at the position you require, if you then ensure you don't select a region to display, say, the members list maps then you should get a map rendering as long as you're in a loop. The other map options such as zoom should still be configurable frm the settings page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BP User Profile Map
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic