Events Made Easy › Forums › Bug fixed or feature request implemented › Events series listed only once
- This topic has 13 replies, 3 voices, and was last updated 11 years, 7 months ago by
Anonymous.
-
AuthorPosts
-
Thu 10 Jan 2013 at 16:58 #43894
Anonymous
InactiveI would like to list recurring events only once.
http://wordpress.naturkuenstler.de/termine/
like this (or similar): ‘Winterzauber Kinderyoga, Fridays jan 9 – jan 30, 3-5pm’
Is there any way to do this?
thanks!
Thu 10 Jan 2013 at 20:16 #50099Franky
Keymaster[events_list long_events=0]
Mon 11 Mar 2013 at 21:13 #50100Anonymous
InactiveThat’s the first thing I tried but it seems to have no effect.
Mon 11 Mar 2013 at 21:35 #50101Franky
KeymasterSorry, “long_events” is for multiday events. In your case: doesn’t exist, since every recurrence is really an event. Moving this to feature requests (but it’s not an easy one).
Mon 26 Aug 2013 at 17:41 #50102Anonymous
InactiveI’d vote for this one too! Thanks for considering!
Mon 26 Aug 2013 at 20:32 #50103Franky
KeymasterI think it can be done with 2 remarks:
– paging will not work correctly
– the link will jump to the first future event for the series
So if you’re willing to accept that, I might start on this ….
Mon 26 Aug 2013 at 22:44 #50104Anonymous
InactiveThis would work just fine for me – thanks again for considering!
Tue 3 Sep 2013 at 22:15 #50105Franky
KeymasterJust for own reference, this sql might help:
select * from wp_eme_events where recurrence_id=0 or event_id in (select event_id from wp_eme_events where recurrence_id>0 group by recurrence_id);or for limiting to e.g. events starting later than 2013-06-23:
select event_id, event_name, event_start_date from wp_eme_events where (recurrence_id=0 and event_start_date> '2013-06-23') or event_id in (select event_id from wp_eme_events where recurrence_id>0 and event_start_date> '2013-06-23' group by recurrence_id);Thu 7 Nov 2013 at 23:13 #50106Franky
Keymasterbetter select using union:
select * from wp_eme_events where recurrence_id>0 group by recurrence_id union all
select * from wp_eme_events where recurrence_id=0;or for limiting to e.g. events starting later than 2013-06-23:
select * from wp_eme_events where (recurrence_id>0 and event_start_date> '2013-06-23') group by recurrence_id union all
select * from wp_eme_events where (recurrence_id=0 and event_start_date> '2013-06-23') ;`
Thu 20 Feb 2014 at 09:42 #50107Anonymous
InactiveThanks for posting this, didn’t realize this was here, so sorry for not getting back sooner.
Running this query resulted in what appeared to be correct results… how is the best way to use this with the shortcodes that exist or create a new one that is compatible?
Thu 20 Feb 2014 at 16:07 #50108Franky
KeymasterI still need to analyze any possible impact of this query, so for now no progress has been made.
Thu 20 Feb 2014 at 20:06 #50109Anonymous
InactiveNo problem, thanks for the update.
Sat 15 Mar 2014 at 10:28 #50110Franky
KeymasterImplemented in trunk:
added option ‘show_recurrent_events_once’ to the shortcode eme_events to show recurrent events only once
Mon 31 Mar 2014 at 08:46 #50111Anonymous
InactiveA huge THANK YOU! I waited til the release,and it seems to be working fine – thanks so much for adding this feature!
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.