Closed vishalsood77 closed 7 years ago
Tell me about your course and the shortcode you are using to open it. What are the enrolment providers that you have already set up for the course and how are they configured. Are you enroling the user into the course using a course, group or cohort enrolment type. Can you confirm that you are correctly using the idnumber fields and show the values you have in those.
shortcode : [wp2moodle course="eng_c_1"]launch the course[/wp2moodle] enrolment provider - you mean enrolment method for course- I haven't set that value ? Do i need to set this value. Enrolling the user with course type. I am using the idnumber for course.
Looks right so far. Your course should have its Course ID number set to eng_c_1
, and have manual
enrolment enabled as its enrolment method. If that's not working then try creating a group in the course (course admin > users > groups, then 'create group' button. Set its Group ID number to some value, then modify your shortcode to be [wp2moodle group='yourcode'] so that it enrols the user into that group instead. If that works then course enrolments might have a bug I haven't found yet. By the way, what version of Moodle are you using?
Thank you for response, shortcode with Course ID number is not working, but group is working. I am using Moodle 3.1.1+ (Build: 20160804) and WordPress 4.5.3.
Ok, I've had one other report including moodle 3.1 so I guess something in the course enrolment code has become problematic - I'll try to look into it.
I'm not seeing the same problem under a brand new installation of moodle 3.1.1. are you not being enrolled at all into the course, or is the enrolment being done without launching the course? Is the server and moodle on the same site, or are they on different servers? Have you tried setting the Link Timeout to a higher value (e.g. 60) and ensured that the "Auto open course" setting is set to "yes".
Not able to enrolled at all into the course. They are on sub domain and are on the same server. Yes, I tried but no success.
It is displaying the message 'You can not enrol yourself in this course.' when redirect to moodle course page using short code
You can only see this message when you are on the /enrol/index.php?id=(course id) screen. You only see this when you are redirected away from the course because of an enrolment problem, or when the course doesn't know how to enrol you.
Can you show me (screenshots) these screens:
Sorry for late reply ! Site Policies are default values. Images link : Images
Any update ?
thanks, Vishal
Sorry it's be a go-live week on another project - haven't had the time to work the problem yet
Hi, Have you got a chance to see the issue ?
Thanks, Vishal
Sir, Any update ?
Was unable to reproduce
First of all thank you for such a easy and nice plugin for wp-> moodle integration.
I have done all the steps and integrate the plugin with wp but I am facing one issue. Plugin able to registered a user to moodle but not able to enrol the user to the course. Being new to wp and php, I am not able to identify the problem. Could you help me to solve this problem.
Thanks, Vishal