#308 username restriction

XOOPS_2.x
open
nobody
Core (214)
5
2012-09-25
2009-02-19
arabxoops
No

Hello,

To allow users to use space between in case using username with two word ( eg: Black Water ), we need to modify class/userutility.php file by replace:

        $restriction = '/[\000-\037]/';

with:

        $restriction = '/[\000-\040]/';

and this is will allow users to use arabic letters too. Also it will be good if you allow webmasters to select username restriction level during installation.

We can add new step in installation wizard to allow webmaster to fill:

  • Site Name
  • Slogan of Site
  • accept new user registration
  • the level of strictness for username filtering

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks