- Posts: 26
How To / General
Children Registration - request
- dhusband
- Topic Author
- Offline
- Junior Member
-
Less
More
5 years 10 months ago #1
by dhusband
Children Registration - request was created by dhusband
Joomla 3.9.18
Moodle 3.8.2
The registration of children currently uses its own form. This does not match with the site registration which is handled by EasyProfile. The children can catch up with the registration on log in, however one main problem is name. The site has First name and Last name, but the children form requires a full name which does not get split out. Therefore registration gets First Name as a full name, with Last Name empty.
Could registration of children not extend registration. It would then display the registration form but add the parent parameter on submission?
The site also uses privacy consent, if extending registration, would it work that parent is accepting on behalf of the child? The only issue with this, I have registration for parents and another for managers, depending on site use. I do not really want managers to accept on behalf of staff, this works better as it does now and asks them to sign on first use.
If considering extending registration, having option as part of menu configuration as to whether the user has to agree site consent or not on behalf of user they are registering would be good.
I hope this all makes sense.
Thank you
David
Moodle 3.8.2
The registration of children currently uses its own form. This does not match with the site registration which is handled by EasyProfile. The children can catch up with the registration on log in, however one main problem is name. The site has First name and Last name, but the children form requires a full name which does not get split out. Therefore registration gets First Name as a full name, with Last Name empty.
Could registration of children not extend registration. It would then display the registration form but add the parent parameter on submission?
The site also uses privacy consent, if extending registration, would it work that parent is accepting on behalf of the child? The only issue with this, I have registration for parents and another for managers, depending on site use. I do not really want managers to accept on behalf of staff, this works better as it does now and asks them to sign on first use.
If considering extending registration, having option as part of menu configuration as to whether the user has to agree site consent or not on behalf of user they are registering would be good.
I hope this all makes sense.
Thank you
David
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
5 years 10 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Children Registration - request
This one is harder to understand for me 
> Could registration of children not extend registration. It would then display the registration form but add the parent parameter on submission?
Can you please explain more? I don't know what you mean.
As for the privacy consent: I guess you are using stock Joomla privacy consent plugin for this?
Looking at the GPDR I see that you are right: it would be nice to have the option to ask for consent on behalf of children on registration. I will take a look to see what's possible and get back to you.
> Could registration of children not extend registration. It would then display the registration form but add the parent parameter on submission?
Can you please explain more? I don't know what you mean.
As for the privacy consent: I guess you are using stock Joomla privacy consent plugin for this?
Looking at the GPDR I see that you are right: it would be nice to have the option to ask for consent on behalf of children on registration. I will take a look to see what's possible and get back to you.
Please Log in or Create an account to join the conversation.
- dhusband
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 26
5 years 10 months ago #3
by dhusband
Replied by dhusband on topic Children Registration - request
Privacy consent - Yes I am using the stock element for this.
Registration: An example of my standard registration is at dewidevelopment.co.uk/profile/registration
The form asks for a number of extra things like First Name, Surname, Date of Birth and e-mail registration. The e-mail registration is from AcyMail. The additional fields are from EasyProfile.
When you look at easyprofile, they have extended the registration form to add in their additional code. They have not rebuilt the login page but pulled it into their file use an include. (com_users/views/registration/tmpl/easyprofile.php)
Would it be possible to do something similar with Child Registration, to extend the standard registration but add in the logging of the parent User ID as a parameter on save? Would this cause the registration form to display the extra fields people have set up on their site for registration?
So we set up a menu to your Child Registration view, which would include the normal registration form fields. On successful completion it redirects to Child Registration Complete page, having saved the registration with Parent parameter and triggered save to Moodle.
If this is not possible, the key problem I would like to resolve is the name field. Child registration asks for Full Name, but stores that in what is displayed in my profile as the First Name. On first use of the site, the user is then told they have not completed their profile as the Last Name is empty. They see their full name is in the First Name.
I hope this makes more sense.
Registration: An example of my standard registration is at dewidevelopment.co.uk/profile/registration
The form asks for a number of extra things like First Name, Surname, Date of Birth and e-mail registration. The e-mail registration is from AcyMail. The additional fields are from EasyProfile.
When you look at easyprofile, they have extended the registration form to add in their additional code. They have not rebuilt the login page but pulled it into their file use an include. (com_users/views/registration/tmpl/easyprofile.php)
Would it be possible to do something similar with Child Registration, to extend the standard registration but add in the logging of the parent User ID as a parameter on save? Would this cause the registration form to display the extra fields people have set up on their site for registration?
So we set up a menu to your Child Registration view, which would include the normal registration form fields. On successful completion it redirects to Child Registration Complete page, having saved the registration with Parent parameter and triggered save to Moodle.
If this is not possible, the key problem I would like to resolve is the name field. Child registration asks for Full Name, but stores that in what is displayed in my profile as the First Name. On first use of the site, the user is then told they have not completed their profile as the Last Name is empty. They see their full name is in the First Name.
I hope this makes more sense.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
5 years 10 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Children Registration - request
Thanks for the explanation, I understand you better now. I will take a look at Easyprofile approach, to see if it is something we can use, and let you know what I find.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
5 years 10 months ago #5
by Antonio Durán
Replied by Antonio Durán on topic Children Registration - request
I thought a bit more about this, and we cannot really extend Joomla registration as Easyprofile does, because we are registering new users while logged in as another. This requires custom form and handling code.
So, I tried to solve your main problem, with a new helper plugin, that will split name into first and lastname fields if lastname is empty. This will happen only when registering children. It seems to work fine although it has limitations:
- If user enters only one word in name field
- If user enters more than 2 words, all but first one will end in lastname
I have sent it to your email. Please test and let me know how it goes.
So, I tried to solve your main problem, with a new helper plugin, that will split name into first and lastname fields if lastname is empty. This will happen only when registering children. It seems to work fine although it has limitations:
- If user enters only one word in name field
- If user enters more than 2 words, all but first one will end in lastname
I have sent it to your email. Please test and let me know how it goes.
Please Log in or Create an account to join the conversation.
- dhusband
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 26
5 years 10 months ago #6
by dhusband
Replied by dhusband on topic Children Registration - request
Morning, sorry I thought I had replied
I have tested and found it works as describe.
Thank you for looking at this.
I have tested and found it works as describe.
Thank you for looking at this.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
5 years 10 months ago #7
by Antonio Durán
Replied by Antonio Durán on topic Children Registration - request
Good, thanks for the info.
Please get a Joomdle subscription if you plan to use the plugin, as it is only for active subscribers.
Please get a Joomdle subscription if you plan to use the plugin, as it is only for active subscribers.
Please Log in or Create an account to join the conversation.