1
[XOOPS 2.2.3]
There are three levels of filtering for the login name: strict (letters, digits, underscore and hyphen), medium (all of the above, plus most special characters except spaces) and loose (basically all characters).
The level is selectable in the profile module preferences / User Settings: "Select the level of strictness for username filtering".
The filtering is implemented in modules/profile/include/functions.php, function userCheck.
As far as I can determine, there is no display name filtering.
Here are my questions:
1) Is there any reason to do this filtering for the login name, since it's not displayed to other users?
2) Should the filtering be done for the display name instead?
3) Should the same filtering be done for both the login name and the display name, to make it simpler for users, so they don't have to deal with different requirements for the two names?
4) If the filtering is done, for either the login name or the display name, what would be the best way to make the filtering more configurable, without having to hack the core files? For example, a particular site administrator might wish to allow spaces or periods in names, but may otherwise prefer to stick to the strict naming requirement.