Support Forum
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:
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?
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?
Visit Cruise Talk Central and Mr Papa's World
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.
YELLOW
SWORDFISH
|
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:
Can I get rid of this random number and can I prevent it from coming up again on new members?
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.
YELLOW
SWORDFISH
|
1 Guest(s)