Support

Home Forums Event Espresso Premium Listattendees paid-only="true" still showing canceled attendees

Listattendees paid-only="true" still showing canceled attendees

Posted: September 9, 2014 at 12:00 pm

Viewing 5 reply threads


Clair Mason

September 9, 2014 at 12:00 pm

I have added this code to the registration_page_display.php file:
<?php echo do_shortcode(‘[LISTATTENDEES paid_only=”true”; event_id=”‘ . $event_id . ‘”]’) ?>
This works great except that attendees that cancel their registration are still showing up on the list. Any ideas?

Thank you.


Dean

September 10, 2014 at 1:15 am

Hi Clair,

I ran a test and it seems to be working correctly. Are the users cancelling their events via the My Events system? If not how is the cancellation occurring?


Clair Mason

September 10, 2014 at 5:25 am

Hi Dean,

Yes they are canceling through the My Events system. Please see: . I created 2 attendees. One which I canceled though event registration, the other I have not. Let me know what else you would like to see.

Thank you.


Clair Mason

September 10, 2014 at 5:31 am

intensity.club/event-registration/?ee=1983


Dean

September 10, 2014 at 6:08 am

Hi Clair,

I must have been doing something wrong/different, but I am now seeing the issue.

I’ve looked into this in more detail and it is a small typo in the code.

If you are willing to edit a template, it can be very easily fixed (I will of course pass this to a developer as well).

In the /wp-content/plugins/event-espresso/templates/attendee_list.php file you will see this on line

Moved the code to a pastebin as our syntax highlighter went crazy

http://pastebin.com/Z2yDgar1

To clarify, remove the single quote marks around the word true.

That’s it. It will then only list paid attendees that have not cancelled.

  • This reply was modified 10 years, 2 months ago by Dean. Reason: syntax highlighter issue


Clair Mason

September 10, 2014 at 6:24 am

Hi Dean,

Thank you very much. I did a copy/paste of your code, but the code at the end of the line was missing (so caused an error). I then reverted it and just removed the single quotes around true and it worked like a charm. Thank you! Marking as resolved.

Viewing 5 reply threads

The support post ‘Listattendees paid-only="true" still showing canceled attendees’ 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