Location based search / Sorting of event closest to the location

Home Forums Calendar Products Events Calendar PRO Location based search / Sorting of event closest to the location

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #1128846
    Stefan Krueger
    Participant

    Hi,

    we have all our events for Berlin Beer Week up on our website now and I discovered that if I go to our landing page:

    http://www.berlinbeerweek.com/?post_type=tribe_events

    And do a location based search with for example “Neue Bahnhofstraße, 10245 Berlin, Germany” it returns the results randomly and not with the closest ones first. Even if I limit the distance to 5km, it eliminates the once further away than that, but still gives me a random order. Is this a bug, a feature, a setting ? What do I have to do to make the results appear consecutively according to their distance from my search location?

    Thanks

    Stefan

    #1129168
    Andras
    Keymaster

    Hi Stefan,

    This is a brand new feature of our map view. 🙂 OK, joke aside…

    I’m sorry you are having a problem with the map view. Please allow me some time to check this and discuss internally. I will get back to you as soon as I can.

    Thanks for your patience!

    Andras

    #1129169
    Andras
    Keymaster

    I did a quick test locally and so far I haven’t been able to reproduce the issue. With 3 of your addresses put in it worked well so far.

    Could you please share with me your system information based on this guide?

    Also, can you possibly do a test for conflicting plugins? Here’s a post on how we recommend doing that.

    And what is your current setting for Events > Settings > General tab > Map Settings section > Map view search distance limit?

    Thanks and cheers,
    Andras

    #1129545
    Stefan Krueger
    Participant

    This reply is private.

    #1129546
    Stefan Krueger
    Participant

    Please see the system info.
    My map view search distance limit is 25.
    I will do the conflicting plugins test in a little bit, just have to do it really late at night since it messes up the website for 15 minutes.

    #1129574
    Stefan Krueger
    Participant

    Ok, I tried the test.
    Nothing changed, plus I found out that:
    a) The results are returned with a distance display, but instead of sorting them by distance they are sorted by the time (and day they start).
    Just check this for instance http://www.berlinbeerweek.com/?action=tribe_geosearch&tribe_paged=1&tribe_event_display=map&post_type=tribe_events&eventDisplay=map&tribe-bar-geoloc-lat=52.5133234&tribe-bar-geoloc-lng=13.456819699999983&tribe-bar-geoloc=Boxhagener+Strasse+111

    and then b)
    I thought, hm, lets try to put a date next to the location I am searching for maybe that changes it, but I can’t actually put a date in. If I click on date, it opens the calendar, but if I try to forward to the next month, or actually click on a day the calendar just closes.
    Please check for yourself http://www.berlinbeerweek.com/?post_type=tribe_events

    This was also already the case in early “debug” mode in theme twenty sixteen and with only Event Calendar and Event Calendar Pro activated with my original theme.

    On a side note:
    I am getting this message:
    The following plugins are out of date: Events Calendar PRO 4.1.3, The Events Calendar: Filter Bar 4.1. All add-ons contain dependencies on The Events Calendar and will not function properly unless paired with the right version. Learn More.
    But I can’t update them from the plugins page, there is just no “update now” link. How can I update them manually ?

    #1129751
    Andras
    Keymaster

    Hello Stefan,

    Thanks for the sysinfo and your testing.

    Updating the plugins: automatic updates are enabled if you enter a valid license code for you plugins under Events > Settings > Licenses. You can find your license keys in your theeventscalendar.com account here.

    You can also update manually. For this you can upload the latest versions of you plugins (that you are eligible for) from your downloads page at theeventscalendar.com

    Please do update your plugins to the latest version. That might help solve some issues, like the datepicker.

     

    If the datepicker is not solved then: it is still there, it is only hidden by the filter bar on the left side. The datepicker gets shown below that. That might come from the theme that is used.

    Try adding this snippet to your theme’s style.css file, and see if that solves it (if the plugin update doesn’t help) :

    .datepicker.datepicker-dropdown {
    z-index: 1009 !important;
    }

     

    Results returned: The value of 25 is a wide range, basically it will show you everything within 25 kms of the searched address. That should pretty much cover whole Berlin. If you set that to 1 km, then you should see a more concentrated result.

    As for ordering the results, yes, the default is by date. With customization it might be possible to return them in the order of distance, but we are limited in providing support for customizations. I can point you to some talented freelancers who could help you out and who are not affiliated with us.

    I hope this helps. Let me know if you have any follow-up questions.

    Thanks and cheers,
    Andras

    #1130090
    Stefan Krueger
    Participant

    Your piece of code helped. The update didn’t.

    As for the other problem, unfortunately I can’t change my settings at the moment as I am subject to that bug here:

    Can’t Save Changes in General Settings

    #1130575
    Andras
    Keymaster

    Hi Stefan,

    I’m glad the problem could be solved with the code. It’s susceptible that the issue comes from the theme you are using. (You can test is via changing your theme to twentysixteen, and check if it works with that. If it works there properly, then it is definitely a theme thing.)

    As for the saving issue, we are aware of that bug and a fix in on the way. Keep your eyes peeled for a plugin update. (Coming very soon!) Thanks for your patience!

    I’m still going to keep this thread open, so you can report back after the update, if you are still experiencing any issues.

    Cheers,
    Andras

    #1130610
    Stefan Krueger
    Participant

    I actually checked it with twenty 16 and all plugins deactivated and I had the same results :/

    #1131112
    Andras
    Keymaster

    That’s interesting, because I tested the same and it was / is working properly.

    The 4.2.1 update was released yesterday. Did you manage to update and check if saving works?

    Cheers,
    Andras

    #1131407
    Catalina Boncilica
    Participant

    I just buy the PRO ccalendar and I realised that the search dosn’t work.
    I tried to put a Location and my search dosn’t send me the events for this location…even that the map location is ok….

    Can you help me with this issue, please?
    my webesite is wwww.atelierdesames.com
    the criteria I tested is “Paris” for location…

    #1131726
    Andras
    Keymaster

    Hey Catalina,

    Welcome to the forums and thanks for chiming in.

    For the sake of keeping things clean – as your issue seems a bit different than the original – I would kindly like to ask you to open a separate topic. We will be here to help you out, you will get your own personal consultant who will be focusing on your issue. 🙂

    When you are opening a new topic please also include the exact address of the page where this happens. (I couldn’t find it, and if I put Paris in the top right corner in the Recherche box, it does list events in Paris.)

    Thanks and cheers,
    Andras

    #1133176
    Stefan Krueger
    Participant

    Hey Andras,

    the updated worked.
    I can now change the settings.
    What I noticed now though is that, if I pick a specific date to search for an event, lets say the 25th, it shows all events from 23rd – 30th. Why is that ?

    Thanks

    #1133698
    Andras
    Keymaster

    I’m happy to hear the updated worked! Cool!
    Meanwhile we released a hotfix yesterday which should fix issues with some translations.

    On your search, where are you doing that search? Which view or page? Can you also send me a link?

    Cheers,
    Andras

Viewing 15 posts - 1 through 15 (of 18 total)
  • The topic ‘Location based search / Sorting of event closest to the location’ is closed to new replies.