Support

Home Forums Event Espresso Premium WP USERs not created

WP USERs not created

Posted: October 28, 2020 at 12:15 am


JohnB

October 28, 2020 at 12:15 am

We have a problem when a multiple registrations are made in the same transaction.

We find a WP USER account and permissions for the associated LearnDash course are correctly set up for the first student on the registration form however no account is made for subsequent students.

The ticket settings are
TimeLines
Start 2200-12-31 11:00 pm End 2200-12-31 11:00 pm Limit [empty]

Available tickets
Start 2020-01-01 12:00 am Finish 2100-12-31 11:00 pm Price $250 Qty [empty]

Forced Login? = NO
Auto Create users with registrations? = YES

Thanks


JohnB

October 28, 2020 at 12:16 am

I forgot to mention the ticket settings were set that way as the LD course is a “virtual” course ie online.


Tony

  • Support Staff

October 29, 2020 at 4:30 am

Hi John,

Event Espresso will only create a WP User for the primary registrant in a group and whilst we do have a snippet that changes that so that a user account is created for each user in the group the LearnDash add-on will only associate the course to the first registrant.

That means that even with a snippet to create a user account for each registrant only the primary registrant will have access to the course which I assume is the same problem you are running into now?


JohnB

October 29, 2020 at 1:58 pm

Thank you.

Is there any possible work around to create a user accounts for every registrant in a multiple purchase transaction?

Maybe a plugin, some coding??

(Maybe a suggestion for future upgrade to EE functionality.)


Tony

  • Support Staff

October 29, 2020 at 2:02 pm

We have a snippet that will create user accounts for all registrants, thats here:

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

You can add that to a custom functions plugin on the site and we have some documentation on creating one here:

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

However, as mentioned the LearnDash add-on is not going to assign a course to those additional users as it doesn’t know they exist.

The support post ‘WP USERs not created’ 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