Home › Forums › Ticket Products › Event Tickets Plus › Hide attendees list on events pass globally
- This topic has 10 replies, 5 voices, and was last updated 9 years, 10 months ago by
Leah.
-
AuthorPosts
-
March 16, 2016 at 10:47 am #1089820
Carole Langman
ParticipantHi, i just updated to the newest version of the Events Calendar Pro and tickets plus and notice that all the events now display an attendees list on the events pages.
I see i can manually hide the list if i go into each event but can’t see a way i can do this across the site. Is there a setting i can change of and code i can add?
Thanks in advance
March 17, 2016 at 11:04 am #1090413Barry
MemberHi Matthew,
One way to do this would be to create a completely blank template override.
The template override process is explained in general terms over here, but in this situation specifically it would involve creating a (completely empty) new file within your theme as follows:
wp-content/themes/YOURTHEME/tribe-events/event-tickets-plus/attendees-list.php
This should essentially remove the attendee list from public display everywhere.
Does that help?
March 17, 2016 at 11:09 am #1090417Barry
Member… I do apologize, the suggested filepath was incorrect – there is no need to nest attendees-list.php within event-tickets-plus. In other words, you would set up the template override like this:
wp-content/themes/YOURTHEME/tribe-events/attendees-list.php
March 18, 2016 at 9:55 am #1091061Ivete Tecedor
ParticipantThanks for this. I’d love to see this be a setting option in the future, it’s a major feature change that surprised me!
March 18, 2016 at 10:03 am #1091066Barry
MemberAbsolutely.
I’ve proposed this as a new setting (via our internal issue tracker) and have noted both your and Mathew’s interest π
March 18, 2016 at 10:17 am #1091080Ivete Tecedor
ParticipantFollowup question: How do I remove the attendee list checkbox? I tried creating a tribe-events/tickets/rsvp.php file and removing that checkbox there, but it’s still showing. I’m using Tickets Plus.
March 18, 2016 at 10:39 am #1091098Ivete Tecedor
ParticipantGot it!
tribe-events/wootickets/tickets.phpHad to change line 104 to:
include WP_PLUGIN_DIR . '/event-tickets-plus/src/views/meta.php';March 18, 2016 at 12:53 pm #1091149Barry
MemberExactly, removing the checkbox from a template override is a great way to do it π
March 30, 2016 at 5:00 pm #1096182John Niernberger
ParticipantYeah, a somewhat bizarre decision to add a feature like this with no way to disable it. There are actually privacy issues involved – some event attendees lists shouldn’t ever be made public, and the expectation by attendees is that they won’t be.
Anyway, a better option than overriding the template to remove the checkbox (since that override is going to require maintenance moving forward) is to add this to your theme’s css file:
.tribe-tickets-attendees-list-optout { display: none; }-
This reply was modified 10 years ago by
John Niernberger.
March 31, 2016 at 11:50 am #1096550Barry
MemberHi John!
Thanks for sharing that tip π
I would highlight though, mostly for the benefits of others hitting this topic, that hiding elements via CSS does not truly remove those elements – so the attendee output would still be discoverable using the solution you’ve suggested. It’s certainly unlikely that ‘lay users’ would realize this but, if privacy is the overriding concern, it’s something to consider.
Remember too that custom CSS can also require onward maintenance, just as can template overrides or custom PHP snippets.
I’ll now go ahead and close this topic: if we can help any one further with this or any other problems please do create a new topic and one of the team will be only too happy to assist.
May 26, 2016 at 4:17 pm #1119501Leah
MemberHi there,
I just wanted to pop in here and give you an update. While we werenβt able to get this feature into our upcoming 4.2 release, it is still on our list of ideas to implement in future releases.
We appreciate your patience, and we will be sure to update this thread when we have more news. Thank you for your continued support, and keep an eye out for version 4.2 coming in the next few weeks!
Best,
Leah
and The Events Calendar team -
This reply was modified 10 years ago by
-
AuthorPosts
- The topic ‘Hide attendees list on events pass globally’ is closed to new replies.
