Posted: November 5, 2016 at 10:51 am
|
Hi For every conference we sell there are many types of tickets (more than 10) We use role capabilities to hide to the public the tickets limited to registred users. But we would like also to hide to registred members (logged in), tickets for non registred users… Is there a role name to enter for non logged in users? Thanks |
Hi there, No there isn’t a role name to enter for non-logged in users. |
|
|
I have 6 tickets per event for non logged in members When user is not logged in as you can see he can see also the tickets for members But the worst problem is when user is logged in. |
For that you can use this function: https://gist.github.com/Pebblo/106393acd850cb83c3798c66a9c5a19a
The minimum capability feature on tickets allows you to set a capability on the ticket that the user must have in order for them to see that ticket. No minimum capability means that any user can view those tickets, so logged in users should see them. The output for each ticket row is filterable so a developer could add some this functionality for you using the hook If you are not currently working with a developer we have a list of some that are familiar with Event Espresso here: |
|
|
Ok thanks for this function! much better! Last question : Let’s say, maybe with different background color and more space between those thickets and the others ? because actually all the tickets are really together Thanks a lot for your help |
|
Here is the picture The 6 first tickets are tickets for non logged in members…i would like to be able to give them a different background color/text color And also to know how to give another color to the tickets for the logged in users thanks |
Each ticket row has its own html/CSS classes so you can use those to uniquely style each row. Are you familiar with how to use Firebug to inspect HTML in order to get an element’s class? |
|
The support post ‘Guest role ?’ 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.