Display name = Nickname – UserPro Forums https://forum.userproplugin.com/forums/topic/display-name-nickname/feed/ Mon, 20 May 2024 01:33:10 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19628 <![CDATA[Display name = Nickname]]> https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19628 Fri, 31 Jan 2014 16:29:11 +0000 Nexnivis Hi everyone, I apologize for my English

I am developing a portal dedicated to video games, and in this area people have the habit of using nicknames.

Therefore I do not use the fields “first name” and “last name”, and the problem is that I can not use the ” username” because WordPress does not accept uppercase and accents. So I use the “Display name” letting people write what they want in at registration.

I encounter another problem with the “display name”. While the “username” is too restrictive , the “display name” is rather too permissive ! I wish I could ban spaces and special characters in the “display name”, I love that people can write that a “nickname” as one word and without using crazy symbols.

The second problem I encounter regarding the social network connection. In fact, since I do not use the “first name” and “last name” it does not make sense that they appear as “display name” when you log in using a social network. I like to know if it is possible to display only the “first name” and not take the “last name” ?

Thank you in advance for your help!

]]>
https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19646 <![CDATA[Reply To: Display name = Nickname]]> https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19646 Fri, 31 Jan 2014 18:19:17 +0000 admin Hi there! This would go under Custom job really. The plugin is designed to allow safe characters in display name, it uses remove_denied_chars API function to strip crazy stuff. If you would like specific symbols to be ignored you can easily set that. Just tell me which symbols for example.

When connecting via social network, the first/last name is used as display name, but you can easily change that according to which network you refer to, I can provide you precise guidelines if you give me specific answers to these two questions.

Thanks!

]]>
https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19680 <![CDATA[Reply To: Display name = Nickname]]> https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19680 Fri, 31 Jan 2014 19:18:06 +0000 Nexnivis Thx for your answer !

Regarding the nickname, it should be ensured that:
– The username can contain uppercase for the first letter, and special letters such as é è â ø etc …
OR
– The display name can not contain special characters ($% £ ¤ μ § *, =), space, and that we can limit the number of characters.

Ideally, the first solution, because users can log in with their username so it bothers me to make them disappear.

For social networking, I use all that you add (FB, Twitter, G+ and VK so far). I want a solution for the last name disappears and the first name to be used as display name. If this is not possible I will take the opportunity to connect through social networking, it is unfortunate but it does not matter.

]]>
https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19682 <![CDATA[Reply To: Display name = Nickname]]> https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19682 Fri, 31 Jan 2014 19:27:13 +0000 admin Hi there!

The username can already contain capital letters, I am not sure if I am understanding you right 🙂 there’s a Check when making the username dynamically

} else if ( !preg_match(“/^[A-Za-z0-9_]+$/”, $input_value) ) {

It return error if username has a special character.

I am missing something?

For social connection you can easily remove last name from display name, for example for facebook open user-functions.php

this part sets the display name via facebook

You can modify it to use first_name but make sure it’s set in fp api. otherwise, just use the fb username

There are similar sets for google, twitter, you can control /edit what’s entered as display name when user connect.

]]>
https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19686 <![CDATA[Reply To: Display name = Nickname]]> https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19686 Fri, 31 Jan 2014 19:38:44 +0000 Nexnivis If you enter an username with capital letter you have a check and you can register, but WordPress broke the capital and save the username only in lowercases !

And username accepts no special characters, even the characters like “é” or “è” who are common in french :-\ but I want to allow characters like that

Thanks for the social login issue 🙂

]]>
https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19734 <![CDATA[Reply To: Display name = Nickname]]> https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19734 Sat, 01 Feb 2014 13:26:56 +0000 Nexnivis Does anyone know how I can enable capital letters and accents in usernames ?

]]>
https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19735 <![CDATA[Reply To: Display name = Nickname]]> https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19735 Sat, 01 Feb 2014 13:29:59 +0000 Nexnivis Ahmed i’ve found why you can insert uppercases in username, it’s because you are running a simple wordpress installation. But on multisite install uppercases aren’t allowed because usernames can be used for subdomains names (user.mysite.com).

]]>
https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19805 <![CDATA[Reply To: Display name = Nickname]]> https://forum.userproplugin.com/forums/topic/display-name-nickname/#post-19805 Sun, 02 Feb 2014 17:17:34 +0000 admin Wow, so that’s it 🙂

]]>