Support

Home Forums Event Espresso Premium Customize Attendee Listing

Customize Attendee Listing

Posted: July 3, 2012 at 1:31 am

Viewing 4 reply threads


sstaso

July 3, 2012 at 1:31 am

With shortcode [LISTATTENDEES], you can see a list of attendees. The default template and parameters displays the name and address.

A nice option is [LISTATTENDEES paid_only=”true”]

I understand Event Espresso 3.2 will have a new shortcode (EE_ANSWERS) that will make it possible to include answers to custom questions with the [LISTATTENDEES] shortcode.

Until then, I use the above [LISTATTENDEES] shortcode with the following change to the attendee_list.php template. This one adds Email, Payment status with a link to the Payment page, and Payment Amount. (Don’t forget to replace xyz.com with your domain) (You should also password protect the page containing the shortcode)

Add to the foreach loop:

$payment_status = $attendee->payment_status;
$payment_date = $attendee->payment_date;
$amount_pd = $attendee->amount_pd;
$registration_id = $attendee->registration_id;

Modify the line toward the bottom:

($state != '' ? ', ' . $state :' ') . '' . ($email != '' ? $email :''). '' . ($payment_status != '' ? 'Payment: <a href="http://cryocooler.org/payment-status/?registration_id=' . $registration_id . '">' . $payment_status . '</a>' :' ') . ($amount_pd != '' ? ', ' . '$' . $amount_pd :' ') . ($payment_date != '' ? ', ' . 'Paid: ' . $payment_date :' ') . ''; 

Note: This comment extends the idea presented here: https://eventespresso.com/forums/2010/10/attendee-listing-shortcodes/comment-page-2/#comment-17190

  • This topic was modified 12 years, 4 months ago by sstaso.
  • This topic was modified 12 years, 4 months ago by sstaso.


Josh

  • Support Staff

July 3, 2012 at 9:10 am

Thanks for sharing. We did add support for the ee_answers shortcode to 3.1:
https://eventespresso.com/wiki/answers-shortcode/


mpurse

July 4, 2012 at 11:57 am

This is awesome, but I would like to customize it a little further. Could anyone assist with the coding?

I would like a list of events (no descriptions) with their dates, then the list of paid attendees.

And ideally sorted by date of event.

I’ve managed some of this by myself (in fact all except the dates and sorting by dates), but have just reached my own limitations.

Thanks! M


Josh

  • Support Staff

July 5, 2012 at 9:01 am

We generally do not offer custom coding support in the forums for anything that goes beyond basic template tweaks. I can suggest filling out the customization request form if you’d like someone from Event Espresso to give you a quote. https://eventespresso.com/contact/customization-request-form/


mpurse

July 5, 2012 at 9:36 am

Thanks Josh. I might just work around til 3.2, because it sounds like a lot of new admin options are coming out which might sort all this out.

Plus I am at the amateur end of being a coder, so there is a high risk of me breaking something. 🙂

Viewing 4 reply threads

The support post ‘Customize Attendee Listing’ 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