Support

Home Forums Event Espresso Premium Blocking a person from registering for an event

Blocking a person from registering for an event

Posted: July 11, 2016 at 4:33 am


Bosworthsgc

July 11, 2016 at 4:33 am

Hi

Is there a way to block or not allow a person to register for an event based on their name or email address please

Thanks


Tony

  • Support Staff

July 11, 2016 at 5:19 am

Hi there,

Currently EE does not provide any support for blocking users from registering onto an event.

The EE4 User integration add-on will check for a current user created within the site (based on their email) and prevent the user from registering onto the event without logging in first.

You could take a look within that add-on at the EED_WP_Users_SPCO.module.php file and the verify_user_access() method to see how that is done, then build a custom add-on that would allow you to set values to check for and deny access.

However note that users basically have unlimited email addresses and can input any other details they chose in the registration for so ‘blocking’ a user based on the details input into the registration form is unlikely to work well.

One option is to set your events to members only so that only logged in users can register, however again the members of the site would need approval to confirm the users are unique.


Bosworthsgc

July 11, 2016 at 5:21 am

Thanks Tony

The support post ‘Blocking a person from registering for an event’ 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