No Code Attached Yet J4 Issue Information Required
avatar Open2logic
Open2logic
18 Jul 2019

For websites like schools, gyms, classified ads, communities,

Now the registrarion form add in global user group.
default

This is better, choose the default user group in the menu buttom.
default-user

avatar Open2logic Open2logic - open - 18 Jul 2019
avatar joomla-cms-bot joomla-cms-bot - change - 18 Jul 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Jul 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 18 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Jul 2019
Status New Discussion
avatar HLeithner
HLeithner - comment - 18 Jul 2019

I'm not sure if the menu item is the right place to do this, because this features would have security implications. So it should be thought thru carefully.

avatar micker
micker - comment - 18 Jul 2019
avatar Open2logic
Open2logic - comment - 18 Jul 2019

It seems that the menu item is the most logical, because the registration component is associated.

avatar mbabker
mbabker - comment - 18 Jul 2019

IMO this suggestion should not be implemented. What group a user is registered into by default should not change because of the menu item associated with the page.

avatar brianteeman
brianteeman - comment - 3 Aug 2019

I can see the logic for having something like a usergroup selector in the reg form but not for basing it on a menu item. As @micker pointed out something like this already exists as free plugin. I dont see the need for this in the core therefore.

avatar Open2logic Open2logic - change - 3 Aug 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-08-03 18:45:16
Closed_By Open2logic
avatar Open2logic Open2logic - close - 3 Aug 2019
avatar Open2logic Open2logic - change - 9 Aug 2019
Status Closed New
Closed_Date 2019-08-03 18:45:16
Closed_By Open2logic
avatar Open2logic Open2logic - reopen - 9 Aug 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Aug 2019
Status New Discussion
avatar Open2logic
Open2logic - comment - 9 Aug 2019

The extension that is cited has not been updated since 2015 and is only for Joomla 3, I do not believe that this functionality exists as an extension for Joomla 4.
There are two functionalities where Joomla is the perfect option for a website, the Joomla multi-language management is incredible and the Joomla ACL is spectacular, any improvement in these two fields, however small they may be, should be implemented, so as not to make past mistakes and lose Joomla's position as the best cms for multi-language websites and websites with user roles.
This functionality does not exist as an extension for Joomla 4, nor will it exist, it should be implemented.

avatar brianteeman
brianteeman - comment - 9 Aug 2019

As joomla 4 is not even at a beta its very premature to say that an extension will not be updated to support it.

avatar Open2logic
Open2logic - comment - 28 Aug 2019

I have spoken with the developer of the extension indicated (selector user group), he will not develop it for Joomla 4

avatar brianteeman
brianteeman - comment - 13 Dec 2019

Having just had to do something like this for a university I can tell you that the menu approach does have some serious security implications as suggested by @HLeithner The only way I was able to achieve this was to use completely different forms for registration

avatar Open2logic
Open2logic - comment - 13 Dec 2019

Noooo, ohhh
I was finishing a plugin for this functionality and I was going to add it here and see your opinions

Now my work in the trash.

But it would be a great improvement for Joomla 4 and for the type of teaching websites, gym websites, etc. and I am not a security expert to provide a solution according to your comment, if you could tell me what I should consider.

I will also add my plugin here next week.

Could it be restricted and that there was no access to the special groups?
It would be a solution

avatar Quy Quy - change - 30 Dec 2019
Labels Added: Information Required
avatar Quy Quy - labeled - 30 Dec 2019
avatar Quy
Quy - comment - 4 Jan 2020

OK to close?

avatar Open2logic
Open2logic - comment - 5 Jan 2020

Wait Quy, not in such a hurry to close improvements for Joomla 4, Brian has also experienced this problem in Joomla when working on a university website.
Obviously it is a necessity for many websites and it would be a great improvement for Joomla. Let me upload my plugin and you think

avatar brianteeman
brianteeman - comment - 4 Feb 2020

@Open2logic still waiting

