Posted: 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! |
|
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? |
|
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. |
|
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: |
|
Sent, thanks! |
|
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. 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 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. |
|
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.. |
|
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? |
|
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.
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? |
|
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: |
|
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. |
|
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 |
|
This is to be expected in the way the events are setup:
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:
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:
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. |
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.