Support

Home Forums Event Espresso Premium Group Registration Errors If Members of the Group Are Already WP-Users Reply To: Group Registration Errors If Members of the Group Are Already WP-Users

Reply To: Group Registration Errors If Members of the Group Are Already WP-Users

Author Replies
Tony # Posted on May 18, 2018 at 3:02 am

Hi there,

Perhaps the easiest solution for us would be if you could provide a snippet that turns off the validation code and lets the transaction process on the front end?

We call that the traffic cop: https://eventespresso.com/product/eea-wp-user-integration/#traffic-cop

To disable that email check you can use this snippet:

https://gist.github.com/joshfeck/1131145859a3fab58f4d#file-disable_email_match_everyone-php

Note that it’s the code in the second file, not the first. The second file disables the email check for all users, the first disables the check for logged out users.

Add that code to a custom functions plugin o you site, we have documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Perhaps changing the settings in Registration Form >> User Integration might fix this problem? Would that make a difference, and would it make a difference regarding already existing WP-Users when group tickets are purchased for them?

There’s no setting for this currently, the only way to disable that check is the above code.

With the above code in place you should just be able to add multiple registrations details to the registration form regardless if they are member or not. Note however that the additional registrations made using details that do not match the ‘primary registrant’ will not show up in the ‘My Events’ section of the add-on.

Do NOT follow this link or you will be banned from the site!