Support

Home Forums WP User Integration How do we automatically create wordpress user someone registers for an event

How do we automatically create wordpress user someone registers for an event

Posted: December 10, 2015 at 9:35 pm


All in IT Solutions

December 10, 2015 at 9:35 pm

we would like the fuctionality where when some registers for an event, the user account is automatically created in the core wordpress user. I got an answer from a support guy that there is no such functionality in EE3 and the WP User Integration can not do it however there is workaround https://gist.github.com/Apina/5576163

Can anyone tell me, where this
espresso_create_wp_user.php

and how to make it work in more detail. Do we need to edit the file or create a new one. Need more explanation for this please, thanks


Lorenzo Orlando Caum

  • Support Staff

December 11, 2015 at 5:23 am

Hi, you’ll want to take that sample code and add it to your child theme’s functions.php file or a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/).

We won’t ask you to make changes to core plugin files since those changes would be lost on a software update.


Lorenzo


All in IT Solutions

December 13, 2015 at 4:00 pm

Thanks Lorenzo, it worked. Appreciate a lot.

Now we are working on a last puzzle that is:
Is there a way or a workaround to show The Personal information and the Address information (Questions in Event Espresso) in the WordPress users profile area.

Can S2member or any other plugin can do this?

Please send us in the right direction.
Regards,


Tony

  • Support Staff

December 14, 2015 at 4:21 am

Hi,

Are you using the WP User Integration Add-on as well as the above function?

The reason I ask is that add-on will add the fields within the user profile, like this – http://take.ms/7RW5i

The support post ‘How do we automatically create wordpress user someone registers 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