Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Google Map Integration


Lsm_267
Participant

@lsm_267

Hi bergsten

thanks for the plugin, essential for any network

I installed the 2.0b2 version on my BP, put the php code you gave above (add_action(‘bp_custom_profile_boxes’, ‘bp_google_maps_profile’, 6);) in the index.php from the directory /wp-content/member-themes/buddypress-member/profile, exactly here :

‘<?php if ( function_exists(‘bp_send_message_button’) ) : ?>

<?php bp_send_message_button() ?>

<?php endif; ?>

</div>

<?php add_action(‘bp_custom_profile_boxes’, ‘bp_google_maps_profile’, 6); ?>

<?php bp_custom_profile_sidebar_boxes() ?>

</div>

<div class=”main-column”>’

It’s working but a little buggy : the map shows two time as you can see here :

http://vivre-en-autarcie.com/members/admin/profile/public

something else is bugging.

the button update your position leads to a page that doesn’t exist with slug: update-position

the integration function works fine : I can edit a map where all markers my users are shown ; that’s great

thanks for any help

Skip to toolbar