Support

Home Forums Event Espresso Premium Allow User(s) to See who is attending event? (Publicly / Privately)

Allow User(s) to See who is attending event? (Publicly / Privately)

Posted: August 18, 2012 at 6:39 am


alson lah

August 18, 2012 at 6:39 am

hello , is there is way to allow other members / users without admin rights to view who is attending the events. However, as I do not want them to mess around with the settings, I do not want to just grant them the admin rights. So they are only able to have the viewing rights.

  • This topic was modified 11 years, 7 months ago by  Seth Shoultes. Reason: Moving to premium forums


Seth Shoultes

  • Support Staff

August 20, 2012 at 9:51 am

Hi,

You can use the [LISTATTENDEES] shortcode on a page or post to show a list of attendees. You can use this [LISTATTENDEES event_identifier=”your_event_identifier”] to show a single event using the event identifier.

There is a list of available shortcodes on the WP Admin > Event Espresso > Help/Support tab of your WP install.


Gen Gelinas

August 23, 2012 at 7:09 pm

Hi,

How would I go about adding, in the template, the attendee list (just first and last names) for a specific event? Our volunteers often pick days to work with their friends.

Thanks!


Chris Reynolds

  • Support Staff

August 24, 2012 at 4:43 pm

@gen
just use a do_shortcode function. There are examples on the Shortcodes & template variables doc.


Gen Gelinas

September 12, 2012 at 6:13 pm

Thanks Chris.

Hmmm, I’m trying out “, but I don’t know where exacly I should insert it (HTML & CSS I’m ok at, but PHP, oy!).

For example, on this page http://ptitslutins.org/benevolat/inscription/?ee=12, I would like to see it appear on the right side, under the Venue, Date, Hours. I assume I have to edit registration_page_display.php, but where do I drop the line?


Gen Gelinas

September 13, 2012 at 7:23 pm

Hmmm, my line of code has disappeared, let me just add some dots too see if it works out :

  • This reply was modified 11 years, 7 months ago by  Gen Gelinas. Reason: the tag doesn't work!


Seth Shoultes

  • Support Staff

September 13, 2012 at 10:11 pm

@gen add back ticks ( ` ) around the code.


Gen Gelinas

September 14, 2012 at 5:34 am

Seth, I did, using the bracket icon provided in the wysiwyg menu… Let’s try typing it instead …

I assume I have to edit registration_page_display.php, but where do I drop the line for the list to appear at the bottom of the right column at http://ptitslutins.org/benevolat/inscription/?ee=12?


Gen Gelinas

September 14, 2012 at 5:34 am

This is not being able to show the line of code is getting really frustrating…


Seth Shoultes

  • Support Staff

September 15, 2012 at 2:29 pm

Can you post a screenshot of the code?


Gen Gelinas

September 17, 2012 at 6:38 pm

Ok, here is the line of code and where I would like the resolved code (the list of attendees) appear in the layout (http://ptitslutins.org/benevolat/inscription/?regevent_action=register&event_id=12).

enter image description here


Gen Gelinas

September 18, 2012 at 6:12 am

OK, managed some of it. But the list appearing is for all events, not just that one, and I get an error message at the bottom of the page.

enter image description here

enter image description here

Fatal error: Cannot break/continue 1 level in /home/ptitslut/www/www/wp-content/uploads/espresso/templates/registration_page_display.php on line 285

Help please!


Gen Gelinas

September 18, 2012 at 3:36 pm

Looks like this issue is very much like this other one https://eventespresso.com/topic/listattendees-shortcode-is-not-working-with-event-identifier/


Gen Gelinas

September 18, 2012 at 9:16 pm

Finally managed to make it work using this code in registration_page_display.php

enter image description here

The support post ‘Allow User(s) to See who is attending event? (Publicly / Privately)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso