- Posts: 56
Feature Requests
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
[Closed] Enrolment Keys Inside of Joomdle
- Brian Cunningham
- Topic Author
- Offline
- Senior Member
-
Less
More
15 years 8 months ago - 15 years 7 months ago #1
by Brian Cunningham
[Closed] Enrolment Keys Inside of Joomdle was created by Brian Cunningham
Sorry to hit you with all this at once but...
Because we need to let some users into courses for free, we are setting "internal enrollment" as the default option for all courses. This way we can give some users enrollment keys and let others register via Virtumart from the shop. This seems to be workable except that Enrollment keys inside of Joomdle don't work. They do while working in Moodle directly.
When a user selects "enter enrollment" key from inside the Joomdle wrapper, the user is enrolled into the course with out having entered the key. Enrollment keys work as expected outside of Joomdle.
Because we need to let some users into courses for free, we are setting "internal enrollment" as the default option for all courses. This way we can give some users enrollment keys and let others register via Virtumart from the shop. This seems to be workable except that Enrollment keys inside of Joomdle don't work. They do while working in Moodle directly.
When a user selects "enter enrollment" key from inside the Joomdle wrapper, the user is enrolled into the course with out having entered the key. Enrollment keys work as expected outside of Joomdle.
Last edit: 15 years 7 months ago by Antonio Durán.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
15 years 8 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Enrolment Keys Inside of Joomdle
Hi there.
Not sure if I understand what you did here.
That seems a "joomdle course detail page" where you changed button caption to say "enter enrolment key", instead of "Enrol me".
If you just did that, it is normal what you are experiencing: this button enrols a user. That is it. It does not check for course settings, keys or anything.
Not sure if I understand what you did here.
That seems a "joomdle course detail page" where you changed button caption to say "enter enrolment key", instead of "Enrol me".
If you just did that, it is normal what you are experiencing: this button enrols a user. That is it. It does not check for course settings, keys or anything.
Please Log in or Create an account to join the conversation.
- Brian Cunningham
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 56
15 years 8 months ago - 15 years 8 months ago #3
by Brian Cunningham
So normal Moodle Internal Enrollment functionality via enrollments keys is not available in Joomdle?
Joomdle looks at a courses default enrollment setting otherwise it wouldn't know when to use the Virtumart\Tienda and paypal options. Why ignore enrollment keys?
Can you suggest a way we can give free access to some users with out giving free access to all users?
Managing manual enrollments would be very difficult.
Replied by Brian Cunningham on topic Re: Enrolment Keys Inside of Joomdle
Not sure if I understand what you did here.
- We need to let some users into courses for free. As discussed we are not able to just offer Virtumart 100% discount coupons because the auto enrolment fuction depends on a PP IPN notification. I would have prefered this to work to make course registration consistent. Does Tienda enrollment depend on PP IPN too?
- In Moodle Course settings, we are setting "Internal enrollment" as the default option, not Joomdle.
- This still allows users to register for courses via VM just the way we need
- We then set the Moodle Course Setting for enrollment keys by adding a key
So normal Moodle Internal Enrollment functionality via enrollments keys is not available in Joomdle?
Joomdle looks at a courses default enrollment setting otherwise it wouldn't know when to use the Virtumart\Tienda and paypal options. Why ignore enrollment keys?
Can you suggest a way we can give free access to some users with out giving free access to all users?
Managing manual enrollments would be very difficult.
Last edit: 15 years 8 months ago by Brian Cunningham.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
15 years 8 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: Enrolment Keys Inside of Joomdle
Well, in fact it does not look at "course default enrolment" to determine what to do.
It just:
- Show "enrol me" button if the course is free
- Show Buy course button, if the course has a cost and is on sell on VM/Tienda
I agree with you in that it should be desired to handle the enrolment keys situation (never presented to us before, nor do we use it), so I will move this to Feature Requests forum, so we can add it for a future release.
Thanks,
Antonio
It just:
- Show "enrol me" button if the course is free
- Show Buy course button, if the course has a cost and is on sell on VM/Tienda
I agree with you in that it should be desired to handle the enrolment keys situation (never presented to us before, nor do we use it), so I will move this to Feature Requests forum, so we can add it for a future release.
Thanks,
Antonio
Please Log in or Create an account to join the conversation.
- Brian Cunningham
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 56
15 years 8 months ago #5
by Brian Cunningham
Replied by Brian Cunningham on topic Re: Enrolment Keys Inside of Joomdle
Does Tienda enrollment depend on PP IPN too?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
15 years 8 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Re: Enrolment Keys Inside of Joomdle
No. Tienda depends on the "complete order actions" flag.
So, in theory, you can use it with any payment method.
Only paypal and manual confirmation of purchases have been tested.
I was thinking about the enrol key issue, and what you were trying is just to get to moodle page, where course shouold ask for enrol key. Is that right?
If that is it, then I think it can be done easily, just replacing the link, as yo replaced the caption.
You should change the link to point directly to the course, instead of using the enrol task.
Change in components/com_joomdle/views/detail/tmpl/default.php:
index.php?option=com_joomdle&task=enrol&course_id=$course_id
By:
index.php?option=com_joomdle&view=wrapper&moodle_page_type=course&id=$course_id&Itemid=$itemid
I think that should do what you want.
So, in theory, you can use it with any payment method.
Only paypal and manual confirmation of purchases have been tested.
I was thinking about the enrol key issue, and what you were trying is just to get to moodle page, where course shouold ask for enrol key. Is that right?
If that is it, then I think it can be done easily, just replacing the link, as yo replaced the caption.
You should change the link to point directly to the course, instead of using the enrol task.
Change in components/com_joomdle/views/detail/tmpl/default.php:
index.php?option=com_joomdle&task=enrol&course_id=$course_id
By:
index.php?option=com_joomdle&view=wrapper&moodle_page_type=course&id=$course_id&Itemid=$itemid
I think that should do what you want.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
15 years 7 months ago #7
by Antonio Durán
Replied by Antonio Durán on topic Re: Enrolment Keys Inside of Joomdle
Added "Go to course" link for next release.
Please Log in or Create an account to join the conversation.
- Bob Hollis
- Offline
- New Member
-
Less
More
- Posts: 12
14 years 1 month ago - 14 years 1 month ago #8
by Bob Hollis
Replied by Bob Hollis on topic Re: Enrolment Keys Inside of Joomdle
I am currently facing the same challenge. Has a solution to this been included in joomdle .81?
When I use the "com_joomdle_linkto = moodle course" option in the joomdle course module and click on a course as a registered site user it generates a message saying to pay to enroll.
If I use the "course description" option it allows anybody who is registered on the site to enter without an enrollment code.
I need an option that allows some people to pay to get an enrollment code, and others to enter an enrollment code we provide to them at no charge.
Any suggestions?
Thanks!
When I use the "com_joomdle_linkto = moodle course" option in the joomdle course module and click on a course as a registered site user it generates a message saying to pay to enroll.
If I use the "course description" option it allows anybody who is registered on the site to enter without an enrollment code.
I need an option that allows some people to pay to get an enrollment code, and others to enter an enrollment code we provide to them at no charge.
Any suggestions?
Thanks!
Last edit: 14 years 1 month ago by Bob Hollis. Reason: Added information
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
14 years 1 month ago #9
by Antonio Durán
Replied by Antonio Durán on topic Re: Enrolment Keys Inside of Joomdle
I don't think what you want is possible: you need to show ONE page to the user: either the introduce code, or the buy course one.
Please Log in or Create an account to join the conversation.
- Bob Hollis
- Offline
- New Member
-
Less
More
- Posts: 12
14 years 1 month ago #10
by Bob Hollis
Replied by Bob Hollis on topic Re: Enrolment Keys Inside of Joomdle
I am fine with showing just the enroll button, but it does not ask for an enrollment code. So any registered site user can currently click the enroll button to join any course w/o a code. I want them to have to enter an enrollment code.
Please Log in or Create an account to join the conversation.