Support

Home Forums Event Espresso Premium Create a WP User and Integrate With Learndash

Create a WP User and Integrate With Learndash

Posted: April 8, 2020 at 4:36 am


Phil Evans

April 8, 2020 at 4:36 am

Hi,

We’re having to change all our courses which are managed using EE, to virtual courses for which we will use Learndash for providing access to course materials etc. and Zoom for the “live” elements.

Is there a way we can create user accounts via EE when a learner/student registers for one of our courses? Can we then provide access to Learndash for those users via EE?

With thanks

Phil


Tony

  • Support Staff

April 8, 2020 at 6:20 am

Hi Phil,

Is there a way we can create user accounts via EE when a learner/student registers for one of our courses?

The WP user integration add-on allows you to automatically create users from registration data entered into EE.

EE will create a user account for the ‘Primary Registrant’ when they submit their attendee information on checkout.

Can we then provide access to Learndash for those users via EE?

Learndash have an integration for Event Espresso available here:

https://www.learndash.com/add-on/event-espresso/

We didn’t write the above add-on so don’t provide support for it, but I believe it does what you are requesting in that it assigns registrations on specific tickets/events to a course within LearnDash.


Phil Evans

April 8, 2020 at 7:43 am

Thanks Tony.
I’ll check out those plugins/addons.
Regards
Phil


Tony

  • Support Staff

April 8, 2020 at 8:04 am

You’re most welcome.

If you have any further questions just let us know, as mentioned we didn’t write the LearnDash integration and therefore have limited experience with it but I’ll answer if I can.


Phil Evans

April 9, 2020 at 1:57 am

Hi Tony,

Quick question, all of our event registrations have to be manually approved by a member of staff. Can we set the user account to be active only after event registration approval?

With thanks

Regards

Phil


Tony

  • Support Staff

April 9, 2020 at 7:13 am

Currently not, the code used to generate the user runs when the attendee information step is processed which is way before the above happens.

It would be possible to remove that code and add your own custom code create a wp user account only when registrations are approved but it’s not something EE has available currently.


Phil Evans

April 9, 2020 at 7:50 am

Thanks Tony.

Sadly we don’t have the budget on this project for creating custom code.

One final thought, does EE integrate with WP User Frontend Pro? I’m thinking maybe we could get this to work that way.

Regards

Phil


Tony

  • Support Staff

April 9, 2020 at 8:05 am

One final thought, does EE integrate with WP User Frontend Pro?

In short, no, EE does not integrate with any other specific plugins.

However, that doesn’t mean EE can’t work with other plugins to do what you want to do. We designed EE to do what it does without relying on other plugin functionality but that doesn’t stop you from using them.

I’ve not used the above plugin, so may I ask how you are looking for the above to work?


Phil Evans

April 9, 2020 at 8:21 am

This reply has been marked as private.


Phil Evans

April 9, 2020 at 8:21 am

This reply has been marked as private.


Tony

  • Support Staff

April 9, 2020 at 8:34 am

If you want EE to create the user account you’ll need custom development either way for that set up.

May I ask why you require WP user account approval?

Users can sign up to EE events and generate a wp user account but still not have access to the LearnDash course until they are Approved.

WP user account approval is not a WP Core function so you’ll need a plugin either way, are you using one to approve/deny accounts currently?

For example: https://wordpress.org/plugins/wp-approve-user/

It may be possible to use something like the above if it restricts user accounts created with wp_create_user() which is how EE does it, if not it may be possible to hook into when EE it creates the user and set whatever a plugin like the above is looking for to set the user as ‘unapproved’.

(I’m guessing here as again, I’ve not done used this set up myself)


Phil Evans

April 9, 2020 at 8:43 am

Thanks Tony. I think I’ve been overthinking this.

Basically we need to restrict access to certain content within WordPress. However, I think we can put all the content into learndash and protect it all that way and connect Learndash with EE. That way the flow would be simplified ….. I think ๐Ÿ˜€


Tony

  • Support Staff

April 9, 2020 at 11:58 am

Yeah, that’s the way I would likely do it.

The user account doesn’t mean anything if it doesn’t have access to anything so you would have been jumping through additional hoops with very little benefit IMO.

You can restrict the content event with a user account, just use capabilities on the account ๐Ÿ™‚

The support post ‘Create a WP User and Integrate With Learndash’ 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