AsmBB

Power
Login Register

Using nonenglish letters and spaces in user name and error
0

#15699 (ツ) ufuk
Last edited: 28.11.2018 by ufuk, read: 4005 times

Hi,

Some users registered with nicknames these contain nonenglish letters and spaces. Now these user pages are not available. How can we block to use of nonenglish letters and spaces in usernames while showing a warning message ?

Please see;

https://fstdesk.com/!users/1

https://fstdesk.com/!userinfo/G%C4%B1dac%C4%B1lar

Thank you.

#15700 (ツ) johnfound
Created 28.11.2018, read: 4003 times
ufuk

Hi,

Some users registered with nicknames these contain nonenglish letters and spaces. Now these user pages are not available. How can we block to use of nonenglish letters and spaces in usernames while showing a warning message ?

Please see;

https://fstdesk.com/!users/1

https://fstdesk.com/!userinfo/G%C4%B1dac%C4%B1lar

Thank you.

Hm. There is no need to block the users. AsmBB should be Unicode compatible. So, the users should be able to register in any language.

But all this is well tested only with Cyrillic and Latin languages. I mean, wrong behavior in this should be considered a bug and should be fixed. I will investigate this and fix it as soon as possible.

#15701 (ツ) johnfound
Created 28.11.2018, read: 4002 times

Well, I see now. The problem is not in the non english letters. This very username has a space at the end. The profile and login are available, if the user enters a space at the end of the username.

This is the correct link to the profile: https://fstdesk.com/!userinfo/G%C4%B1dac%C4%B1lar%20

Actually there was a bug related to the spaces at the end of the user names. It was reported here and fixed in this check-in. Updating to the latest version of the engine should fix all similar issues.

Unfortunately, this update requires mandatory updating of the skin templates as well, so you may have some work to be done with merging the changes of the templates with your custom skin. :-(

#15722 (ツ) ufuk
Created 04.12.2018, read: 3988 times
johnfound

Well, I see now. The problem is not in the non english letters. This very username has a space at the end. The profile and login are available, if the user enters a space at the end of the username.

This is the correct link to the profile: https://fstdesk.com/!userinfo/G%C4%B1dac%C4%B1lar%20

Actually there was a bug related to the spaces at the end of the user names. It was reported here and fixed in this check-in. Updating to the latest version of the engine should fix all similar issues.

Unfortunately, this update requires mandatory updating of the skin templates as well, so you may have some work to be done with merging the changes of the templates with your custom skin. :-(

hi john,

i dont want users add space between two words and use it as nickname. And also they use eamils as nicknames. How can i fix this. thank you.

#15723 (ツ) johnfound
Created 04.12.2018, read: 3987 times
ufuk

hi john,

i dont want users add space between two words and use it as nickname. And also they use eamils as nicknames. How can i fix this. thank you.

Well, the spaces inside the user name are allowed (but not at the start and at the end). Fixing it will need changes to the engine code. But I don't want to make this restriction, simply because can't see what is the problem with such names??? Let your users use whatever they want. It is harmless or even good for the forum community.

The login with the email also needs changes, but is actually reasonable feature. I will include it in the to-do list and will implement it at the first chance.

But notice (if you have such expectations) that this feature, does not actually increase the accounts security level.

#15724 (ツ) ufuk
Created 04.12.2018, read: 3984 times
johnfound
ufuk

hi john,

i dont want users add space between two words and use it as nickname. And also they use eamils as nicknames. How can i fix this. thank you.

Well, the spaces inside the user name are allowed (but not at the start and at the end). Fixing it will need changes to the engine code. But I don't want to make this restriction, simply because can't see what is the problem with such names??? Let your users use whatever they want. It is harmless or even good for the forum community.

The login with the email also needs changes, but is actually reasonable feature. I will include it in the to-do list and will implement it at the first chance.

But notice (if you have such expectations) that this feature, does not actually increase the accounts security level.

thanks. i am sorry , i am new. which program should i use to edit engine ?

#15725 (ツ) johnfound
Created 04.12.2018, read: 3983 times
ufuk

thanks. i am sorry , i am new. which program should i use to edit engine ?

You will need Fresh IDE or FASM and some assembly language skills.

Read more in these threads:

https://board.asm32.info/asm/asmbb-how-to-download-compile-and-install_49/#H6 - main download and compile guide.

https://board.asm32.info/can-t-compile.253/ - possible problems.

https://board.asm32.info/source/instructions-for-assembling-asmbb-without-using-freshide.231/ - use FASM instead of Fresh IDE.

The register/login/logout code is located in the file source/accounts.asm

Using nonenglish letters and spaces in user name and error
0

AsmBB v3.0 (check-in: a316dab8b98d07d9); SQLite v3.42.0 (check-in: 831d0fb2836b71c9);
©2016..2023 John Found; Licensed under EUPL. Powered by Assembly language Created with Fresh IDE