Is there any setting to log-in with email not with username?
no setting needed. SMF accepts username OR email, always
What about to disable username entry, is that possible?
When user registers on forum username becomes his shown name, so I would like to disable username and allow him to set shown name instead of username at registration page.
no.... it is not possible to disable username without recoding things.
this mod will allow them to set their display name on registration
https://custom.simplemachines.org/mods/index.php?mod=1747
Thanks, I'll try this mod. Just need to hide the username field, but I'm not sure where to than change that email is used as username field when data is written to database?
please do not hide the username field. The username is required for ALOT of things in the system. It should be used -- and it can not be changed once the user is registered.
The DISPLAY NAME will be used in all cases of public view -- and can be changed.
Install that mod. (you will probably have to emulate version 2.0 RC2 to get it to install)
then the user will be asked for the login name (aka username) and their display name (aka realname) on registration... and they will not have the username = displayname, unless they want it to be so.
Quote from: Kindred on February 10, 2021, 04:24:21 PM
please do not hide the username field. The username is required for ALOT of things in the system. It should be used -- and it can not be changed once the user is registered.
the username can be changed, but only by admin.
Why not hdding username field if than I still use username but just place email as value of that field? Is it seen anywhere? Or what would be the problem in that case?
having a login username different from email is a better practice...
As for hiding it... the only people who SEE it are the admin and that user.
UNLESS an account is deleted, in which case, the username becomes the visible name when viewing posts by a deleted account.
Seriously, your BEST option is just to ask the users to add a "display name" when they register. That way, you're not messing with things that become complicated if you make even a minor mistake.
To be perfectly honest, I'd prefer to see it possible to easily disable login by email completely, and force the use of a separate (from both display name and email) username that's filtered to not accept e-mail addresses.
I can't think of a good reason to force e-mail logins.
Could be a good mod idea disable login by email, or only allow login by email.
Definitely, could see use for something like that.
Yeah true.
The only reason why I don't want to add Username is because of extra fields at registration - some people hate that and I wanna make it as simple as it can be (if he has to write username + name + email... it's a lot of data for no reason, especially username/email - why would we need both, when only email would be enough).
because the SMF system is not designed that way and doing what you suggest has a large potential for screwing up core functionality.
I don't think that people get upset over entering a username, display name and email.... and I am one of the first people to complain about UX issues.