• Hi,

    Is there a way to make the plugin use two (or more) extended profile fields (City + Country at least) to localize the member? I’d like the map localise someone in Paris if he typed “Paris” in city field and “France” in country field.

    Don’t want to only use the “city” field for BP User Profile Map because some cities have the same name but are not in the same country.

    Thank you.

    http://wordpress.org/extend/plugins/bp-user-profile-map/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Hugo Ashmore

    (@hnla)

    No way unless the plugin was modified, at the moment it uses one field to pass through to Google geolocate changing this is more work than it appears.

    OC2PS

    (@sooskriszta)

    some cities have the same name but are not in the same country

    Fair point.

    Plugin Author Hugo Ashmore

    (@hnla)

    it is a fair point but as always , not something I hadn’t considered but something that requires more thought and testing than one imagines, as soon as you move away from one field you have a minor nightmare testing and working out where to grab address strings from as people will all want something different, so one ends up with extended options just to ask user to tell the plugin what fields hold what then grabbing that and having to build a string from different fields, and hoping that the string from each field makes sense when concatenated together; chances of providing strings Google can’t locate increase greatly.

    OC2PS

    (@sooskriszta)

    as soon as you move away from one field you have a minor nightmare testing and working out where to grab address strings from

    True.

    Again, the part I quoted from @evo252’s post was simply that many cities in various countries have same names…so only city perhaps isn’t sufficient to show the correct address. I can empathize with the problem.

    I’m not necessarily advocating the proposed solution. Perhaps there is a much better way to deal with this…

    P.S. BGMP http://wordpress.org/plugins/basic-google-maps-placemarks/ has it pat down. I’d check how they’ve implemented their stuff.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using two extended profile fields to generate the map’ is closed to new replies.