GD Search suggest invented places in the near input

This topic contains 8 replies, has 3 voices, and was last updated by  P O 4 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #527703

    P O
    Expired Member
    Post count: 501

    I am testing how to add a search field at the top of my page, but I get errors.

    1- Clicking the near field
    It shows not only the actual cities I have places in. It adds invented cities that of course have no places.

    2- Clicking the near field
    It displays a list “gd-suggestions-dropdown” that goes under my other site elements and with no scroll. So it is behind the next block of content in my site.

    How to fix those?

    Thanks.

    #527712

    Alex Rollin
    Moderator
    Post count: 27815

    Usually that can be fixed with Custom CSS. Some page elements have a higher z-index, like suggestions, and the z-index must sometimes be adjusted with CSS to work alongside other elements. This is not a bug, just a typical wordpress thing related to how different themes have different styles in action.

    To see a sample solution, see:

    https://wpgeodirectory.com/support/topic/location-filter-slips-behind-map-when-search-is-placed-above/#post-512898

    For premium support, please renew your membership

    About the content of the suggestions, yes, it will include locations that are not in the DB. The action of the field is to lookup places for autocomplete based on user input and closest match.

    https://wpgeodirectory.com/support-policy/

    #527714

    P O
    Expired Member
    Post count: 501

    1- How to fix the invented cities?
    It shows random invented cities that have nothing to do with the location of my places or near me.

    I need to disable the cities GD invented just because.

    2-. After some tests I am not able to bring it up even after applying z-index: 9000

    Thanks.

    #527715

    Alex Rollin
    Moderator
    Post count: 27815

    1. This is a feature, not a bug. The included option in the premium Location Manager addon is to Enable location search autocompleter – again you will need a current membership for support for premium addons.

    2. Again, you will need a membership for support.

    #527720

    P O
    Expired Member
    Post count: 501

    This is the core plugin and I believe that you offer support for the core plugin. Right?

    So you are telling me this.

    Feature:

    – Add invented cities that are not near you places.
    – Let the user click on an invented city with cero records.
    – Let the user search in a city that is not near and has nothing, then show the user “there is nothing here”.

    So, the feature is to add cities I don’t have in my directory, show them in search or in locations even if there are no places there and let the user search or click it to show nothing.

    That is a feature?

    Please explain me why and what is the benefit of having a city that is not near, has no places and show no results.

    I need to remove invented things, I want to show actual places in cities I have in my directory, not invented ones with no records.

    Thanks.

    #527748

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Yes it is a listed feature of the Location Manager

    Fallback proximity search. – If a search returns zero results from your location database, we will; Automatically geocode the search text; Provide lists of location suggestions from the Google API or OSM API; Let the user do a proximity search for that location. So even if a location is not in your database, you can still show listings nearest to the users’ search.

    – If there are no results then the user is prompted to add a listing.
    – If you always want results to show you can extend the search radius in settings.
    – You can disable location suggestions completely or you can hide this list easily with CSS

    .gdlmls-more{display: none;}

    Stiofan

    #527750

    P O
    Expired Member
    Post count: 501

    I need to disable “just” invented locations.

    Search:
    It suggest things that makes no sense. If you create an US directory, it shows Mexico cities as suggestions because it is just across the border.

    That makes no sense and fails completely.

    Cities: ([gd_locations what=”city”])
    The same, it outputs a list of cities so you can click them. The problem is that it shows cities with cero places and crossing the border as well.

    Both leads the user to a nothing page.

    There is a prompted to add a listing. And ?

    If I am taking a vacation to the US and go to a US directory, I want to navigate places in the US, not in Mexico, not empty pages telling me there is nothing here, not signs that says we sent you here and there is nothing, but you can add a place.

    What? For my vacation?

    Of course I will never in my life go again to that site and for sure will never recommend it.

    So the question is.

    How to disable “just” invented, fake, empty cities?

    Thanks.

    #527758

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You can limit it to a specific country using the country slug.
    [gd_locations what=”city” country=”united-states”]
    You can also remove any cities that no longer have listings in them from your location settings.

    You can disable location suggestions completely or you can hide the google suggestions list easily with CSS

    .gdlmls-more{display: none;}

    Stiofan

    #527766

    P O
    Expired Member
    Post count: 501

    Thank you.

    I am getting closer, it seems there were some test created by you and some by me that left cities there with cero places.

    I deleted them and now those are not showing in cities, which is correct.

    Why showing cities with no records? You should implement if no places, not to show.

    Thanks.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket