Forum Replies Created
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
December 7, 2017 at 1:22 am in reply to: Simple page with public list of Attendees of a particular event #1400078
Pablo
ParticipantSame problem, I only see avatars.
November 30, 2017 at 10:47 am in reply to: Simple page with public list of Attendees of a particular event #1395970Pablo
ParticipantHi Jennifer, I just copy you said below your code, like this:
<!-- Ateendees --> <ul class='tribe-attendees-list'> <?php if( class_exists( Tribe__Tickets_Plus__Attendees_List ) ) { $attendees_list = Tribe__Tickets_Plus__Attendees_List::get_attendees( $event_id ); foreach ( $attendees_list as $attendee_id => $avatar_html ) { ?> <li class='tribe-attendees-list-item'><?php echo $avatar_html; ?></li> <?php } } ?> </ul> <br> <h3>NEW CODE (BELOW) Do not show names only avatars</h3> <ul class='tribe-attendees-list'> <?php foreach ( $attendees_list as $attendee_id => $avatar_html ) { ?> <?php $attendee_name = ''; foreach ( $attendees as $key => $attendee_obj ) { if ( isset( $attendees[ $key ]['attendee_id'] ) && $attendee_id == $attendees[ $key ]['attendee_id'] ) { $attendee_name = $attendees[ $key ]['purchaser_name']; } } ?> <li class='tribe-attendees-list-item'> <?php echo $avatar_html; ?> <?php if ( ! empty( $attendee_name ) ) : ?> <br> <span class="tribe-attendees-list-item-name"> <?php echo $attendee_name; ?> </span> <?php endif ?> </li> <?php } ?> </ul> <!-- Ateendees END -->And names not show 🙁
November 30, 2017 at 6:14 am in reply to: Simple page with public list of Attendees of a particular event #1395683Pablo
ParticipantHi Jennifer, works great!!! Thanks a lot!! only one more question… can I change avatar with attendee name??
Thanks in advance!!!
Pablo
November 21, 2017 at 6:36 am in reply to: Simple page with public list of Attendees of a particular event #1387984Pablo
ParticipantHi again Jennifer, any answer?
Thanks in advance,
Pablo
Pablo
ParticipantHi Jaime for your answer, I probably explain me wrong (my english!!). When you load the first time a event page the number of tickets left it´s ok, but if you click on one to select the number in all tickets type change it and show wrong results.
Please see attached file.
Pablo
ParticipantThis reply is private.
November 14, 2017 at 9:45 am in reply to: Simple page with public list of Attendees of a particular event #1382726Pablo
ParticipantThis reply is private.
November 14, 2017 at 2:21 am in reply to: Simple page with public list of Attendees of a particular event #1382234Pablo
ParticipantThis reply is private.
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
