Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Support: Creating & Extending

Existing and new plugins/components and themes.

BuddyPress Maps (42 posts)

Started 2 years, 3 months ago by: Grosbouff

  • Profile picture of Grosbouff grosbouff said 2 years, 3 months ago:

    Hi, I’m currently developping a plugin to display and save maps (google maps) in BuddyPress.

    The core component allows to save,edit and display markers on a map; and you can use it for your own plugins.

    For example, I made a plugin to “attach” a map to a user’s profile,
    and i’m working on another one to display a map with all the locations of the users of a group.

    demo : http://dev.benoitgreant.be/wordpress-mu/members/admin/profile/public/
    You can try to register on this demo site and edit your profile to see how it works.

    There are many options to customize the maps; one of them is the “dynamic” parameter (both/static/dynamic).

    Both (default) means that the map is displayed as a picture. If you click it, it loads a real map wherin you can move. This should avoid loading to much javacript.

    You can also choose the number of markers a map can include,
    If titles and descriptions are available for this marker, etc.

    I’m also working on the privacy (not yet fully working) : for each marker, the user can choose who (visitor,member or friend) :
    -can/can’t see the marker
    -if he can see the marker, you can also choose to not display the exact location (it will be a random location at +-150m of the original location). Eg. for a profile location : you can choose that visitors (non registered users) will not be able to see your marker; that a regular member will be able to see it but not the exact location; and that your friends will be able to see the exact point.

    In the future, i’ll try to use this to filter query results for geo-location.

    Well; I guess there is lot of potential for this one !!!

  • Profile picture of Grosbouff grosbouff said 2 years, 3 months ago:

    “Map for groups” feature added…

    http://dev.benoitgreant.be/wordpress-mu/groups/buddypress-map-for-groups-test/map/

  • Profile picture of finni3 finni3 said 2 years, 3 months ago:

    wow, looks really nice! Great work.

  • Profile picture of designodyssey designodyssey said 2 years, 3 months ago:

    Very nice. How is the marker in the map determined? Do you have registration items for address and then geocode on the backend?

    Good work

  • Profile picture of Grosbouff grosbouff said 2 years, 3 months ago:

    @designodyssey :
    yes. there is a core component (buddypress maps) that is used to save/load markers on a map; and then the BuddyPress Maps profile plugin;
    which loads the map/edit map where it does and prefills the marker information with the profile fields. But you still have to save the marker.
    Try to register and edit the Location group on my demo website, you’ll see !

  • Profile picture of Grosbouff grosbouff said 2 years, 3 months ago:

    0.1-alpha version (for tests only !)

    http://dev.benoitgreant.be/2010/02/13/buddypress-maps/

  • Profile picture of Grosbouff grosbouff said 2 years, 3 months ago:

    Updated +
    Quick guide to use it with your plugin : http://dev.benoitgreant.be/blog/2010/02/buddypress-maps-how-to-use-it-with-your-plugin/

  • Profile picture of @mercime @mercime said 2 years, 3 months ago:

    Grosbouff, looking great. Will be testing it tonight. Cheers.

  • Grosbouff, are you aware of the Geo Mashup plugin. Couldn’t you leverage that?

    I installed and activated Geo Mashup site-wide, but then it asks all the member blogs for their own Google API code in the wp-admin, which is annoying and will confuse many users.

    Haven’t had time to test your plugin yet, but if it does the same as Geo Mashup, I’d rather have a cleaned up BP-ready version of Geo Mashup.

  • Profile picture of Grosbouff grosbouff said 2 years, 3 months ago:

    @Peter : mine does not require an API key and is BP-ready But there is less features.
    It’s up to you to choose which one is the best for you.

  • Profile picture of Karin Johansson Karin Johansson said 2 years, 3 months ago:

    @grosbouff – Thank you! :-)

    I´m using BP Maps and BP Maps Profile and it works like a charm.

    Will you put it up for localization, at least for user side? I will be happy to contribute with a Swedish translation.

  • Version 0.1.5-alpha
    at Backend – Options – Maps Sizes, I get the following Warning:

    Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/buddypress-maps/bp-maps-admin.php on line 278

    and the Drop-Down is emty

  • Profile picture of Grosbouff grosbouff said 2 years, 3 months ago:

    @tolitoli>strange,
    I don’t have this even when I reset the options…
    Could you try to reset options and tell me if it happens again ?

  • @Grosbouff
    reset does not change, the first appearance after a reset

  • Profile picture of schwooba schwooba said 2 years, 2 months ago:

    On the backend, whenever I go to “edit profile” to set a marker and I click search, it sends me to the top of the page and does nothing. Any ideas for me? I’m running WPMU 2.9.1 and BP 1.2.1.