Home › Forums › Calendar Products › Events Calendar PRO › Location based search / Sorting of event closest to the location
- This topic has 18 replies, 5 voices, and was last updated 9 years, 9 months ago by
Stefan Krueger.
-
AuthorPosts
-
June 18, 2016 at 7:00 am #1128846
Stefan Krueger
ParticipantHi,
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
June 20, 2016 at 4:13 am #1129168Andras
KeymasterHi 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
June 20, 2016 at 4:30 am #1129169Andras
KeymasterI 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,
AndrasJune 20, 2016 at 3:18 pm #1129545Stefan Krueger
ParticipantThis reply is private.
June 20, 2016 at 3:20 pm #1129546Stefan Krueger
ParticipantPlease 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.June 20, 2016 at 4:26 pm #1129574Stefan Krueger
ParticipantOk, 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+111and 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_eventsThis 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 ?June 21, 2016 at 6:40 am #1129751Andras
KeymasterHello 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,
AndrasJune 21, 2016 at 2:38 pm #1130090Stefan Krueger
ParticipantYour 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:
June 22, 2016 at 2:11 pm #1130575Andras
KeymasterHi 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,
AndrasJune 22, 2016 at 2:44 pm #1130610Stefan Krueger
ParticipantI actually checked it with twenty 16 and all plugins deactivated and I had the same results :/
June 23, 2016 at 10:37 am #1131112Andras
KeymasterThat’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,
AndrasJune 24, 2016 at 2:31 am #1131407Catalina Boncilica
ParticipantI 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…June 24, 2016 at 1:06 pm #1131726Andras
KeymasterHey 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,
AndrasJune 28, 2016 at 2:56 pm #1133176Stefan Krueger
ParticipantHey 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
June 29, 2016 at 1:22 pm #1133698Andras
KeymasterI’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 -
AuthorPosts
- The topic ‘Location based search / Sorting of event closest to the location’ is closed to new replies.
