YAFLogo

johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
9 years ago
In forum settings, I have enabled minimum 4 character for display name.

However users can register with just one character in display name.

BTW, is there a setting to have minimum characters for username? I was able to have 1 or 2 character in username. I only found setting for maximum character in username. I also did not find setting to have maximum character for display name.

Overall: Can we have the following four settings:

1. Setting for minimum characters in display name
2. Setting for maximum characters in display name
3. Setting for minimum characters in username
4. Setting for maximum characters in username

Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
9 years ago
Quote:

BTW, is there a setting to have minimum characters for username? I was able to have 1 or 2 character in username. I only found setting for maximum character in username. I also did not find setting to have maximum character for display name.



Both Settings for minimum / maximum chars. are applied to user name and display name. At least for maximum length. For minimum length it was not the included.

Updated code is online now it checks for user/display name min. and max. during registration and on the profile page.

I also moved the Settings for min and max in to one place in the host settings
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button