Posted: June 5, 2014 at 4:38 am
|
When I use an Espresso Event Manager account to create a new event, this event status will be ‘Pending’ until the Master Admin approves the event and moves the status to ‘Open’. This is great. However, even while the event is ‘Pending’ it is already displayed for the public in the upcoming event widget and event calender. I want my Master Admin to approve the event before it becomes visible on the website. Therefor my question is: How do I hide Pending events from public? |
|
Hi Dennis, Though the pending event is shown on the front of the site, it is only shown to logged in Admins. Logged out users and logged in users of a lower role, will not see this event. |
|
Hi Dean, I logged in as a subscriber and I can see the pending event. It just says “Event Is Pending”. Also when I log out and disable Maintenance mode for a minute, I can see the Pending Event while I’m simply a guest… It seems it shouldn’t be this way but it is. Can you please help me? Dennis |
|
Hi Dennis, What version of EE are you using please? Also your Roles and Permissions Basic and Roles and Permission Pro versions too please. |
|
Event Espresso version 3.1.36.5.P |
|
Any thoughts? |
Hi Dennis, It looks like the pending events were overlooked in the widget and probably the calendar. I have added tickets to fix this issues in a future version of EE. For now, you can manually fix the widget by adding the following code after line #126 of the event-espresso/templates/widget.php file: https://gist.github.com/sethshoultes/9488c126bcd5b6271079
|
|
|
Works like a charm! Thank you Seth! |
I just double checked the calendar and it looks like it should be working correctly, because it filters out the pending events. Can you please double check the calendar on your end? |
|
|
Yes, the pending event is now hidden from the upcoming events widget and the calender. Thanks! |
The support post ‘How to Hide Pending Events from public?’ 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.