Event - How do I know who wants to attend my event?

alt=
ABCD in Action
@abcd-in-action
4 years ago
61 posts
Quick question.... If I post an event, how will I know who wants to attend it? So if another user clicks on "attending", will I get notified in some way about who clicked on attending? Or will I be able to get a list of people?

We're trying to figure out an easy way to get a list of all people interested in attending an event, so we can send them zoom links to the event. Thoughts on this?
updated by @abcd-in-action: 08/18/20 11:05:20PM
alt=
ABCD in Action
@abcd-in-action
4 years ago
61 posts
I tried to create a "secret" page that was only visible to members, and it only shows up in the menu when a member is logged in, but it turns out it can be seen by anyone who has the link..... So that didn't really help. Looking for the simplest solution.
MetalScene
MetalScene
@themetalscene
4 years ago
66 posts
Following..
michael
@michael
4 years ago
7,646 posts
If the people who are attending have clicked the attending then they probably show up on the events details page as a list of profile names. If you can see that, then the page that controls that is:

/modules/jrEvent/templates/item_details.tpl

and the code that controls that is:

    {if $item.quota_jrEvent_allowed_attending == 'on' && isset($item.event_attendee) && is_array($item.event_attendee) && isset($item.event_attendee_count) && $item.event_attendee_count > 0}
                                {assign var="attendees" value=""}
                                {foreach from=$item.event_attendee item="attendee"}
                                    {assign var="attendees" value="`$attendees`&nbsp;<a href='`$jamroom_url`/`$attendee.profile_url`'>@`$attendee.user_name`</a>,"}
                                {/foreach}
                                <br>
                                <span class="normal">{jrCore_lang module="jrEvent" id="38" default="Attendees"}: {$attendees|substr:0:-1}</span>
                            {/if}

The code is only configured to get the user_name of the people who are attending, but you can add in another section to retrieve their email addresses, but you'd only want to show that section to master admin users, so you could add in:

{if jrUser_is_master()}
 {foreach from=$item.event_attendee item="attendee"}
   {$attendee.user_email}}<br>
 {/foreach}
{/if}
and that should show a list of users emails to master admins who look at the page.
paul
@paul
4 years ago
4,323 posts
Actually, user_email isn't available in the $item.event_attendee array. I'll look into adding it in.


--
Paul Asher - JR Developer and System Import Specialist
alt=
ABCD in Action
@abcd-in-action
4 years ago
61 posts
That would be great, Paul. (see my ticket that I added)

Deb