Forums

[resolved] [Plugin: Geo Mashup] Single user location on profile page (2 posts)

  1. carlla
    Member
    Posted 2 years ago #

    I'd like to show the users location on their profile page (on author.php template)

    This is what I have tried to do:
    <?php echo GeoMashup::map("object_name=user&object_id=".$author); ?>

    I'm getting a global map for all users. It seems the map() doesn't have a object_id tag parameter ( like location_info() does )

    I am not sure what should I do to get the single location ( only the current $author location )

    Does anyone know what is the right way to do that?

    http://wordpress.org/extend/plugins/geo-mashup/

  2. carlla
    Member
    Posted 2 years ago #

    Apparently it is working fine now... I just logged out. When I was logged as admin I get a global map, but as guest or other user I get the single location. Weird =/

Topic Closed

This topic has been closed to new replies.

About this Topic