Support

Home Forums Event Espresso Premium EE3 Widget: Recurring Events

EE3 Widget: Recurring Events

Posted: October 26, 2020 at 7:59 am


dcouch

October 26, 2020 at 7:59 am

I have the EE3 Widget on this page: https://healingpassages.org/the-village/
It’s displaying closed and expired recurring events from last year as upcoming.
How do I filter out any events that are 1. Not Open, and 2. Display only Events that occur after today.


Tony

  • Support Staff

October 26, 2020 at 8:09 am

Hi there,

The events being displayed on the widget are based on the Event start/end dates and Registration start/end dates.

You’ve mentioned the events are closed/expired but the events themselves are still active, for example this event:

https://healingpassages.org/the-village/calendar/event-registration/?ee=3061

That’s the event page itself which still displays the registration form, meaning the event is still open.

If you view the above page whilst logged in, you should see an ‘Edit Event’ like at the bottom, click that, what is set for the Registration Start, Registration End, Event Start and Event End on that event?


dcouch

October 26, 2020 at 8:38 am

Thank you for the rapid response.
I had assumed the events were closed as they do not display in the Event Overview.

This particular event has the following:
Reg Start: 2020-01-01 | Reg End: 2020-12-31.
Event Start 2019-01-24 | Event End: 2019-01-24

I believe when this recurring Event was added by the content manager there may have been some confusion on how to create the recurring event with an open registration Start and a Registration End the day prior to the event. Allowing users to register for any upcoming event up until the day before it starts.

Can I edit and update a single event and then save to all events to create that scenario and have all events Close the day of or after the event, ensuring they do not display in the widget?

Thank you ,
~David


dcouch

October 26, 2020 at 8:47 am

On further investigation;
I see these events have been Manually created.
And I believe the intent was to allow open registration to all events up until the day prior to any specific event.
And so it seems there was an attempt to follow this directive on the Event Edit page:

If you plan on using different registration dates for each event, please enter the First Event’s Registration Start/End Dates below. Otherwise, enter the registration dates that will cover all events in the series.

Am I attempting to accomplish the impossible?


Tony

  • Support Staff

October 26, 2020 at 10:19 am

Can I edit and update a single event and then save to all events to create that scenario and have all events Close the day of or after the event, ensuring they do not display in the widget?

You should be able to yes, can you add a screenshot(s) of the Recurring Event Manager so I can view how this has been set up?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots

(Note you can mark your reply p[private so only EE support can view it if preferred)

I see these events have been Manually created.

Do you mean the event dates were manually added to the series, or the events aren’t part of a recurring series?


dcouch

October 27, 2020 at 9:52 am

https://www.dropbox.com/s/rupnaxwy2ar2x5w/recurring%20event%20manager%201%20of%202.png?dl=0
https://www.dropbox.com/s/eu3iiyb5pjk68lp/recurring%20event%20manager%202%20of%202.png?dl=0

Because of the listing of events and dates, I had thought they were added manually. However it does seem they are presently on a weekly recurrence.


dcouch

October 27, 2020 at 9:58 am

FWIW – here this events Dates & Times Settings
https://www.dropbox.com/s/luth5sv25e12h40/event%20dates%20and%20times.png?dl=0


dcouch

October 27, 2020 at 10:37 am

I think I figured it out.
I updated the Event Date/Times to have a registration Begin two months Prior to the event. And a registration that ends at the same time as the event.

Then Updated all Events and selected to use the formula.
That corrected all instances. I repeated this for other events.

Thanks for your help.


Tony

  • Support Staff

October 28, 2020 at 5:09 am

Because of the listing of events and dates, I had thought they were added manually. However it does seem they are presently on a weekly recurrence.

Those actually have been manually added, that’s a manual recurrence where you manually add add a date into the series.

In your first screenshot you can see the ‘Create dates automatically or select manually?’ option is set to Manual.

However, for manual recurring events some of those options should not be displayed and the fact that they are means there is likely a JavaScript error being thrown on the page (so then the JavaScript used by the recurring events manager isn’t running to hide various sections). If you have updated the with to WP5.5+ you’ll also need to install this plugin:

https://wordpress.org/plugins/enable-jquery-migrate-helper/

Which should fix the above.

I think I figured it out.

I’m glad you figured this out, my apologies for not being available yesterday to help with this further.


dcouch

November 2, 2020 at 7:15 am

Thanks again for your help.

Funny – I had just deactivated the JQuery Migrate Helper plugin which I needed for an old FAQ plugin that was no longer being supported.

Do you have an ETA for the update that will fix the error? JQMH reports the following:

jQuery Migrate Helper โ€” Warnings encountered
This page generated the following warnings:

jQuery.fn.live() is deprecated
Please make sure you are using the latest version of all of your plugins, and your theme. If you are, you may want to ask the developers of the code mentioned in the warnings for an update.


dcouch

November 2, 2020 at 7:19 am

Oh and btw – with JQMH active, the Repeat By and manual add fields are no longer displaying.

JQMH allowed the JS to hide these items


dcouch

November 2, 2020 at 7:20 am

https://www.dropbox.com/s/4xqwnqwz5baywe9/jqmh-ee3-20201102.png?dl=0


Tony

  • Support Staff

November 2, 2020 at 2:34 pm

Do you have an ETA for the update that will fix the error?

Not currently, we have an open ticket to address it but as we marked EE3 as legacy and only push security updates to it it hasn’t been looked at yet. I’ll check in on this and let you know.

Oh and btw โ€“ with JQMH active, the Repeat By and manual add fields are no longer displaying.

That’s the correct behaviour, those fields are for automatically calculating recurring events and you don’t need those when you are manually assigning the recurring dates like you are here.

If you start an event is happening on Date X,Y and Z you don’t need the option to generate an event on the first, second and fourth day of the week etc as you’ve already explicitly chosen the dates ๐Ÿ™‚

The support post ‘EE3 Widget: Recurring Events’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Do NOT follow this link or you will be banned from the site!
[i]
[i]