Finding Users Nearby

This topic contains 4 replies, has 2 voices, and was last updated by Vahl Vahl 5 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15178
    Vahl
    Vahl
    Participant

    Hello,

    I would like to link Geo My WP and Ajax Search Pro together. Basically allowing me to find Users Nearby. So if someone is searching for a contractor using the Canada Search Bar it world find contractors closet to them

    #15187
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Unfortunately that is not possible, or at least not yet. WordPress does not have any geolocation API that I could be able to use to make search queries on. There are many different GEO plugins, but all use different storage methods, so it is virtually not yet possible to create a solution that would work with most of them. I hope that soon there will be some sort of core feature or at least some sort of standard method that allows this.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #15190
    Vahl
    Vahl
    Participant

    Ok! I need the search bar Canada to operate in a certain way. E.g. If you currently type Painting in the search bar every user associated with painting will appear. If you type in Painting Vaughan every user associated with painting still appear. How do i filter out Painting and Painting Vaughan? In other words when i type in Painting all Painting should be displayed but if i type in Painting Vaughan Only Painting Vaughan should be displayed. Please Help Thanks!

    • This reply was modified 5 years, 11 months ago by Vahl Vahl.
    #15199
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    You could try changing the keyword logic of the search from OR to AND: https://i.imgur.com/NUUPSTv.png

    However for user search this works on a field basis, so all searched works have to be matched within one field. Unfortunately I don’t think there is any other possible solution.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #15201
    Vahl
    Vahl
    Participant

    Got it to work! I changed Primary keyword logic to AND…Secondary logic to OR with exact word match. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.