User tests: Successful: Unsuccessful:
This new plugin allow registration of a user only with an email address. If the plugin is enabled the username field is not available in forms. As default also the name field isn’t available but this can be configured.
Problems can occur when a template overwrite has changed one of the following views:
Same is possible for the login module.
A small problem can be if someone has a direct link to the „Username Reminder Request“ as we have in our test data. This doesn’t makes sense in this configuration.
Two new language files with 8 new language tags.
All core changes are only additions and full B/C, even if the plugin isn’t accepted these changes allow more flexibility for JForm.
Status | New | ⇒ | Pending |
Labels |
Added:
?
?
?
|
Labels |
Added:
?
|
Milestone |
Added: |
Category | ⇒ | Authentication Language & Strings Plugins |
Labels |
Milestone |
Removed: |
A very good idea... with a not so good name!
I find "simplify" to be a too broad concept/name: why not "emailonly"?
Milestone |
Added: |
I made the suggested changes, thanks all for looking into it. I don't care so much about the name. Maybe @mikeveeckmans can make a suggestion with the marketing hat on.
Are you sure a plugin is the correct approach here? Wouldn't it be better off as an option in com_users?
We need the languagetag change also for the com_joomlaupdate login view :)
@SharkyKZ if you do it in com_user then you would simply allow the make some fields optional, that sounds easier but it is a big change that would effect also other extensions. The plugin just copies some data and does a bit of reordering fields. I think that is the minimalistic way to achieve the goal and has (hopefully) no side effects.
@zero-24 not sure what you are talking about, I didn't made the SQL changes so that the plugin is part of the package, though before spending time on this I will make sure it goes in :-)
hmm, a new plugin. You also have to modify the admin language/en-GB/install.xml
Thanks for all the notes what I have to do but if nobody tests this it will go to nowhere :-)
@rdeutz see: https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_joomlaupdate/views/upload/tmpl/captive.php
Its a login view too so it needs to be catched here too.
A test is on my todo list but it is not that easy on phone ;)
We also need to add update SQL changes and the script php. Let me know if i should send it as pull request to your branch ;)
I have tested this item unsuccessfully on d71ee98
When the plugin is enabled, when the user is editing in back-end his profile the values of name and username are changed to the user email.
Does this needs to be in the core. There are several extensions that already do this.
@infograf768 that's expected behaviour. These fields aren't available, if I allow to change the username I can't really know how I should login someone.
@infograf768 let me guess, username is now the same as you email, right?
@brianteeman good question, I have seen one that does it over a special register form. It is not really the same
As I said : the Name (It was Super User) and Username (was admin) are changed to the user email
As I said: expected behaviour. You can't have both, register with only email/password and then login with a username
Yes, this is why I say it is not B/C and vote against this plugin which can be enabled without the knowledge of its consequences.
It should respect existing user credentials while providing, if desired, the new type of credentials.
This is one on the JED. There may be more I can't really use the JED on my phone.
http://extensions.joomla.org/extensions/extension/access-a-security/site-access/email-as-username
Also I guess this is not suitable for any site that displays an author name. As with this plugin it would display the email address as the author.
and not cloaked...
@brianteeman you can enable the name field
@roland-d Yeah, last week I was trying to write my own plugin to register with your Email address only. My reason was to lower the threshold to register at a website.
My plugin would remove the Name, Username, 2nd Email + 1st Password + 2nd Password field. Username + Password would be generated by the plugin. I noticed that some events were missing and ran into problems sending the right data in the email notification.
Having new events would make it much easier to change the registration form.
@pe7er I though about removing the 2nd email/password fields. I also run into some problems with JForm and the fact that the validation runs on the request data (what makes 100% sense). If you check my code you will see I added new events and called it in the models. I might split this PR into 2, one with the non plugin code changes and another with the plugin itself.
I don't like the fact, that com_users output looks explicit if this plugin is installed/activated. Because I have my own plugin which do something similar + split the name field. If I want to use this feature, I have to activate this plugin and override every change with my own.
Perhaps it's possible to add a more general approach
I wouldn't put such a plugin into core, but I think we should make the life easier for those who want to create such plugins.
So if it's the plugin events that are missing, lets add those and make com_users more extendible but don't necessary add an own plugin.
ok, let me spilt it. As long as we make these things possible I don't care if the plugin goes into core or not
you can enable the name field
Also consider 3rd party extensions which display usernames instead of names. I've seen many of those. Perhaps add options to customize usernames (e.g. based on IDs, randomly generated, etc.). And then use actual email for authentication.
In any case, I still think this should be a part of com_users rather than a separate plugin.
Milestone |
Removed: |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-09 09:41:54 |
Closed_By | ⇒ | rdeutz |
Made som en-GB suggestions inline
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10347.