Support » Plugin: Events Manager » [events list scope=”future”] showing results before current time

  • Resolved kelsangchodor

    (@kelsangchodor)


    Dear Sir,

    When I use [events_list scope=”future”] the first event that is displayed is something that is in the past. So, for example, it’s 11.45pm right now (9th November -EST) but according the events_list results (scope=”future”) the next event is at 12.15 pm – 45 pm today (9th) which was around midday today and has already been and gone. I would expect as soon as the current server time passes 12.45 pm (i.e. 12.46 pm) this event would not show up anymore as a future event but it still does.

    Any ideas why this might be happening? I’ve checked the time zone within the wordpress installation and it’s set to the time zone I’m in.

    Any other ideas? Any helped appreciated,

    Best wishes,

    Christopher Skelton.

    • This topic was modified 8 months, 2 weeks ago by  kelsangchodor.
Viewing 14 replies - 31 through 44 (of 44 total)
  • Hi,

    Ok, I managed to install and keep settings. Thank you.

    So, I’m based in Florida (UTC-5 hours) – with the new installation, all my events start times are now 5 hours less than before so aren’t correct. Would you suggest I put the timezone to UTC-0 to fix this in general wordpress settings? But then there are other plugins I use that use this UTC-5 parameter in wordpress general settings to offset the server time which is I believe is based in LA (UTC-8).

    Thank you.

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    I think the best option will be to set the WordPress timezone to the one that works best for the site set up you have, then use the Events Manager timezone to compensate as needed for individual events.

    Thank you.

    It just seems that if I was using timezones I would put the timezone I was in (UTC-5) into both the general wordpress settings and also use that that same parameter for all of my events – because they too are held in the UTC-5 timezone (Florida)?

    But when I put this UTC-5 setting in the events it automatically takes off 5 hours of the start and end time straight after I publish the event…

    Maybe (and probably) it’s my confusion about how this time zone will work

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Unless I misunderstand something, if all your events use the same timezone, and that’s the same timezone as you have set under the main WordPress settings, there’s no need to use the Events Manager timezone feature.

    Hi,

    There is a reason. And it goes back to why I started this post many weeks ago and what all the replies have been relating to.

    When you use the scope=future parameter in events_list it returns all events including the events of today. So if I had an event at 11am today and it is now 2pm it still appears in the result even though it’s not in the future. It only stops appearing once today has passed. So the future scope actually displays events on the current day that have already passed.

    So, I’ve been trying to work this out because our website looks out of date when we are using scope future because the returned events are events that have already passed on the current day.

    In one of your replies you said we should wait for the timezone function to be introduced because it uses both hours and minutes to decide what future posts to show. I was hoping this would fix my problem of past events being displayed when scope-future is used.

    I’ve been pointed to some code to try and help by one of your colleagues but that didn’t help either.

    So. I’m a bit lost to how to fix this problem. That’s how I ended up here looking into tomezones.

    Do you have any other ways I could work around this?

    Thanks for your help.

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    The time of the event shouldn’t change when viewing it on the front end. It should always local be time, irrespective of the timezone on your blog or the event.

    If your times are getting changed as and when you are editing your events, I’d suggest making sure there isn’t a plugin or theme conflict by temporarily disabling other plugins and/or switching to a default WP theme.

    If in your case, you have the same timezone on the blog and event, and you’re located in the same timezone, then ‘future’ events should be true to the second (provided you don’t use caching).

    Check if you have page caching, as that might affect things too.

    IF none of that helps, please get in touch with us directly here (http://wp-events-plugin.com/contact-us/ > ‘none of the above…’) and make sure you include a link to this thread so we know it’s you.

    Thank you Marcus,

    I’ve tried all that and still have a problem so have sent you an email.

    Thanks for your help.

    Best Wishes,

    Christopher Skelton.

    This is a very irritating problem in an otherwise excellent plugin. Is there a fix in the works?

    Have you been having a similar problem on events that are dated TODAY – even though time has passed they are still shown as future events?

    I am!! Set to Future and have the “Are current events past events?” set, but every single one of today’s events continue to show and will not disappear until the next day.

    Hi,

    Yes, I’ve spent a lot of time trying to fix that. Posted many many tickets on this forum – but nobody from support can fix it or offer a fix. It doesn’t work.

    I’ve also tried writing my own custom date scope for it – but that didn’t work.

    Sorry my friend – but I’ve tried everything I can to get help from the support here but there is no apparent solution.

    The only thing I can say is that apparently Marcus – the main plugin developer – said in the next release (which is currently in development) the plugin will support timezones and will be accurate to the hour/minute. I’ve actually even downloaded the development version to try and fix this but it still had some bugs in it and the developers replicated the problem on their own servers and so that doesn’t work yet either as far as I know.

    So, I guess, unless any of the developers of this plugin can help us out there, we will have to wait until the next version that is stable with timezone support can fix our problem. Seems quite fundamental to me.

    The problem is basic – events_list scope=”future” – displays past events on the current day. Therefore it just doesn’t work correctly. It’s not a timezone problem. It’s a coding problem. But, like you said, otherwise an outstanding plugin!

    Best wishes,

    Chris.

    Awesome!! Thanks for the info.

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    Hi Chris and friends!

    Could you try out the latest dev version 5.8.2.0?

    This should be quite stable now, we’ve tested it extensively and it fixes various problems, which included some issues with UTC offset timezones and servers running PHP 5.2.

    To upgrade – http://wp-events-plugin.com/documentation/upgrade-dev-version/

Viewing 14 replies - 31 through 44 (of 44 total)
  • You must be logged in to reply to this topic.