• Resolved domoticom

    (@domoticom)


    Hi, Would it be possible to NOT join an event (decline) so we as a team have an overview of who joins and who doesn’t.
    Thnx.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    can you give us more details about this please?

    Thread Starter domoticom

    (@domoticom)

    ok, in the mean time a am testing with two tickets for an event:
    ticket type 1: joining the event
    ticket type 2: not joining the event

    Then I would like to show the status of al team members in a table on the event page, so evenry team member can see who joins the event and who doesn’t.

    A have already found out how to display the booking comment there by adding this to the template (see attendeelist.php bellow)
    I’d like to add tickettype (type 1, yes, or type 2: No) to this page.
    Preferably in a table with these columns: name, comment, ticket type
    But I can’t find ticket type in the array that is used in the php file bellow.

    $people = array();

    $EM_Bookings = $EM_Event->get_bookings();

    if( count($EM_Bookings->bookings) > 0 ){

    ?>

    <ul class=”event-attendees”>

    <?php

    foreach( $EM_Bookings as $EM_Booking){ /* @var $EM_Booking EM_Booking */

    if($EM_Booking->booking_status == 1 && !in_array($EM_Booking->get_person()->ID, $people) ){

    $people[] = $EM_Booking->get_person()->ID;

    echo ‘

    • ‘. $EM_Booking->get_person()->get_name() . ‘ – ‘ . $EM_Booking->comment . ‘
    • ‘;

      }elseif($EM_Booking->booking_status == 1 && $EM_Booking->is_no_user() ){

      echo ‘

    • ‘. $EM_Booking->get_person()->get_name() . ‘ – ‘ . $EM_Booking->comment . ‘
    • ‘;

      }

      }

      ?>

      <?php

      }

    Please update your post! You have not used the code indicators, which is breaking the complete layout of this forum now.

    So either edit your post, or remove the code, please.

    Thread Starter domoticom

    (@domoticom)

    I can’t see an ‘edit post’ option 🙁

    Normally the would be right below the message, but you **** that up.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘decline’ is closed to new replies.