Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Past Events showing in feed | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Past Events showing in feed

Past Events showing in feed

Posted: March 20, 2014 at 2:14 pm

Viewing 10 reply threads


Laura Wyatt

March 20, 2014 at 2:14 pm

Hi. I have calender feeds on my pages and the feed is showing past / expired events. I have tried adding “show_expired=false” to my code and it doesn’t do anything. What do I do to get events from today on to show?

http://fpcb.bellaworksweb.net/bw/

Thank you!


Anonymous

March 20, 2014 at 3:01 pm

Hi Laura,

Your past events still look open for registration so are not actually expired.

If you edit this event:

http://staging.eventespresso.com/topic/past-events-showing-in-feed/

Can you tell me what the Registration end date is please?

Looking at the amount of events, I’m assuming these were created using the Recurring Events Manager with the option ‘Yes (all created events are available for registration between the above registration dates).’ selected. Is that correct?


Laura Wyatt

March 21, 2014 at 7:13 am

I’m not sure which event you were asking me to tell you the end date to, but for example, I have a test event now that is from February 22, 2014. I noticed that the couple events I looked at did not have start / end dates in them, so I added a start date of February 22, 2014 and an end date of February 22, 2014 and it still did not remove it from my calendar feed. I think a lot of our events were creating using the recurring events manager, that is correct.


Anonymous

March 21, 2014 at 7:17 am

Apologies Laura,

I intended to paste this link:

http://fpcb.bellaworksweb.net/bw/event-registration/?ee=10

But someone added the original link to this thread.

It may be quicker if I could take a look at the events and see if I can see why this is happening. Would it be possible for you to send temporary log-in details?

If so please use this form:

https://staging.eventespresso.com/send-login-details/


Laura Wyatt

March 21, 2014 at 7:25 am

Sent, thanks!


Anonymous

March 24, 2014 at 4:00 am

Hi Laura,

I have taken a look into your events

The reason you still the ‘past’ events is because they have a status of ‘Ongoing’ set. Ongoing event’s basically completely ignore the Dates that are set within them (if set at all) as such are events that do not expire/close.

Your events are ‘normal’ events which should have a status of ‘Public’. You will also need to setup registration start/end dates & times for those events to work correctly.

So for example, if you go to the Event Overview, find the Event with an ID of 10 – ‘Middle School Outing – Putt-Putt’ and edit the event.

You’ll find the event has no Registration start/end dates or times, and the event status set to Ongoing. http://take.ms/Vx70f

As this event is in the past it should be expired, it does not for the 2 reasons above so lets fix that.

The event date is 2014-03-02

Set your Registration Start date to any date before the event date, we will use 2014-03-01.
Set your Registration Registration end date. This can any date of your choosing but the majority of the time you will likely want this set to match either the event_start date, or the event_end date, we’ll use event_start so we set it 2014-03-02.

Normally you will want the registration open for more then one day, if the registration date is earlier than today’s date and the date of the event, the event will be open.

Now set some Registration times, again these dont matter that much for this particular event, we’ll use 8:00am and 2:00pm (2:00pm being when the event starts)

Now set the Event Status to Public and update the event http://take.ms/wazwc

Notice the event is now closed http://take.ms/KiMYj

I’ve reverted these changes so you can follow along.

The same also needs to be done with your recurring events, however with some small differences to apply fixes to the full series.

If we now edit the event with ID 33 – ‘Dough Devotions’

Scroll down within the event to the Recurring Event Manager. You’ll find this: http://take.ms/zsHBT

The same changes as above apply here (with different dates relevant to this series) only the dates are changed within REM to apply to the full series.

Start by setting to make changes to the full series, within the red box which asks ‘Would you like to apply any of the changes that you have made to this event to’ select ‘All Events in this series’

Then Set the Registration Starts on field to 2014-03-01
Set the Registration Ends of field to match you last event date 2014-05-31

Leave the ‘Yes (all created events are available for registration between the above registration dates).’ option as is.

As your events are single day events set the First event end date to match the first event date 2014-03-04

Scroll up and set the Registration start/end times for the event, (I used start= 8:00am and finished = 07:30am (to again match your event start time))

Finally set the Event status to Public and update the events. This will update the full series with those settings.

You’ll need to do this for each of your recurring event series.

