wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

Comment Form Suddenly showing User Name rather than USERID


ethe2
Posts: 7
Topic starter
(@ethe2)
Active Member
Joined: 1 year ago

Hello,  Our WP site is now showing each user's full name in the comment forms rather than their login ID. As confidentiality is key, this was implemented and running with it displaying the userid. Where may I control this feature so that USERID is displayed? Please see attached screenshot for the issue.

Screen Shot 2020 12 29 at 12.41.48 PM

 

Topic Tags
3 Replies
Tom
Posts: 447
 Tom
Support
(@tomson)
Support Team
Joined: 6 years ago

Hi @ethe2,

This is not the Full name, this is the Display name. wpDiscuz always shows the display name, because the display name is created by WordPress to be shown on website. It’s the public name, and it doesn't include User Login for security reasons. In your website the Display name is set to be shown based on First Name + Last name, this comes from WordPress and Ultimate members plugin settings. So if you want to change the Display name you should change it through UM plugin or WordPress. Here is a related topic: https://wordpress.org/support/topic/force-firstlast-name-as-default-wp-display-name/

P.S. all changes in settings will affect the future comments. All existing comments author names cannot be automatically changed, because WordPress save comment author names in wp_comments database table without any dependence on the future changes of commenter user data.

Reply
ethe2
Posts: 7
Topic starter
(@ethe2)
Active Member
Joined: 1 year ago

Hi Tom, Thank you for the response, but let me rephrase the question as it may have not been clear. 

 

In our case, the Wordpress “username” is the same as the “Nickname” which is the same as the “Display name publicly as” name within our user accounts. This is what has always been displayed on our website.

THE PROBLEM: One day, without administrator changes being made, we found that the username was no longer being displayed, the users real name was being used. This is the same in all comments throughout the site. For privacy, we cannot expose our user’s real names.

CONFUSION: How did this happen? It is rare for an admin to do anything in the account other than post new posts. The settings are left static unless we run into an issue. Occasionally, we do updates – but this was not the case before the change. In fact, we tried updating to correct this with 19 updates required. The updates didn’t help – our real names are still exposed.

HELP NEEDED: We need to figure out how to get the comments to show our usernames again as defined in our Wordpress “Display name publicly as” choice. How do we get this to happen?

 

Thanks again for any guidance you can provide.

Reply
1 Reply
Tom
 Tom
Support
(@tomson)
Joined: 6 years ago

Support Team
Posts: 447

@ethe2,

This doesn't come from wpDiscuz side. wpDiscuz calls WordPress functions which return Display Name. These functions have tons of hooks, and they are hooked from all your plugins. So you should find the solution in other plugins. Just install a fresh WordPress and ad the plugins one by one. You can deactivate all other plugins and test as well. In any case, please remember the name of comment authors will never be changed for existing comments, you should post a new comment to see any changes.

Reply
Share: