Has there been any change on hiding or showing tickets to specific “roles”?
I would like to sell sponsor opportunities to people who have the WP role of sponsor, admin and Event Planner but don’t wish to show these to other roles.
No change with the core plugin itself, but you can do what I think you are requesting using a snippet of code as the content is filtered.
For example for each ticket selector row you can check if the current user has the capability required to view the ticket and if not, just not return nothing so nothing is displayed. (This is pretty much what the WP User integration add-on does, only it displays a message if you can’t access the ticket, rather than nothing)
So to confirm I understand the above tickets would only be visible to users WP role of sponsor, admin and Event Planner and no-one else? I’m assuming there will also be other tickets in the event that would display for all?
Yes. Only need to display tickets to selected roles. If there is a ticket, other roles need not see them because we are not exposing normal users to sponsor opportunities.
I did a work around and made another user an Administrator AND the custom role of Sponsor and he can see things as predicted. So that is the way one must do it.
This is solved. Kludgey but solved.
Viewing 2 reply threads
The support post ‘Member Only Tickets’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.