Events Made Easy › Forums › Generic › eme_events shortcode scope=future does not work
- This topic has 8 replies, 2 voices, and was last updated 9 years, 8 months ago by Anonymous.
-
AuthorPosts
-
Tue 10 Mar 2015 at 23:21 #53685AnonymousInactive
Hi,
in the current version it seems that the [eme_events scope=future] shortcode did not work as expected.
I use it on my start-page to display the next three events (most of my events are recurrences), so I use it in the form:[eme_events scope=future limit=3 category=1]
Today, I checked my page and found, that there will be displayed and old event (it is a recurrence, but the first date was at 2015-03-09 (yesterday).)
I updated the Plugin to the most recent version. In the old version (sorry, don’t remember the version)
Could you please verify this? Thanks.Tue 10 Mar 2015 at 23:24 #53686AnonymousInactivesorry, can’t edit the entry (“you’re not allowed to edit this entry”). I wanted to write:
In the old version (sorry, don’t remember the version) everything worked as expected.
Thanks.Tue 10 Mar 2015 at 23:28 #53687FrankyKeymasterCheck the duration of 1 event in the occurence: start/end date and time. Probably it overlapped with the moment you checked.
Tue 10 Mar 2015 at 23:34 #53688AnonymousInactiveHi Franky,
thanks for your reply.
It is entered as always: Recurrences are 2015-03-09, 2015-03-10, 2015-03-14, 2015-03-15
Start/Ende Date is 2015-03-09, 2015-03-15
Start/End Time is 19:00, 19:45I checked the page some minutes ago (its now 2015-10-03, 23:33 local time) Timezone is correct and I set the option to use the clients time. But it doesn’t matter if I check not to use clients time.
I’ve always entered my events in this way and in the past it worked. If thats not correct, please tell me the right way.
Thanks for your help.Tue 10 Mar 2015 at 23:39 #53689FrankyKeymasterLook at the show_ongoing parameter for the eme_events shortcode:
show_ongoing to indicate you want the scopes to include end dates (ongoing events) upon evaluation (like e.g. future events include events starting in the past, but ending in the future), or just the start date. Default: 1
So if you don’t want to show ongoing events, set it to 0. Has been like this for a very long time …
Tue 10 Mar 2015 at 23:49 #53694AnonymousInactiveThanks Franky, that was the problem. It seems I used an very old version before last update…
I checked the Changelog and found that the “show_ongoing” scope was introduced in version 1.5.19.Can be closed as its not a bug.
Tue 10 Mar 2015 at 23:58 #53695FrankyKeymastershow_ongoing is a parameter that is around from 1.0.0 (it was already there when the plugin was still called ‘events manager extended’ and the shortcode called ‘events_list’) and the default has always been 1. So maybe you had a version that was not working properly for that parameter, or maybe you overlooked the ongoing events (or you wanted them in the past), but otherwise they should always have shown.
Wed 11 Mar 2015 at 20:03 #53713AnonymousInactiveI checked back the history of my page and I never used the “show_ongoing” parameter before. So I don’t know, why it worked in the past without it and now not.
I know absolutely that past events had not been displayed. And I use recurrences since the start of my page (about one year ago.)
So it seems the versions I used before (think it was something about 1.4.x) did not work properly as you stated above.
Thanks again for your support.Wed 11 Mar 2015 at 20:10 #53714AnonymousInactiveI checked again the Changelog and because I use “#_IS_FIRST_RECURRENCE” etc. and this was implemented in 1.5.6 the previous used version must be > 1.5.6.
Just FYI. -
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.