Support

Home Forums Pre-Sales Disallow Conflicting Events?

Disallow Conflicting Events?

Posted: May 17, 2013 at 8:34 am


Matt Williams

May 17, 2013 at 8:34 am

Is there a setting to disallow conflicting events? For instance, user signs up for an event that runs from 11AM-2PM. I want to forbid them from registering for another event that runs from 12PM-4PM (since it would conflict with the first).


Matt Williams

May 17, 2013 at 12:05 pm

Oooh, another question. I want to require attendees to purchase a badge before they can purchase events – can EE do that? I’m running a convention, and users will have to purchase their “general admission” badge before they’re allowed to chose from individual events.


Dean

May 20, 2013 at 1:46 am

Hi Matt,

Unfortunately right now there is no way to restrict events, though I know we are looking into possible options. I do believe however that the time based blocking may not be achievable just yet.

Also, we do not currently have a parent-child relationship between events, so there is no way to require them to purchase Event A before they can buy Event B. Some people have worked around this by turning the site into a membership site, and therefore the membership becomes the “main event” with internal events handled by Event Espresso.

I heard that we may be looking into parent/child event relationships, but if/when this will happen is unknown.


Matt Williams

May 20, 2013 at 5:36 am

Thanks. Having a membership seems a reasonable workaround. Having the ability to restrict events would be nice. Or, at least a “warning message” to alert people that they are trying to get tickets to conflicting events. Maybe one day!


Dean

May 20, 2013 at 5:44 am

I hear you Matt! A lot of people want that functionality. If the user is logged in I did come up with a basic solution that may assist you.

All it does is if the user is logged in it checks the database to see if the email address for the user matches that event and if so pops a notice up to tell them they have booked it already.

It may be possible to combine this with some other database query to see if the times clash. It probably will be slow if there’s a lot of events (hundreds+)

https://gist.github.com/Apina/f11b5ce2db10f7b3bb93

The support post ‘Disallow Conflicting Events?’ 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