avatar Open2logic
Open2logic - comment - 4 Feb 2020

When you want a registration form in Joomla you can only call the component.
I was not sure whether to finish the plugin or make a module to show the registry component but with the option of group assignment. In this way, we not only gained the functionality of the group assignment but we could not have the Joomla registration form in a module and we can show next to an article. After testing I think the plugin solution was more elegant, but I am entertained with the module.
I finish the plugin on Saturday and I share it. Thanks for the patience and trust.

avatar Open2logic
Open2logic - comment - 24 Feb 2020

I wanted to comment on a problem that I see in the future.
There are fewer and fewer programmers creating extensions for Joomla.
I remember when I gave Joomla courses that I talked to the students about the number of extensions they could get.
But over time we knew that the important thing was not the quantity but the quality.
Although there were many extensions to create a forum, we all recommended the same, although there were many extensions for forms we all recommended the same, etc.
But one of the things that makes Joomla great is that there are advanced features that come with the kernel and you don't need external extensions. This gives peace of mind and confidence of continuity in the support.
Now is the time to consider whether Joomla includes new functionalities because extensions that cover that functionality are not going to come out.

I've been looking at Wordpress ACL extensions and they are a disaster and a cheap copy of the Joomla user component. They copy badly but add other functions that are interesting for the developer.

This extension is quite interesting
https://wordpress.org/plugins/private-content/

And I have thought about this idea based on the quality of extensions and the lack of extensions in the future.
Joomla should copy the Apple model, Apps Store and recommend official Joomla extensions.
They would not be extensions included as core functionalities, but neither extensions made without supervision or quality review.
It would be an intermediate point where programmers would feel Joomla's support in their extensions and could rely more on creating extensions as a business.
I do not believe that I have enough security to create a functionality included in the core, but to offer it as a basic extension for Joomla.
Finally I created a registration module and a plugin, this version is for Joomla 3, in another comment I add instructions and captures.

usergroupselector.zip

mod_wsregister.zip

avatar Open2logic
Open2logic - comment - 24 Feb 2020

The problem with the current User Group extension Register extension, is that it shows a selector where the user sees all the groups created in a drop-down.

I have created a modification that allows you to assign a user group to the registration module without the user knowing what group it is.

Now a gym website could create registration for classes in groups of Yoga, Karate, etc. a website of a university could create records of Classroom A, Classroom B.

Simply a module is shown on the information page of each course, class, classroom, etc. The module already defines in which group they are registering

avatar brianteeman
brianteeman - comment - 26 Feb 2020

I just took a look at the files you submitted. I think you really need to take another look at them. There are a lot of files completely unrelated included and there are some very clear and obvious form errors

avatar Open2logic
Open2logic - comment - 1 Jun 2021

I hope and wish that this plugin is better programmed and meets this requirement, if it doesn't work, I don't think it knows how to do it better.

plg_user_open2logicregisteruser.zip

Is for Joomla 3

A menu item associated with the registry component is created and it is indicated in the menu button options in which user group the registry will be generated.
In this way we can have several menu buttons with registration for teachers, students, etc ...

avatar brianteeman
brianteeman - comment - 28 Aug 2022

I understand what you are looking to do here. Have a registration form for teachers and a registration form for students. The problem however is that there is no way to stop a student registering as a teacher etc. The only way you can prevent that (which is what I did for a university) is to automatically set the correct group (teacher/student) based on other information. In my case it was by validating a staff id field.

This is not something that the core can or should do in my opinion and I will leave it to others to decide if this should be closed or not.

avatar joomdonation joomdonation - change - 13 Nov 2022
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2022-11-13 14:42:59
Closed_By joomdonation
Labels Added: No Code Attached Yet
Removed: ?
avatar joomdonation joomdonation - close - 13 Nov 2022
avatar joomdonation
joomdonation - comment - 13 Nov 2022

Base on feedbacks on this issue, this is something we won't implement in core. So I'm closing this issue.

Add a Comment

Login with GitHub to post a comment