Map view links show last scheduled events

Home Forums Calendar Products Events Calendar PRO Map view links show last scheduled events

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1013272
    Abigail Marshall
    Participant

    When there are multiple events scheduled at the same venue, the map view icon links to the latest scheduled event rather than the next upcoming date. For example, for a certain we have events scheduled from October 2015 through November 2016. When clicking the link, the user is taken to the November 2016 date rather than the next upcoming date.

    Our list view works fine– events display in date order — it is just the map view that is a problem. Is there a fix for this?

    This is unacceptable because we are afraid that users will not realize that there are other, sooner events scheduled.

    #1013381
    Brook
    Participant

    Howdy Abigail,

    I can see what you mean. It would make a lot more sense to have the next upcoming event linked instead of the furthest one out. It would be a great optimization to the plugin to change the order around here. I am going to log this as a ticket for our developers to address in a future version. I think they might even classify this as a low impact bug, which is good because it means it will get addressed sooner rather than later. Though it still might be a couple releases out before we can bump another ticket and slot this one in.

    Thank you very much for taking the time to report this, and isolate the strange behavior. I am marking your topic to be notified of any developments with this new dev ticket. Please let me know if you have any questions in the mean time.

    Cheers!

    – Brook

    #1013394
    Abigail Marshall
    Participant

    Thank you so much! I’m glad to know that this will be addressed in the future.

    In the meantime is there any way to manually change the map link behavior?

    #1013847
    Brook
    Participant

    I am happt the information helped Abigail. We truly appreciate your reporting this.

    Let me describe what is causing the error. The Map contains a marker for every event listed underneath it. You only see one marker for a given venue when it has multiple events. However, that’s because it is laid over top of every other marker for that venue. The futurest event from now is the last marker added, and so it is on top.

    There are two options:

    1. Hide duplicate markers for a venue, and only show the first one.
    2. Reverse the order of the markers so that the one coming up the soonest is the last one added, and thus appears on top.

    To do either of those you can filter the output of those markers with the WP Filter ‘tribe_events_ajax_response’. That filter passes one variable named $response. $response[‘markers’] contains all of the map markers, so you can reverse the order or delete duplicates from there. Of course this will require a decent bit of PHP knowledge to do. If that does not describe you, then unfortunately there is not much that can be done right now to fix this aside form wait for us to officially patch it.

    Does that answer everything for you?

    Cheers!

    – Brook

    #1013907
    Abigail Marshall
    Participant

    Thanks for your suggestion. I’m afraid that its a little bit beyond my coding capacity to create that filter right now — so at least in the short term it might be easier for me to include a “See Full Schedule for this Venue” link within the event descriptions themselves. I know that users can already get that information from the venue link on the page — but it might not be intuitive for visitors.

    I have a suggestion if the developers are looking to improve this. As this is an issue whenever multiple events are scheduled at the same venue, I’m wondering whether it would be possible to code an if/else feature that would link to the venue page & list of all events whenever there was more than one future event listed at a particular venue. Perhaps that could be an option that could be set with Theme Options.

    I am sure there must be many Events Calendar users who are using the system to manage calendaring of events repeatedly using the same venues. If there is only one event listed, then it makes sense for the visitor to be taken immediately to the page listing and ticketing for that particular event; but any time there are two or more it would probably make more sense for the visitor to go to a page with all scheduled events in that category so that they can choose which one to attend.

    #1013968
    Brook
    Participant

    so at least in the short term it might be easier for me to include a “See Full Schedule for this Venue” link within the event descriptions themselves.

    That would also be possible for sure. Similar to the other solution though you could modify $response[‘markers’]. In this case you would be changing the link instead of the order.

    I am sure there must be many Events Calendar users who are using the system to manage calendaring of events repeatedly using the same venues.

    You are certainly correct. However you are the first one to notice the bug from what I am seeing. You’re probably not giving yourself enough credit for finding it, this is the sort of thing that can easily go unnoticed by thousands of users for months. In this case this bug might have even existed for years unnoticed.

    But just because only one person has noticed it does not mean we will not fix it. We will just have to first fix issues that more than one person has discovered. 🙁

    Please let me know if there is something more I can do. Cheers!

    – Brook

    #1019267
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Map view links show last scheduled events’ is closed to new replies.