Support

Home Forums Event Espresso Premium Hide Event

Hide Event

Posted: March 14, 2014 at 12:38 pm

Viewing 9 reply threads


Mike Lee

March 14, 2014 at 12:38 pm

WordPress Version:
3.8
PHP Version:
5.2.17
MySQL Version:
5.5.33
Event Espresso Version:
3.1.36.1.P
WordPress Address (URL):
http://mikeleebasketball.net
WordPress Content Directory:
/redacted/wp-content
Site address (URL):
http://mikeleebasketball.net
Event Espresso Plugin URL:
http://mikeleebasketball.net/wp-content/plugins/event-espresso-3.1.36/
Event Espresso Plugin Path:
/redacted/wp-content/plugins/event-espresso-3.1.36/
Event Espresso Upload URL:
http://mikeleebasketball.net/wp-content/uploads/espresso/
Event Espresso Upload Path:
/redacted/wp-content/uploads/espresso/
Event Espresso Template Path:
/redacted/wp-content/uploads/espresso/templates/
Event Espresso Gateway Path:
/redacted/wp-content/uploads/espresso/gateways/

Hi,

I am trying to hide an event using the waitlist feature, but the event is still showing up in our list.

http://mikeleebasketball.net/upcoming/

http://mikeleebasketball.net/?page_id=4219&regevent_action=register&event_id=125

What do I need to do to hide this? Didn’t there used to be a “private” option in the drop down box “Draft, waitlist, etc.”?


Lorenzo Orlando Caum

  • Support Staff

March 14, 2014 at 1:10 pm

Hi Mike,

Could you please backup your WordPress and update to the current version of Event Espresso:

https://eventespresso.com/wiki/change-log/


Lorenzo


Mike Lee

March 14, 2014 at 1:19 pm

Lorenzo,

I just updated it, but it’s still not working. Any other thoughts?


Lorenzo Orlando Caum

  • Support Staff

March 14, 2014 at 5:32 pm

Hi Mike,

If you are logged into the WordPress admin, then you’ll be able to view all events.

Could you please logout and then refresh this page?

http://mikeleebasketball.net/upcoming/


Lorenzo


Mike Lee

March 14, 2014 at 5:53 pm

I did that already and it still was showing up so I’ve changed it back to the draft form. I also tried it in a different browser and it still showed up.


Lorenzo Orlando Caum

  • Support Staff

March 14, 2014 at 6:00 pm

Could you switch it back to waitlist and then update this forum post?


Lorenzo


Mike Lee

March 14, 2014 at 6:35 pm

The event is now listed as wait list and shows up at http://www.mikeleebasketball.net/upcoming

Thanks!


Tony

  • Support Staff

March 17, 2014 at 8:01 am

Hi Mike,

Can you tell me the shortcode that is being used on the page http://mikeleebasketball.net/upcoming/ please?


Mike Lee

March 17, 2014 at 9:23 pm

[ESPRESSO_EVENTS] is being used right now.

I tried using [EVENT_LIST] on a new page, but that broke the code.

Warning: Invalid argument supplied for foreach() in /home/mikelee/public_html/wp-content/uploads/espresso/templates/event_list.php on line 86 –

Didn’t there used to be a “private” event option?


Tony

  • Support Staff

March 18, 2014 at 8:42 am

[EVENT_LIST] can not be used in place of [ESPRESSO_EVENTS] although the output is similar, ESPRESSO_EVENTS is a core shortcode, it must be on a publicically accessible page and that page selected within EVent Espresso -> General Settings. Main registration page.

It would appear your is set correctly, I’m just explaining why you received an error.

As far as I’m aware there has never been a private event option.

It would appear there are custom templates within wp-content/uploads/espresso/templates/ which is what I suspect is caused the waitlist events to be displayed.

Testing this locally the default templates do not display waitlist events so it likely due to the modifications within those files.

If you open up wp-conent/uploads/espresso/templates/event_list.php and look around line 156 (it may be different depending on the customisations made)

Do you see:

$sql .= $show_secondary == 'false' ? " AND e.event_status != 'S' " : '';

there or within that file?

Viewing 9 reply threads

The support post ‘Hide Event’ 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