Home › Forums › Ticket Products › Event Tickets Plus › Global Setting to Hide Display Attendee List?
- This topic has 6 replies, 3 voices, and was last updated 8 years, 8 months ago by
Jonathan.
-
AuthorPosts
-
July 5, 2017 at 9:41 am #1316383
Jonathan
ParticipantJust chiming in to say I had the same issue. I run the Make Plus Theme 1.8.7 and Woo Commerce 2.6.14.
The snippet mentioned upthread worked for me, but I would be interested in discovering a fix.
Thanks,
Jonathan
========================
PLEASE LEAVE FOR SUPPORT
Reporting the same issue as: https://theeventscalendar.com/support/forums/topic/global-setting-to-hide-display-attendee-list/July 6, 2017 at 2:43 pm #1317133Andras
KeymasterHello Jonathan,
Thanks for reaching out to us and I’m sorry about this issue.
I would like to get a clear view on what exactly the issue is so I can give you appropriate support. Can you please give me further explanation?
Is it this:
Until now the attendee list was hidden for all events, but after a recent update it is shown for all.Or more like this:
I want the checkbox of “Display attendees list” to be unchecked by default when I create a new event.Or a third option?
Thanks for the clarification.
Cheers,
AndrasJuly 7, 2017 at 9:22 am #1317410Andras
KeymasterHey Jonathan,
If the issue is the first (Until now the attendee list was hidden for all events, but after a recent update it is shown for all) then I can propose a manual fix for this.
You need to run the following query on your database to change the “Hide / Display attendees list” setting for all events:
UPDATE wp_postmeta SET meta_value = '-1' WHERE meta_key = '_tribe_hide_attendees_list' AND (meta_value = '' OR meta_value = '0'); UPDATE wp_postmeta SET meta_value = '0' WHERE meta_key = '_tribe_hide_attendees_list' AND meta_value = '1'; UPDATE wp_postmeta SET meta_value = '1' WHERE meta_key = '_tribe_hide_attendees_list' AND meta_value = '-1';This will flip the setting on all events.
Note that if you manually changed the setting on some events already, this will change them again.
Andras
July 10, 2017 at 4:58 pm #1319216Bruce
ParticipantPerhaps a better alternative is to hide the Attendees via CSS – that way any future DB updates won;t switch them back on:
.tribe-attendees-list-container, .tribe-tickets-attendees-list-optout {
display: none;
}July 11, 2017 at 8:40 am #1319520Andras
KeymasterHey Bruce,
Thanks for chiming in!
Yes that is definitely a good solution. Note however that the data can likely be still picked up by search engines / crawlers and the code will still be visible in the code. If you don’t mind that, it is an absolutely valid solution.
Another note on that, if you had some lists visible, which are now not showing due to that change in setting, that code will not make it visible. 🙂
We have put this on our known issues page with a more streamlined query.
Cheers,
AndrasAugust 2, 2017 at 9:35 am #1329519Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Global Setting to Hide Display Attendee List?’ is closed to new replies.
