DragonflyCMS Projects > AccountPlus > [solved] allow space in user name > Community Forums > Phoenix Netology
Forum Index > Community > AccountPlus

[solved] allow space in user name Reply to topic


I could do this with regular your account but it appears that accountplus doesnt use theif (empty($username) || eregi("(\*|#|\\\|%|\"|'|`|&|\^|@)",$username)) { userCheckError($username, $user_email, _ERRORINVNICK); } For User name validation.

How do i allow spaces in user names using AccountPlus?

Thanks

DizWebDesign

Please enter your server specs in your user profile! 😢


I'll have a closer look after I get through the weekend.

In the interim, the file in root does the ajax validation - check_name.php.

The function userCheckError now only comes into play when javascript is disabled.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


oh nice i like that. thanks

DizWebDesign

Please enter your server specs in your user profile! 😢


Now that I've had a closer look, I suspect that resolved your problem, so I've marked it solved Smile

Donations & Audit for DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are Australia/Adelaide


Jump to: