- Posts: 8
how? Buy courses on behalf of children
- Dan
- Topic Author
- Offline
- New Member
-
Less
More
14 years 11 months ago #1
by Dan
how? Buy courses on behalf of children was created by Dan
Hello everyone,
first off- great work! this is a great piece of software.
I am currently using moodle 2.0, joomla 1.5, joomdle .52 and tienda .72
as of now, I am only able to use the functionality of automatically registering a user in moodle via joomdle after they register on joomla, but they are not enrolled into the course that they purchase through tienda.
I want to let a user (the parent) purchase one (or more at a discount via tienda) course, then give them the ability to create accounts for and enroll children into these classes. is this realistic? from the wiki page, it looks promising.
Also, what modules should be enabled for purchasing classes via joomla? right now it seems as if the only way I can have courses appear on the joomla page is by enabling the tienda featured product module. can anyone give me some insight as to what I may be doing wrong?
Thanks!
first off- great work! this is a great piece of software.
I am currently using moodle 2.0, joomla 1.5, joomdle .52 and tienda .72
as of now, I am only able to use the functionality of automatically registering a user in moodle via joomdle after they register on joomla, but they are not enrolled into the course that they purchase through tienda.
I want to let a user (the parent) purchase one (or more at a discount via tienda) course, then give them the ability to create accounts for and enroll children into these classes. is this realistic? from the wiki page, it looks promising.
Also, what modules should be enabled for purchasing classes via joomla? right now it seems as if the only way I can have courses appear on the joomla page is by enabling the tienda featured product module. can anyone give me some insight as to what I may be doing wrong?
Thanks!
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
14 years 11 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: how? Buy courses on behalf of children
Hi.
First let me say I found a bug today in enrolment code when a enrolment duration is not specified.
So, check if the user is being enroled, but with 0 duration.
What you want is possible.
You need to:
- Use the Register children view in Joomdle, to let parents create accounts for their children
- Set Joomdle configuration to buy courses for children
- Use the joomdle assign courses view, to let parents assign purchased courses to their children
I don't know what you mean in the last question: when you publish a course in Tienda using Joomdle backend, it is created as a product. You can put it in any category you want (without taking it from the main one, configured in joomdle), and it will appear there.
First let me say I found a bug today in enrolment code when a enrolment duration is not specified.
So, check if the user is being enroled, but with 0 duration.
What you want is possible.
You need to:
- Use the Register children view in Joomdle, to let parents create accounts for their children
- Set Joomdle configuration to buy courses for children
- Use the joomdle assign courses view, to let parents assign purchased courses to their children
I don't know what you mean in the last question: when you publish a course in Tienda using Joomdle backend, it is created as a product. You can put it in any category you want (without taking it from the main one, configured in joomdle), and it will appear there.
Please Log in or Create an account to join the conversation.
- Dan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
14 years 11 months ago #3
by Dan
Replied by Dan on topic Re: how? Buy courses on behalf of children
thanks for the reply antonio!
how would I set up the register children view in joomdle? is this something that is set up in configuration? I cant seem to find this anywhere.
how would I set up the register children view in joomdle? is this something that is set up in configuration? I cant seem to find this anywhere.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
14 years 11 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: how? Buy courses on behalf of children
Just add a menu item of that type (Joomdle - Register) to the menu you want.
Please Log in or Create an account to join the conversation.
- Dan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
14 years 11 months ago #5
by Dan
Replied by Dan on topic Re: how? Buy courses on behalf of children
this is a huge step forward! thank you so much!
when I try to create a new user as a child, I get this message
XML-RPC Error (0): Coding error detected, it must be fixed by a programmer: Invalid call to role_assign(), userid can not be empty
my guess is that I need to create a parent role, or do you think that the joomdle connector is missing permissions?
when I try to create a new user as a child, I get this message
XML-RPC Error (0): Coding error detected, it must be fixed by a programmer: Invalid call to role_assign(), userid can not be empty
my guess is that I need to create a parent role, or do you think that the joomdle connector is missing permissions?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
14 years 11 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Re: how? Buy courses on behalf of children
I don't know why you get this, but yes, you need to configure a Parent role in Moodle, and set it in Joomdle config in Moodle.
If you did not do that, try if that fixes your error.
If you did not do that, try if that fixes your error.
Please Log in or Create an account to join the conversation.
- Dan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
14 years 11 months ago #7
by Dan
Replied by Dan on topic Re: how? Buy courses on behalf of children
i gave joomdle connector the role of site administrator, to be sure there was no problem on the moodle end.
when I get this error message, the account is still created in joomla and moodle. on moodle, the name and email are not visible though. would you reccomend I try a fresh install of everything?
on another note, if someone purchases 10 of the same course in tienda, does this give them 10 courses to assign to children accounts? I have not been able to get this part running as of yet.
Could this have anything to do with configuring profile types in joomdle on joomla? would I need jomsocial for this?
when I get this error message, the account is still created in joomla and moodle. on moodle, the name and email are not visible though. would you reccomend I try a fresh install of everything?
on another note, if someone purchases 10 of the same course in tienda, does this give them 10 courses to assign to children accounts? I have not been able to get this part running as of yet.
Could this have anything to do with configuring profile types in joomdle on joomla? would I need jomsocial for this?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
14 years 11 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Re: how? Buy courses on behalf of children
But, did you set up parent config in Moodle and Joomdle?
I don't recommend re-installing if everything else is working.
If you buy 10 copies of the same course, yoy hace 10 to assign, yes.
No need for Jomsocial or profile types here.
I don't recommend re-installing if everything else is working.
If you buy 10 copies of the same course, yoy hace 10 to assign, yes.
No need for Jomsocial or profile types here.
Please Log in or Create an account to join the conversation.
- Dan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
14 years 11 months ago #9
by Dan
Replied by Dan on topic Re: how? Buy courses on behalf of children
I am not sure exactly what this means. I could configure the role of parent and assign it to joomdle, but what permissions should I be giving this parent role? can I add these permisions to the "web services" role that I created rather than creating a new role? by giving joomdle site administration permision, I had hoped that by giving it every permision, joomdle could do anything. when you refer to joomdle config, do you mean asigning a role to the "joomdle connector" user, or is there something else?
I want to thank you for all the help you have provided me with so far, its great to be able to discuss things with a developer.
I want to thank you for all the help you have provided me with so far, its great to be able to discuss things with a developer.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
14 years 11 months ago #10
by Antonio Durán
Replied by Antonio Durán on topic Re: how? Buy courses on behalf of children
Hi.
Configuring the parent role in Moodle is explained here:
docs.moodle.org/20/en/Parent_role
It has nothing to do with the rest of joomdle config, such as the joomdle_connector user.
Configuring the parent role in Moodle is explained here:
docs.moodle.org/20/en/Parent_role
It has nothing to do with the rest of joomdle config, such as the joomdle_connector user.
Please Log in or Create an account to join the conversation.