• matt333

    (@matt333)


    Steps:

    1. User books an event, then cancels it.
    2. User clicks into the event details: still shows in attendee list.

    Expected:

    After booking cancellation, user disappears from attendee list.

    Environment:
    WP: 3.2.1
    BP: 1.5.1
    EM: 4.303

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    will update this, but you can modify the templates/placeholders/attendees.php file replace:

    foreach($EM_Event->get_bookings() as $EM_Booking){
    	$people[$EM_Booking->person->ID] = $EM_Booking->person;
    }

    with

    foreach($EM_Event->get_bookings() as $EM_Booking){
    	if($EM_Booking->status == 1){
    		$people[$EM_Booking->person->ID] = $EM_Booking->person;
    	}
    }
    Thread Starter matt333

    (@matt333)

    Thanks for your quick response. I will test it and let you know.

    Thread Starter matt333

    (@matt333)

    This works!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Events Manager] [BUG] User still in attendee's list after booking cancelled.’ is closed to new replies.