Support

Home Forums Event Espresso Premium S2Member Integration

S2Member Integration

Posted: February 3, 2015 at 8:15 am


jcole

February 3, 2015 at 8:15 am

I’m looking to offer different pricing levels, to different s2Member user roles. I found this: https://eventespresso.com/wiki/s2member-integration/ but did not find it available for download on the per-release channel.

I’m also aware of the WP User Integration add-on https://eventespresso.com/wiki/wp-user-integration/ would this be able to accomplish my needs?

We have 3 pricing levels including the non-member price.

Running Version 3.1.36.6.P


Sidney Harrell

February 3, 2015 at 10:48 am

Unfortunately, the S2 member add-on for the member add-on in EE3 still functions in a binary mode. It will either allow the member discount, or not, but it won’t do 3 pricing levels, my apologies.
The original members add-on allowed admins to set a members price for logged in users. The S2 member add-on modification for it just allows the member price to be used by paying members, above a S2 membership level that you can set, but not by non-paying members, those below a S2 level, ie, those who are logged in, but to a “free” account.
I’m afraid we cannot devote developer resources to trying to improve the combination of EE3, members add-on, and s2 add-on right now. We are investing some developer time right now into getting the EE4 version of the WP User Integration up and running and improved. We will be rolling that out with exactly the kind of multiple pricing levels that you are looking for, but I’m afraid that we cannot give any kind of time frame on when that will be done.


Jonathan Wilson

February 3, 2015 at 2:59 pm

Hi There,

I have a workaround for charging role based ticket prices for EE4. It does require a little manual work though. I use either the s2member plugin (if I need a way to charge users for membership access to the website) or the Members plugin by Justin Tadlock (if I just want to create roles and restrict user access to certain things/events). Then I create separate events for each membership role. I’ll then paste the event shortcodes within role specific shortcodes (from the s2 or members plugin) for each role level into a post. What this does is only shows the event ticket selector for the specific role of the user that is logged in.

So, the shortcodes would look like this:
[access role="individualmember"][ESPRESSO_TICKET_SELECTOR event_id=’2007′][/access]
[access role="businessmember"][ESPRESSO_TICKET_SELECTOR event_id=’2024′][/access]
[access role="premiumbusiness"][ESPRESSO_TICKET_SELECTOR event_id=’2026′][/access]

Does that make sense? Would it work for you? Please let me know if you have questions about the process. I’ll answer the best I can. πŸ™‚


jcole

February 3, 2015 at 3:13 pm

Hi Jonathan, I’ve considered this approach – however it would require my client to enter each event 3 times, and then create/edit a post with the shortcodes. Possible yes, but more involved then their current process.

Right now we hack the /includes/functions/pricing.php file with some PHP that detects the user’s role, and shows appropriate price levels.

This works, but each time EE updates, I lose my changes and it’s just …hacky.

Looking for a way to improve on the process and streamline site maintenance.


Jonathan Wilson

February 3, 2015 at 3:45 pm

Hi Josiah,

I understand.

Are you familiar with the Advanced Custom Field plugin?

This is from Josh Feck:

You may be able to automate the workaround a bit with the ACF plugin and a little single event template modification where you add the access role as a meta key and only pull in the ticket selector if the meta key matches. So when you create an event, you can set the access role there.

I haven’t tested this, so I’m not sure how involved it would be to get that working. But it may be worth the try. πŸ™‚


jcole

February 4, 2015 at 5:45 am

I have used ACF and that idea is certainly clever. I’ll see what I can do, and will update this thread if I find a solution that doesn’t involving hacking up core plugin files.


Jonathan Wilson

February 4, 2015 at 8:36 am

Awesome! I’m glad you’re willing to give it a go. Please post back with whatever you find. I’m curious to know how it turns out for you. πŸ™‚

The support post ‘S2Member Integration’ 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.

Event Espresso