jb1987

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Attendee Data editor plugin – not working #1465572
    jb1987
    Participant

    Sorry, the comment editor messed up the code snippet. Just copy the content of plugins/event-tickets-plus/src/views/tickets-plus/orders-edit-meta.php to the file in your theme, and comment the two lines I mentioned.

    in reply to: Attendee Data editor plugin – not working #1465569
    jb1987
    Participant

    Hi Paula

    I had the same problem just now and successfully found a workaround.

    Here are the steps you need to do.

    First, open the file plugins/attendee-data-editor/src/Main.php.
    Then go to line 137 (or nearby), find the following snippet:

    foreach ( Tribe__Tickets__Tickets_View::instance()->get_event_attendees_by_order( $event_id ) as $order ) {

    and replace it with:

    foreach ( Tribe__Tickets__Tickets_View::instance()->get_event_attendees_by_order( $event_id, null, true ) as $order ) {

    Save the file.

    Next, create a new file: /tribe-events/tickets-plus/orders-edit-meta.php, and add the following snippet.

    `

    meta();

    // if ( $meta->meta_enabled( $ticket->ID ) ) {
    ?>
    <div class="tribe-event-tickets-plus-meta" id="tribe-event-tickets-plus-meta-ID ); ?>” data-ticket-id=”ID ); ?>”>

    get_meta_fields_by_ticket( $ticket->ID );
    foreach ( $meta_fields as $field ) {
    echo $field->render( $attendee[‘attendee_id’] );
    }
    ?>

    <?php // }
    `

    NOTE: I am using Event Tickets 4.6.3.1 and Event Tickets Plus 4.6.2. If you’re using a different version of the plugin, grab the content of orders-edit-meta.php from plugins/event-tickets-plus/src/views/tickets-plus/orders-edit-meta.php and comment the LAST line AND the following line:
    if ( $meta-&gt;meta_enabled( $ticket-&gt;ID ) ) {

    Hope it helps!

    in reply to: Add RSVP/Register Attendees from WP Admin #1411442
    jb1987
    Participant

    Hi Geoff, thanks a lot for the awesome explanation!

    Does the team have any plan on releasing such feature? I found some people in the forum that have been requesting it too.

Viewing 3 posts - 1 through 3 (of 3 total)