Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Display name format
Avatar
Justine Greenway
East Yorkshire, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 13, 2013 - 3:03 pm

Under Profiles > Profile Options I have unticked the box which says 'Let member choose display name' and set the Display name format to FirstName LastInitial.  From this I had understood that this would mean that although users would need to pick a Username when first registering through WordPress, this username would never display and the users first name and last initial would display instead, however this does not seem to be the case.

WordPress requires the choice of a username on registration, however as my website is for a club and only club members are allowed to become registered members of the forum I want anyone viewing the forum to be able to easily identify who has posted, but the use of usernames can prevent this, therefore I want the displayed name to present as e.g. JackS so members can be easily identified.  This is not happening as you can see from this screenprint:

Image Enlarger

The two members showing with First Name and Last Initial are only doing so because that is what they have chosen as their username.  Is there another setting that I need to adjust or is there something in the WordPress settings I need to alter to make this happen?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 13, 2013 - 7:52 pm

wordpress requires a user login at registration, but not a username - actually there is no such thing as a username in wp...  do you mean the user login?  suspect so...

have the other users actually selected a first and last name?  WordPress does not actually force those fields to be filled in... if users have not filled them in on their wp or sp profile, we wont be able to use them...  can you check and see if they are filled in?

If not, you might want to use a registration plugin for wp that adds those fields to the wp registration form...

also, have you checked other locations in the forum? is it just the members list?  what about in the posts themselves?

Avatar
Justine Greenway
East Yorkshire, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2013 - 3:49 am

I created a dummy login for myself just to see how the process worked and I have filled in my first name and last name in the profile, but it still displays a username - I am jaygee1969 in the screenprint above.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 14, 2013 - 6:21 am

I have tried this myself this morning on my local development/test site and it did work as expected - with one exception.

The first thing I have to say is that heeding the warning on the profile admin page where I set my display name preference I WAS very patient and waited for the panel to in form me that it had done what it was supposed to do. Now this did take a while and that is something we need to address. But it did do it. Now - if you did not wait for the yellow message to pop up to say it had finished and instead selected another admin page or loaded something else then the process would have stopped which would result in user records not being updated as planned.

If you go back to the profile panel where you set display name preference - is it still set as you want it?

Also - having been through this process I also set up a new user and again - it set the SP display name as I preferred.

The exception - by the way - were for those users who had not supplied their first/last names and I need to look in the code to see what it assigned them in its place.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Justine Greenway
East Yorkshire, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2013 - 8:28 am

Now, this is interesting.  I went to the profile panel and reset the preference by clicking it on, saving and then clicking it off again and saving again.  Both times the yellow box came up and it did come up fairly quickly.

What seems to have happened now is that the Display Name has been set as First Name and then the Last Name Initial with a string of random numbers after it - most odd!  See below:

Image Enlarger

Can I get rid of this random number and can I prevent it from coming up again on new members?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 14, 2013 - 2:47 pm

I am still trying to find out what might be causing it... when I know that we can get it fixed up.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Justine Greenway
East Yorkshire, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 21, 2013 - 5:48 am

Hi there.  Have you had any ideas yet about why I am getting a random number in the display name?  This site is not yet live, but I am hoping to get it online shortly and would like this working before I do, so any help would be appreciated.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 21, 2013 - 7:34 am

Ah yes indeed. The problem arises - for example - when you choose something like first-name/last-name yet the user has not created that data. It gets replaced by the random number.

Now I have actually made a change to this as a random number seems a bit odd so now it will increment from the number 1. So - for example - if you juts used the users first_name but there were many named 'Andy' it would result in Andy, Andy1, Andy2 etc.

So your problem manifested itself because of missing data.

The fix is currently in test and will make it into the next SP update provided it all tests out OK.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Justine Greenway
East Yorkshire, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 21, 2013 - 8:36 am

What you say makes sense, however in this instance all the users HAVE input a first and last name!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 21, 2013 - 10:01 am

Any clashes so that more than one user would end up with the same display name?

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625