However, there will still be an issue with events that have passed displaying as active due to the ‘Yes (all created events are available for registration between the above registration dates).’ option being used.

If we first fix the events to use dates correctly, we can then fix this using another version of REM which makes it a little easier, I can send you this first if you would like to do this all in one step?

However I thought it may be easier to follow if broken down into another step.


Laura Wyatt

March 24, 2014 at 9:10 am

Thanks for your response. We are looking into the information you have given me, I will let you know if we run into any issues..


Laura Wyatt

March 24, 2014 at 9:29 am

We followed your instructions and the past events are still showing up in our calendar feed. What do you suggest now?

Also, we have some events that do not require registration at all and are just calendar events. We do not want to use the registration option. Is there a way to just have a calendar event without the registration information being entered?


Anonymous

March 24, 2014 at 10:19 am

Hi Laura,

All of your remaining events are still ‘Ongoing’ events and have either no date, or invalid dates, e.g ‘0000-00-00’ these will need to be corrected via the information provided above.

Also, we have some events that do not require registration at all and are just calendar events. We do not want to use the registration option. Is there a way to just have a calendar event without the registration information being entered?

If you edit the event you would like to disable registration on, look in the event options (Sidebar), set ‘Display registration form?’ to No and update the event.

However it already appears this is how your events are currently setup. Is there something different you would like?


Laura Wyatt

March 24, 2014 at 10:26 am

Before we change all of our events from “Ongoing” to “Public” we want to make sure this works. Right now, we have updated the 4 events that are currently feeding into our homepage calendar. Why are they showing up when all 4 have show “Closed” in details? Here are the 4 events we have updated and are still showing:
http://fpcb.bellaworksweb.net/bw/wp-admin/admin.php?page=events&action=edit&event_id=10
http://fpcb.bellaworksweb.net/bw/wp-admin/admin.php?page=events&action=edit&event_id=1228
http://fpcb.bellaworksweb.net/bw/wp-admin/admin.php?page=events&action=edit&event_id=11
http://fpcb.bellaworksweb.net/bw/wp-admin/admin.php?page=events&action=edit&event_id=19


Anonymous

March 24, 2014 at 11:41 am

Hi Laura,

Are you referencing this? http://take.ms/c8TfK

That appears to be building using the Event_list shortcode and has the show_expired=true attribute set and as such will show expired events.

If you remove that attribute it should only display active events.

To note the calendar page also appears to be using [ESPRESSO_CALENDAR short_expired=true] which again will force it to display expired events.


Laura Wyatt

March 24, 2014 at 12:00 pm

Thanks Tony. This does seem to work on the events that are NOT recurring. Here’s an example of a recurring event that’s still showing in the feed: http://fpcb.bellaworksweb.net/bw/event-registration/?ee=107


Anonymous

March 25, 2014 at 2:54 am

This is to be expected in the way the events are setup:

You’ll need to do this for each of your recurring event series.

However, there will still be an issue with events that have passed displaying as active due to the ‘Yes (all created events are available for registration between the above registration dates).’ option being used.

That option sets all events created within a series to have the same registration dates. So ALL of the events within a series remain Open until the last event which is actually by design.

You have two options, edit the earliest active/open event for a series and change the option to:

No (each event’s registration start and end dates will be incremented according to a formula).

Set the registration_start date to a date further into the past than you are recurring, for example if you are creating 1 years worth of events, set your registration_start date to over 1 year ago, set the registration_end date to the date of the event you are currently editing (event_start or event_end).

Apply those changes to the series. Which should open all the events, but make them close on their start date.

OR

If all your events should close on Event start, I can send you a developer version of REM which includes the option for this when use the option:

Yes (all created events are available for registration between the above registration dates).

For example if you look at the expected events in this image http://take.ms/x32wY

Notice the new option is NOT checked, look at the registration_end date for the events. All thos events will remain open just as your are.

With the new option checked http://take.ms/ZhJkV

Those events will close on the date of the event. This will not work for everyone currently, as some users do not want the event to close until after that event. But seems like it will work for your events.

I can email you a copy of this version of REM if you would like? However, to note, this version is currently under testing although it is considered stable.

Viewing 10 reply threads

The support post ‘Past Events showing in feed’ 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.

Event Espresso - Staging Server