Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author room34

    (@room34)

    This is an excellent question. Are your ongoing events recurring events, or are they single events that span multiple days?

    Thread Starter plumi10

    (@plumi10)

    thanks for the speedy response!

    These are always single events each has a duration of approximately 2h. Each event is just a soccer game so they do not span over multiple days.

    • This reply was modified 4 years, 7 months ago by plumi10. Reason: typo
    Plugin Author room34

    (@room34)

    Hi… thanks for this additional information.

    I just want to clarify something: by “ongoing” do you mean “an event that’s happening right now”? (I was thinking of it in terms of “events that happen repeatedly or extend over multiple days”.)

    I’m guessing the issue is that during the 2 hours that the soccer game is actually happening, it is not showing up. Is that correct?

    Thread Starter plumi10

    (@plumi10)

    sorry for the confusion, yes i meant events that are happening right now. but also with pastdays i do not see any event that happened in the past, which would also be fine if the list displays all events starting from yesterday.

    Plugin Author room34

    (@room34)

    Yeah, I think setting pastdays="1" should be the answer here, but there may be a bug that I haven’t tracked down. I’ll look into it as soon as I can.

    Thread Starter plumi10

    (@plumi10)

    thank you very much, let me know if i can help you somehow!

    Plugin Author room34

    (@room34)

    I did some experimentation with my test calendar, and things seem to be working as they should. Here are a few things I think you should check:

    1. Make sure WordPress is configured with the correct timezone. That’s under Settings > General. It should be using a named city timezone, not a UTC+/-n timezone. (The UTC ones have calculation issues around the start and end of Daylight Saving Time.)

    2. Make sure the source calendar itself is configured with the correct timezone. How that is done will depend on the software you’re using. (In the raw ICS feed it looks like it’s set to Europe/Amsterdam. Also, I noticed your shortcode is using tzoffset but that no longer functions. I don’t think having it in there will hurt anything, but you might want to remove it and see what happens.)

    I think what’s happening is that either one or both of these is incorrect, so the date that is “today” is getting misinterpreted by the plugin.

    Assuming neither of those resolves the issue, you may want to try:

    3. Add reload="true" to the shortcode. This will force the plugin to reload your calendar on every page load, so it’s not great if your site gets a large amount of traffic, but in general should be OK.

    4. Set pastdays="2" instead of 1. This may end up keeping some past events on the site for up to a day longer than you’d like, but I am thinking it may be a viable workaround if none of the others work.

    • This reply was modified 4 years, 7 months ago by room34.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Display ongoing events in list view’ is closed to new replies.