Skip to:
Content
Pages
Categories
Search
Top
Bottom

Link to users profile on map

  • Profile photo of eian00
    eian00
    Member

    @eian00

    Hello
    Is it an error or you can’t click on the users location icon on the map and go to his profile page after clicking?

    My cursor changes but when I click nothing happens.

    How can I fix that?

Viewing 1 replies (of 1 total)
  • Profile photo of eian00
    eian00
    Member

    @eian00

    Or even better, on the first click of the users location to show a popup with some users info, like in the Location click case, and then clicking on his name to redirect to his profile page.

    I tried to modify the file gpress-map.php the part:

    // BP USER LOCATION
    if($map_id == ’_bp_user_location’) {
    if(is_array($bp_user_array)) {
    $gpid = ’’.$map_id.’_’.mt_rand(0,2147483647).’';
    foreach($bp_user_array as $user => $marker) {
    $map_position = $marker;
    }
    $marker_array = $bp_user_array;
    $this_map_height = $map_height;
    }
    }

    But I have no idea what to add in here, if it is even the part I have to modifie.

Viewing 1 replies (of 1 total)
  • The topic ‘Link to users profile on map’ is closed to new replies.