Support

Home Forums WP User Integration EE4 User integration – combine two contacts and save registration form data

EE4 User integration – combine two contacts and save registration form data

Posted: November 28, 2015 at 8:15 pm


Pedro Ordenes

November 28, 2015 at 8:15 pm

Hi there! I have two questions that relate to the user integration add-on:

1. I have a user who made two accounts, and registered for different events under them. He would like to consolidate them to one EE contact/one user account. How can I do this? I already deleted the second account and attributed all content to his desired account but the registrations didn’t appear. However, they exist under a separate contact (but not account) I’ve been trying to at least link them somehow through phpmyadmin but can’t find where contacts are.

2. Our users often have to fill out long registration forms and repeat the same information for later registrations. Is there an autofill feature or something that can save the answers to their account so they don’t have to retype them each time? Right now only name and email save but there are many complaints about the inconvenience.

Lastly, is there a place to check on the progress of new features? I check the blog but it would be nice to see what was in development and projected completion times. Thanks so much!


Tony

  • Support Staff

November 30, 2015 at 4:15 am

Hi Lauren,

1. I have a user who made two accounts, and registered for different events under them. He would like to consolidate them to one EE contact/one user account. How can I do this? I already deleted the second account and attributed all content to his desired account but the registrations didn’t appear. However, they exist under a separate contact (but not account) I’ve been trying to at least link them somehow through phpmyadmin but can’t find where contacts are.

Currently re-assigning registrations to different contacts is not possible and assigning multiple contacts to a single WP User will cause further problems later on.

I’ll check in with the developers to see if its possible to list those registrations under a single account.

2. Our users often have to fill out long registration forms and repeat the same information for later registrations. Is there an autofill feature or something that can save the answers to their account so they don’t have to retype them each time? Right now only name and email save but there are many complaints about the inconvenience.

We have a snippet that will auto fill a users last answer to a question question, so if they answer a custom question it should auto-fill the field if they are asked that same question whilst logged in.

That is available here:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/mn_wp_user_addon_save_custom_answers_too.php

You can add that to your themes functions.php file or preferably a Site Specific Plugin.

Lastly, is there a place to check on the progress of new features? I check the blog but it would be nice to see what was in development and projected completion times. Thanks so much!

We do not post ETA’s on new features for various reasons, however you can view the current developments here and add votes/comments to the current feature requests here:

https://trello.com/b/zg9DCIpe/event-espresso-public-roadmap


Pedro Ordenes

November 30, 2015 at 10:49 am

Thanks for checking on the registration assignment – that would really help! And the Trello board is great to refer to. I will keep an eye on it and vote.

The snippet works great, thank you. Any reason it doesn’t remember addresses though? Is there something I can put in it to recall them?


Josh

  • Support Staff

December 1, 2015 at 12:00 pm

The reason it doesn’t pass the address fields is because those are system questions which are stored elsewhere. You can add another function to your site that will add those as well. The code is available here:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/jf_filter_address_answer_for_wpuser.php


Pedro Ordenes

December 1, 2015 at 12:40 pm

Great, this is almost perfect – just the phone number is missing 🙂 I tried to add this to the bottom of the list but it didn’t work. Any ideas? Thanks for your help!

case $phone :
                    $value = $attendee->get( 'ATT_phone' );
                    break;


Tony

  • Support Staff

December 2, 2015 at 5:09 am

Hi Lauren,

You’ll also need to add:

$phone = EEM_Attendee::system_question_phone;

Above that within the defined( 'EEM_Attendee::system_question_address' ) check, like so – http://take.ms/n57TQ


Pedro Ordenes

December 2, 2015 at 9:24 am

Woops! I missed that. Thanks so much!

The support post ‘EE4 User integration – combine two contacts and save registration form data’ 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