Support

Home Forums Event Espresso Premium Required Event Tickets with Sessions

Required Event Tickets with Sessions

Posted: August 18, 2017 at 12:39 pm


DigitalTea

August 18, 2017 at 12:39 pm

Hi all!

I’ve been reading the forums and see things similar, but not quite the same as our requirement.

We have an event with optional sessions. That (I think) is good to go. However, there are different types of registrations for the overall conference including sponsor registrations that feature a number of registrations (e.g. platinum sponsor gives you 5 registrations). This we’ve handled with bundles (although I have a question there, but I’ll do a separate topic).

The issue is making the overall conference registration a requirement – if we make the tickets required, we end up with different required tickets – what we need is a blanket requirement just for that specific type of ticket.

Any ideas, guys? Your help is greatly appreciated!


Josh

  • Support Staff

August 21, 2017 at 5:38 pm

One thing you could do is use the WP User integration add-on to enforce the overall conference registration. Here’s how:

1) You activate the WP User integration add-on
2) You set up your overall conference registration event, this event does not require logging in, and you’ll set that event to create a new user. The user role can be a custom role like “Conference Attendee”.
3) You set the Conference Attendee role to have a custom capability, the custom custom capability can be something like has_conference_registration. You can use a plugin like Members or User Role Editor to create the custom roles and capabilities.
4) When you set up your optional session tickets, these will all require the
has_conference_registration capability, and require the user to be logged in to the website. There’s more information about how to set up a capability requirement in the documentation:

https://eventespresso.com/wiki/wp-user-integration/#ee4usage

Another way to set this up that doesn’t involve the WP Users integration add-on is you set up registration form questions to capture their optional session selections instead of using tickets.


DigitalTea

August 24, 2017 at 9:38 am

Excellent! I’ve modified the event and set everything up, but when a non-logged in user visits the registration form, when do they get to choose the sessions? Right now, as a non-logged in user, I see the session “is available to members only”.

Also, is there a way to change that text?

Thanks for your assistance!


Josh

  • Support Staff

August 24, 2017 at 10:49 am

They’ll choose the sessions after they’ve completed the overall conference registration. They’ll have a user account made for them because you’ll have set that event to create a new user account when they register.

You can change the text with by adding some PHP code to your website. The text can be filtered with the
FHEE__EED_WP_Users_Ticket_Selector__maybe_restrict_ticket_option_by_cap__no_access_msg
filter hook.

There’s some sample code in the WP User add-on’s documentation that shows how to change the message text:

https://eventespresso.com/wiki/wp-user-integration/#custom_restricted_ticket_message

The support post ‘Required Event Tickets with Sessions’ 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