Skip to:
Content
Pages
Categories
Search
Top
Bottom

Google Map Integration

  • Just wondering, if we can come up with a plugin using which one can position himself. Will help a lot in seeing the geographic location of friends which is not there on any major social networking site.

    Anyone interested in this?? I might be available for this, if someone like to start this.

    Thanks

    Nitin

Viewing 25 replies - 1 through 25 (of 36 total)
  • This is cool. I think SocialEngine has integrated google maps, and it’s verry interesting.


    exchequer598
    Participant

    @exchequer598

    Dude that would be AWESOME!


    gnattybumpo
    Member

    @gnattybumpo

    I would be very, very interested in this given the focus of my site: http://whiteblackthepenguin.net/


    Burt Adsit
    Participant

    @burtadsit

    I’m using two things that use google maps. The google calendar plugin which when you display the calendar entry it has a ‘map’ button that takes you to the google map for that event location.

    Then there is geoPress which is a plugin that allows you to include a map inside of a post on your blog.

    An interesting idea. Maybe the use of optionnal custom profile field could make it really easy to do.

    I will take a look when i will have the time.

    Hi everybody,

    Newbie with BuddyPress (INstalled today :)), I’m looking for a google map plugins that permit to create map by group to localize members. The home page could display a global this map showing members ofdifferents groups. Do you think its realisable ? Someone is it interested in this ? I’ve no devalopper telent by I can help in other maneer (sorry for my terrific english :)).

    Many thanks

    François

    I have this on my site using a plugin I wrote for WPMU, I’m working on integrating it into the BP users page but right now it’s just on the WP Write page to set your location for each post. It also tracks users current locations to display them on a Sitewide map.

    I’ll try to get it together to post as a plugin.

    You can take a look at: myrv20.com

    The site is no where near complete but you are welcome to take a look.


    Anonymous User 303747
    Inactive

    @anonymized-303747

    gwrey, slight off topic:

    Nice job on your site. I did notice tagline in your header says “RV Advetures” – that’s obviously a typo.

    Would you be willing to share the code you use to create the stand-alone Featured Members widget? I’ve been messing with extracting this from one of the core files but after hours of messing and countless of blank pages, I am need of serious help!

    TIA.


    nicolagreco
    Participant

    @nicolagreco

    I’m working on google maps now, specially on street maps


    gpo1
    Participant

    @gpo1

    Twitme 1.7 plugin for BP has something like it,but still in progress!


    Burt Adsit
    Participant

    @burtadsit


    Bergsten
    Participant

    @bergsten

    I have an early beta version of a Google Maps plugin that works with WordPress, WPMU & BuddyPress.

    Go to http://www.ezbizniz.com/wordpress-plugins/google-maps and click on the “WP Google Maps – 2.0b1” link to download.

    Put the wp-google-maps folder in mu-plugins, copy the bp-google-maps.php file to mu-plugins, go to wp-admin/admin.php?page=wp-google-maps/wp-google-maps.php and enter your Google Maps API key for your site.

    Hey bergsten, sounds very interesting. I tried to install it, but maybe I am a dummy… What does the plgin in BP exactly do? Do I have to implement anything else (besides the things mentioned in the readme)?

    Is it just in the backend or should there be something in the frontend?


    Meerblickzimmer
    Participant

    @meerblickzimmer

    Hi bergsten!

    Plugin works fine so long. What´s your plan with the plugin? Mayby a profile-integration is possible (under profile fields under the wp-mu backend)?


    Bergsten
    Participant

    @bergsten

    The plugin adds a Google Map into each profile with a marker where the member is. The member can manually set the location by moving the marker and saving it.

    If the member hasn’t saved the position, the position of the IP-address the member last used to login is used.

    You need to have the latest buddypress-member theme from trunk in order to see the map in the member profile as I’m calling add_action(‘bp_custom_profile_boxes’, ‘bp_google_maps_profile’, 2); to insert the map into the profile.

    Hi bergsten, beautyfull products. I Installed it but I don’t understand why I can’t see the map. I see where it might appears but nothing appears

    François


    Bergsten
    Participant

    @bergsten

    Apart from the BP-profile integration, each user can easily add a Google Map on their blogs using the tags in http://www.ezbizniz.com/wordpress-plugins/google-maps

    I’ve also added the possibility to get markers from an XML-feed. If you, in the WP Google Maps settings, click on the “See example…”-link you see the URL to an XML-feed that will return markers for 20 of the users withint the viewport of the current map. You can use this to display a map on your front page displaying where the different members on your site lives.

    In the “Marker XML Feed Fields” input field you can specify the names of the different fields of the markers returned by the XML-feed.

    In the “Marker XML Feed HTML Pattern” you can set how the information will be presented when someone clicks on a marker.

    I will write a more detailed description on how things work on http://www.ezbizniz.com/wordpress-plugins/google-maps when I get the time to do so.


    Bergsten
    Participant

    @bergsten

    François, have you entered your Google Maps API on wp-admin/admin.php?page=wp-google-maps/wp-google-maps.php and you don’t see a map when you go to yoursite.com/members/admin?

    When you go to your own profile, do you see the link “Update your position”?

    jvinch – this is the code I use for the Featured Members on the homepage:

    <div class="widget">
    <h2 class="widgettitle"><?php _e( 'Featured Members', 'buddypress' ) ?></h2>

    <?php $users = BP_Core_User::get_random_users( 2, 1 ) ?>

    <?php if ( $users['users'] ) { ?>
    <ul id="featured-member-list" class="item-list">
    <?php foreach( $users['users'] as $user ) : ?>
    <li>
    <div class="item-title"><strong><?php echo bp_core_get_userlink( $user->user_id ) ?></strong></div>
    <div class="item-avatar">
    <a href="<?php echo bp_core_get_userlink( $user->user_id, false, true ) ?>"><?php echo bp_core_get_avatar( $user->user_id, 1 ) ?></a>
    </div>

    <div class="item">
    <!-- div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( get_usermeta( $user->user_id, 'last_activity' ), __('active %s ago') ) ?></span></div -->

    <?php if ( function_exists( 'xprofile_get_random_profile_data' ) ) { ?>
    <!-- ?php $random_data = xprofile_get_random_profile_data( $user->user_id, true ); ? -->
    <div class="item-title profile-data">
    <strong>About Me: </strong><?php echo BP_XProfile_ProfileData::get_value_byid( 2, $user->user_id ); ?>
    </div>
    <div class="item-title profile-data">
    <strong>RV Type: </strong><?php echo preg_replace('/^.*?"(.*?)".*$/', '$1', BP_XProfile_ProfileData::get_value_byid( 3, $user->user_id ) ); ?>
    </div>
    <?php } ?>
    </div>
    </li>
    <?php endforeach; ?>
    </ul>
    <?php } else { ?>
    <div id="message" class="info">
    <p><?php _e( 'There are no members to feature.', 'buddypress' ) ?></p>
    </div>
    <?php } ?>
    </div>

    bergsten,

    on wp-admin/admin.php?page=wp-google-maps/wp-google-maps.php and on the right side of the page I presume I might see a map… but nothing appears.

    In “My Profile I have “Update Position” but apart a text don’t see any map.


    gpo1
    Participant

    @gpo1

    I hope you can switch on or off this feature for privacy?


    Bergsten
    Participant

    @bergsten

    Francois, are you sure you have entered the Google Maps API key for your site?

    The members can choose to not save their exact position and the localization of the IP-address is so inexact that I would say there is no privacy issue with this. However, we would like to add the possibility to turn the feature off.

    Hi bergsten,

    I have a Google Map API key but nothing appears. Firebug seems to say that it can’t find /wp-content/mu-plugins/wp-google-maps/js/google-maps.js.php. But when I go there in ftp I see the file. The chmod is 644 (I think its good). I’m looking for my hoster I think its probably around my hosting solution configuration.

    So It finish by working very well :). In fact there is a problem where your WordPress MU/Buddypress is in a sub folder of your httpdoc. I think googlemap plugin don’t find the path for some javascript. When I put the cms on a direct folder all is working fine. Thanks bergsten for this amazing module :).

    Hello,

    So my plugin install works for now.

    I’d like to know now if with this plugin we can make maps displaying members by group and also a map displaying all the members ?

    Thanks

Viewing 25 replies - 1 through 25 (of 36 total)
  • The topic ‘Google Map Integration’ is closed to new replies.
Skip to toolbar