Posted: January 9, 2025 at 8:19 am
On the website of a client I use the event espresso plugin in combination with the S2Member Pro membership plugin and the wp-user integration. When I create an event and use the option to make tickets available only to users with an S2member membership-level, that works fine. But when I use the custom capabilities option to make a ticket available only to members with that custom capability, it does not work. When a user with the capability is logged in, the ticket can not be selected, it says ‘this ticket is only available to members. It says the ticket is on sale, so the dates for the event and the ticket are OK. I tested this a month ago and it worked, but now it doesn’t work any more. I need this option because the client sometimes organizes events that are only for S2Member level 1 members, but not to level 2 or 3 members. |
|
Hi there, How are you today? What version of Event Espresso are you using? From there, the first thing I do is try to determine what changed within the month period you mentioned. Can you send me a link to an event page where you have this set up? |
|
I think you’re running into how S2Member creates capabilities. If you create a custom capability of “awesomemember”, the actual capability created by s2 is “access_s2member_ccap_awesomemember”, and “access_s2member_ccap_awesomemember” is what you need to add as the capability within the ticket capability settings. Does that help? |
|
Hi Garth, Thanks for the quick replies. Using “access_s2member_ccap_awesomemember” instead of “awesome member” works. |
|
You must be logged in to reply to this support post. Sign In or Register for an Account