Support

Home Forums Event Espresso Premium Where does EE4 attendee export happen?

Where does EE4 attendee export happen?

Posted: January 10, 2015 at 1:56 pm


emarienborg

January 10, 2015 at 1:56 pm

Hi,

I need to tweak the csv export a little bit, and thought I found the right place to do it, but without luck.

The file

core/db_classes/EE_Export.class.php

contains two functions that seem relevant, both export_attendees() and report_registrations_for_event().

I have tried removing columns from the $reg_fields_to_include and $att_fields_to_include arrays in both functions, but the csv I get still looks the same.

I have also tried commenting out lines further down in both functions that seem to load columns to the csv, but that didn’t work either. The lines I’ve tried are all similar to this:

$reg_csv_array[__("Check-Ins", "event_espresso")] = $registration->count_checkins();

So, I’m a bit baffled now. I have tried grep’ing through the entire plugin directory looking for other bits of code that might have something to do with the csv export, but without any luck.

Of course, editing core files is not the best option, but having to choose between a csv export not filling our needs and having to re-edit on every update, I have to choose the latter. (The optimal solution would be a settings page where I can check of which columns to include.)

Hoping for some help and input on this.

All the best,
Eivind

  • This topic was modified 9 years, 3 months ago by  Tony. Reason: Moved to premium


emarienborg

January 15, 2015 at 3:07 am

I know bumping posts is rude, but as this post is still not resloved, I see no other option. Feel free to delete the bump post when replying to the original post.


emarienborg

January 16, 2015 at 1:10 am

I ended up making my own export, using a custom page template and some jQuery to change the default Event Espresso admin pages.

It might not do exactly what other people need, but as it may be a nice starting point for individual adjustment, I put it on github in case anyone else needs this: https://github.com/eivind1984/event-espresso-4-custom-export

The support post ‘Where does EE4 attendee export happen?’ 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