Hi Thomsus (and others)
With the help of Hoffi I got a hack for the frontend.
You must go to site/models/event.php save it, then go inside and search for:
// Get registered users
$db = $this->getDbo();
$query = $db->getQuery(true);
$query = 'SELECT '
. $name . ' AS name, r.uid' . $avatar
. ' FROM #__jem_register AS r'
. ' LEFT JOIN #__users AS u ON u.id = r.uid'
. $join
. ' WHERE event = '. $db->quote($event)
. ' AND waiting = 0 '
. ' AND status = 1 ';
$db->setQuery($query);
and replace this with
// Get registered users
$db = $this->getDbo();
$query = $db->getQuery(true);
$query = 'SELECT IF(r.status = 1 AND r.waiting = 1, 2, r.status) AS status, '
. $name . ' AS name, r.uid' . $avatar
. ' FROM #__jem_register AS r'
. ' LEFT JOIN #__users AS u ON u.id = r.uid'
. $join
. ' WHERE event = '. $db->quote($event);
//. ' AND waiting = 0 '
//. ' AND status = 1 ';
$db->setQuery($query);
then you create an template override for: event/default_attendees.php
there are 4 lines with
you replace that with
$register->name . ' (' . $register->status . ')
then you will see all attending (1) or nonattending (-1) or invited (0) persons.
With more experience you can add icons for a better sight:
for protostar template e.g.
if ($register->status == 1)...
<i class="icon-checkmark-circle" style="color:green"></i>
or
if ($register->status == -1)...
<i class="icon-cancel-circle" style="color:red"></i>
or
if ($register->status == 0)....
<i class="icon-question-circle" style="color:orange"></i>
ATTENTION: the model will be changed after an update!
This makes sense only for small groups where all participants need to see who is not attending
In the settings you can give the permission who can see it.