Posted: February 5, 2018 at 9:09 am
|
I am trying to restrict tickets to certain membership levels I set up using the Simple Membership plugin. https://simple-membership-plugin.com/. In this case, I created a membership level where the ID = 5 and the Membership Level name is “Open Show”. |
Hi, Event Espresso doesn’t use the roles directly because roles are groups of capabilities. Instead, Event Espresso uses an individual capability to determine if someone has access to see a certain ticket. With our WP user integration add-on, you’ll be able to setup member pricing and also offer public pricing. It works by integrating with a membership plugin like Paid memberships pro or S2member. Here is an example of how it works with S2member: http://ee-screenshots.s3.amazonaws.com/ee4/ee4-s2member-roles-tickets.jpeg You set a capability for a pricing option and then a member that has access will be able to register for those pricing options. |
|
Hi there,
By doing this you are telling EE that only users with the capability ‘[swpm_protected for=”5″]’ can access the ticket (that capability will never exist). The EE WP User integration add-on (which is what is checking for the minimum capability you have set) works based on capabilities assigned to the user’s account. It looks like Simple Membership does not assign capabilities to the user if they are a member and if that’s the case it will not work with the EE minimum capability check. |
|
|
Thanks for the replies. |
|
**Correction** that should be… I tested again and it still shows that tickets are only available for members. |
Ok, so the new users you added are set to use those Use the User Role Editor plugin to view the capabilities on the role and confirm there is a |
|
Hi there, You’ll actually need to input a unique capability into the Ticket Capability Requirement field. It appears as though you’re inputting the role name into that field. So you’re almost there. This plugin will let you add special capabilities to those roles: https://wordpress.org/plugins/user-role-editor/ Then after each role has its own capability, you can set the capability into the Ticket Capability Requirement field. If you’re interested in a one-plugin solution for membership, user roles, and user capabilities, I can recommend checkout out this plugin which has all 3 features: |
|
Also, it has been a little while since I’ve looked at PMP with the PMP Roles plugin. If you can send me a copy of that plugin to support[at]eventespresso.com I’ll install it locally and investigate further to confirm the capabilities you’ll have available. |
|
|
Tony- Josh, |
As long as the plugin you are using is capability based (ie: it gives ‘members’ specific capabilities on their account when they are ‘active’ members and removes those capabilities when the membership expires) you can the plugin with EE. EE just checks for a capability on the account, it doesn’t care how it got there or how it was removed, your account either has that minimum capability (can purchase the ticket) or it doesn’t (can’t purchase the ticket). Some membership plugins (like Simple membership and PMP without the above add-on) manage membership outside of the user’s role/capability with specific functions to check if a member is ‘valid’ or not. Those can’t be used with EE as there’s no difference between a ‘user’, ‘member’ or ‘expired member’ capabilities for EE to check on. |
|
|
Okay – I understand. |
The support post ‘Ticket Capability Requirement + simple-membership-plugin’ 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.