BuddyDev

Search

Geo Location BuddyPress Xprofile Custom Field Types?

  • Participant
    Level: Initiated
    Posts: 16
    Kim Hargis on #53162

    Hi, I really need help setting up locations using BuddyPress Xprofile Custom Field Types.

    Where do I put these fields
    The geocode will be saved in the usermeta table in this format:

    meta_key = geocode_[field id]
    meta_value = [latitude], [longitude]

    or do I need to get a google map api and if so where does code go?

    I looked in the docs and could not find a tutorial.

    Thank you
    Kim

  • Participant
    Level: Initiated
    Posts: 16
    Kim Hargis on #53163

    I found a location plugin that was put in the website before I took it over. Does the Google Place Autocomplete work in a search for people to find others near by or within so many miles of them?

    Thank you

  • Participant
    Level: Initiated
    Posts: 16
    Kim Hargis on #53164

    Sorry to keep posting on this but I found other post on this topic which said to use BP xProfile Location. No matter if I use BP xProfile Location or the Google Place Autocomplete all that happens is when I click the box on the profile it’s a list of Exclamation points. thank you for an advice you can give me

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #53171

    Hi Kim,
    Thank you for the questions.

    Please link me to the plugins. It does not seem to be from us. Still, I will be glad to look into it and assist.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 16
    Kim Hargis on #53174

    I have BuddyPress Xprofile Custom Field Types and I added in BP xProfile Location https://wordpress.org/plugins/bp-xprofile-location/

    When I pick the field type as location is give me these instruction
    The geocode will be saved in the usermeta table in this format:

    meta_key = geocode_[field id]
    meta_value = [latitude], [longitude]

  • Participant
    Level: Initiated
    Posts: 16
    Kim Hargis on #53175

    I missed part the the instruction

    Do you want this field to save a geocode for each member?

    Pick Yes or No

    The geocode will be saved in the usermeta table in this format:

    meta_key = geocode_[field id]
    meta_value = [latitude], [longitude]

    You can then use the geocode in your mapping solution.
    Or use a solution like BP Maps for Members.
    For Groups Maps, see BP Maps for Groups.

  • Participant
    Level: Initiated
    Posts: 16
    Kim Hargis on #53177

    I got it!!! There is a text file in the plugin with instructions.

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #53183

    Thank you Kim.
    I am glad that you were able to resolve it before I could look further into it.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved