Posted: September 25, 2015 at 1:25 am
|
Hi! One of your blogs says that you have now integration with learnDash. In the instructions you say that all you need to do is to download add-on from Learndash site and install it. But in fact this is not true . Since no WordPress user is created in EE when purchasing the ticket no enrolment to the Learndash course is possible. It looks like that your User Add-on is also necessary but you do not mention it. And after you moved user creation to the separate add-on I am not sure if the integration will work at all. Could you pleas test it and confirm that if I buy your user addon https://eventespresso.com/product/eea-wp-user-integration/ I will get the integration as described. It would also be a good idea to update the info about the integration so that not to mislead the customers. Thank you. |
Hi there, I’m sorry for the confusion, the intention was not to mislead our customers but provide a wider range of options for you to user. The EE4 User Intergration Add-on is not required to use the LearnDash integration. However it is expected that to use the integration your registrants will either already have a user account on your site (and be logged into that account when registering onto the event) or a user account created when they register so the course can be assigned to that account. Event Espresso core has never automatically created user accounts itself so we haven’t moved the account creation into an add-on, however the WP User Integration add-on does offer that functionality. So you have the choice of either requiring your users to first create an account on your site before registering onto the events (for this you can use any membership plugin you prefer), or if you prefer for the account to be created as they register onto the our EE4 User Intergration Add-on can be used to do that. I have tested this to ensure that registering onto an event and using the WP User Add-on to automatically create a user account, does automatically assign the LearnDash course to the user once that user’s registration has been Approved. That can be either by paying through one of the online gateways or if the ticket is free as soon as they finalize the registration. |
|
|
Hi, But when a logged in user registers for the event he is still offered to enter his name and email. And even when I enter the same e-mail as of the registered user I just have a new registration that is not linked to the user account. So how I can register for the event as a logged in user rather than just a new registration? |
|
Hi, |
That’s different from the LearnDash course enrolement and you will need the EE4 User Integration add-on for that functionality. It all depends on how you want the integration to work. LearnDash built their integration add-on before our EE4 Users Integration add-on had been released with the intention that users would manage the sites users themselves. When they released the add-on it was expected that if the logged in user registered onto an event, that user account should be enroled onto the course assigned to the ticket, that is currently how the LearnDash Add-on works. If you register onto an event and your registration is approved (be it paid or free) the LearnDash integration pulls the current user_id and assigns the course to that user. If you want the registration to be assigned to the User account and/or you want to automatically fill the registration form with the logged in users details, you will need the EE4 Users integration add-on. This provides a ‘My Events’ section within the user profile which shows the event registrations made with that user account, that looks something like this – http://take.ms/92XjR With the LearnDash integration the user will also find the LearnDash course enrollment within their user profile (regardless of using the User integration add-on) – http://take.ms/e3AH9 |
|
|
Hello, I think we are getting to the point. Your say: “If you register onto an event and your registration is approved (be it paid or free) the LearnDash integration pulls the current user_id and assigns the course to that user”. And as I understand this should work without add-on. My issue is that it does not. If this should work how can we check? |
Firstly I do apologize, there’s a couple of features I misunderstood within the LeashDash add-on. The course’s were being assigned to the user accounts on my site due to the course being setup as ‘open’ and not due to the users registering onto the event. So I setup a new site to test this and found that the LearnDash Add-on does appear to be broken as it does not seem to assign a course to a users account. On looking at their code I also found that the add-on will actually attempt to create a new user from the registrations details provided if the user doesn’t exists (based on the email address) it will create a new user. However as mentioned it appears the add-on currently needs to be updated. We (Event Espresso) did not write the LearnDash Add-on so we can’t provide support for this kind of breakage. However on investigating this issue I found the cause and added a quick fix which seems to be working correctly on my test site. This isn’t a permanent fix and LearnDash will need to update their add-on to work with the latest version of EE but you are welcome to try it if you prefer: Download that add-on and use it in place of the current LearnDash EE integration add-on. (If you currently have it installed on the site you’ll need to remove it before installing the above) Does it then work as you initially expected? |
|
|
Hello, It now works for me as you described earlier. So now to your user add-on. There are two questions just to make sure. a) If a not logged in user registers for the event, he will I would appreciate if you test it and confirm before I buy a plugin. Second question. You mentioned that learnDash plugin tries to create a user as well. Can there be a problem if two plugins try to create user at the same time? |
Hi there, I tested the above and did find a problem when both EE4 Users and LearnDash were used. Basically LearnDash would create the user first which would prevent the EE4 User Integration Add-on from creating a user and assigning the registration to that user, the fix was simply to run the LearnDash user creation check later than EE4 Users did. This then allows for all of the points from above:
To work as expected. Here is a copy of the LearnDash Add-on with the additional fix – http://take.ms/3F9su I have also emailed LearnDash with details of the changes made and requested they include these changes within their add-on, if they find further issue with the LearnDash add-on they will need to work through those. |
|
|
Hi, I have tested EE user plugin with LD-EE integration one. In now works OK for me but there is one possible issue and one recommendation. Issue. If you set Auto Create users with registrations to No in the EE User plugin, the user is still created since LD plugin creates it. I am not sure there is any technical way you can block it from your plugin but it might be an issue for some customers. Since I plan to require user login I am OK with it. Creating users upon registration without any check would lead sooner or later to a SPAM attack. The second thing is that when logged in user registers for the event it gets his names and e-mail shown in form text area which can be edited. I do not think that anyone ever might want to change his user profile upon registration to some event. They should go in Profile area. It would be a good idea to show name and e-mail as just text without form areas. It would look much nicer. |
We will not add any add-on specific code to Event Espresso core, such as providing the option for Event Espresso to disable if the LearnDash add-on creates users on registration or not. This would need to be from within the LearnDash add-on so I would recommend issuing a ticket with them for this. You can enable reCaptcha within Event Espresso which will help reduce spam registrations as the hook LearnDash is using will not be fired if the reCaptcha is incorrect.
Can you provide further details on this please? Possibly include a screenshot to show where you are referring to. |
|
|
Hi What I mean is this screen http://cl.ly/image/2K2H3u0t103X If I register as logged in user I don’t need to edit my profile from registration form. So instead of editable form fields It would be better to show info (name and e-mail) in plain text and leave the form fields for phone and other customs fields only. |
Thank you, I understand what your are referring to now. Currently with EE4 Members there is a one-to-one relationship between your Profile data and your EE ‘contact’ data. Inputting different details within the registration updates your Profile with that data and we provide the most compatible output to suit the most use cases (not only for the current functionality but future functionality that we have planned) So having said that I will create a ticket to open up this feature for discussion with the possibility of it being included within a future version. This would basically be to ‘lock’ the registration fields to only allow you to use the details saved within your profile. |
|
|
Thanks. I believe it would be a good feature. |
The support post ‘Integration 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.