Permissions for viewing event descriptions
-
Good afternoon,
In your knowledgebase ( https://theeventscalendar.com/knowledgebase/admin-roles-and-permissions/ ), it says that I can customize permissions for events using the Members plugin. I’ve done this to hide event descriptions from certain roles, so that unqualified users see the event post like this:
Birthday Party
May 13 @ 9:00 am – 11:00 pm
Sorry, but you do not have permission to view this contentHowever, when viewing the calendar, the event description that is supposed to be hidden is visible to everybody in tooltips, mobile, day, and list view. Is there any way to use role permissions to hide event descriptions for the calendar?
For now I’ve disabled day and list view and commented out<!--<div class="tribe-event-description">[[=raw excerpt]]</div>-->
from tooltip.php and mobile.php. I don’t know how to hide the description in day or list view. This isn’t an ideal solution, as it takes away all event descriptions rather than just the ones I want to keep private.Note that I want everybody to be able to see event titles and times, just not certain event descriptions.
I’d appreciate any help or suggestions you can offer. Thanks,
JanetMy site calendar
My Plugins: The Events Calendar Version 4.5.2.1, Members Version 1.1.3
- The topic ‘Permissions for viewing event descriptions’ is closed to new replies.