Support

Home Forums Event Espresso Premium Exempt a User/Users from Espresso WP User Integration Data-Saving?

Exempt a User/Users from Espresso WP User Integration Data-Saving?

Posted: October 7, 2015 at 12:43 pm

Viewing 1 reply thread


Joe Z

October 7, 2015 at 12:43 pm

I’m wondering if there is a programmatic way to exempt a user or group of users (in our case, we’d select administrators) from WP User Integration’s data saving feature. Basically, we have a registrar who often helps older users register by telephone–the problem is, if the registrar uses the back end, he must then process credit cards manually out of band.

On the other hand, if the register uses the front end, each new registration overwrites the account’s name and email address (because of the WP User Integration data-saving feature.)

We’re just wondering if there’s a filter that can be added to our function.php to suppress that for certain users. We’d certainly be willing to use our support token or sponsor Somme coding for that feature, but, I don’t know if there is any feasibility to it.

Thanks!!!


Josh

  • Support Staff

October 7, 2015 at 2:15 pm

Hi Joe,

You can update to the very latest version of the WP users integration, then go to Event Espresso > Registration Form > User Integration Settings, then you set Always sync contact information with WP user profile? to No.

What this will do is not sync the user information when a logged in user fills out a different name/email on the registration form.

Here’s some more information about this new setting:

This global option is used to indicate behaviour when a logged in user registers for an event, and what happens to that user’s related contact, which in turn is related to the primary registration.

When true (default):

If the logged in user has never had a relationship set between the user and the contact record, the relationship will be created on the initial registration between the contact for the primary registration and this user.
On subsequent registrations by this user, the contact record from previous registrations for that user will be used for the primary registration and ANY changes to that contact record will sync both with the contact record AND related wp user details for that account.
When false:

The only time the contact and related registration will be attached to the logged in user is if the user does not change the first name, last name, or email address in the pre-populated fields for the first registration in the registration form.
The main difference between the two options is in the former (true) – EVERY registration by a logged in user is attached to the same contact for the primary registration, and the user has a record of every event they’ve registered for.

Whereas with the second option (false) – a record of events the user has registered for ONLY applies when the personal questions for the primary registration have not been changed.

Viewing 1 reply thread

The support post ‘Exempt a User/Users from Espresso WP User Integration Data-Saving?’ 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