Location search seems to be mostly broken

Home Forums Calendar Products Events Calendar PRO Location search seems to be mostly broken

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #224375
    indrakubicek
    Participant

    If I search for Turkey it finds the events in Turkey. However, if I search for Spain, or France, or Mexico (where there are also events) it says no events found! (have try for yourself on http://omexchange.staging.wpengine.com/events/ )

    What is happening and how can I fix it?

    #229889
    Casey D
    Member

    Hello indrakubicek,

    This may be confusing!

    Location search is based on distance between two ‘points’ on a map, converted to lat/lon based on the address of the venue.

    If there is one event somewhere in Spain, and it doesn’t come up when they type ‘spain’ in the location search, it is because the search point for the location is outside the chosen search radius of the term ‘spain’ (in the middle of the country). Yet another event in Spain might return, if it is close to that central radius.

    Location search works really well for localized searches, by town or zip code for example. But for large areas not so much.

    You can change the search radius on the back end in the Events Settings > General tab, but that still isn’t what you are looking for (I don’t think at least).

    I see you are categorizing some events by country, and I think that is your best bet. I would use the filter bar to create a dropdown of country options, to get the results you are looking for. If the ‘location’ search is confusing for your guests, I would remove it with CSS.

    Does this make sense? Let me know if this doesn’t work for you.

    Cheers!

    – Casey Driscoll

    #229993
    indrakubicek
    Participant

    Ah right, I think I get it. I think I’ll try to hide it using CSS as you suggest…

    Just did so by adding the following to /tribe-events/pro/tribe-events-pro.css
    /* Hiding location search
    ----------------------------------------- */
    div.tribe-bar-geoloc-filter {
    visibility: hidden;
    width: 0px;
    }

    My CSS skills are pretty basic. Have you got any tips/ code snippets to help me get started on making some nice looking drop down lists using the filter bar? What is the best way to override/ change the filter bar css?
    Thanks

    #231619
    Casey D
    Member

    Hello indrakubicek,

    I would try something like this:

    div.tribe-bar-geoloc-filter { display: none; }

    .tribe-events-uses-geolocation .tribe-bar-date-filter,
    .tribe-events-uses-geolocation .tribe-bar-search-filter,
    .tribe-events-uses-geolocation .tribe-bar-submit {
    width: 33% !important;
    }

    You can also just put it in tribe-events/tribe-events.css. This works best for me.

    Does this make sense? Let me know if this doesn’t work for you.

    Cheers!

    – Casey Driscoll

    #232944
    indrakubicek
    Participant

    Thanks Casey, that does make sense, yes.

    #238419
    Casey D
    Member

    Hello indrakubicek,

    Happy it worked out!

    We’d love it if you would leave us a review and let people know how much you like the plugin! http://m.tri.be/jt

    I’ll go ahead and close this thread. Let us know if we can help with anything else.

    – Casey Driscoll

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Location search seems to be mostly broken’ is closed to new replies.