Notifications
Clear all

Email displays when mentioning user

12 Posts
2 Users
0 Reactions
1,455 Views
Posts: 6
Customer
Topic starter
(@andre-clemente)
Member
Joined: 5 years ago

Hi,

Please see attached images, in their numbered order. When trying to tag someone (in this example, Andrew), clicking on their name leads to image #2 - it tags their email address. However, once you hit POST, it displays their actual name as the tag (which is what I want - image 3)

Why is this happening? My users will be confused when they click on a name, and the person's email address pops up. I only want the persons name to display - never their email. How do I fix this?

Appreciate any help

author tagging 1
author tagging 2
author tagging 3

 

11 Replies
Astghik
Posts: 6149
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

Hi @andre-clemente,

Please note: this is the nickname that commenters use in comments to mention other users. Somehow in your case, the nickname is set as a user email address. You should edit the user and change his/her nickname. 

Reply
10 Replies
Customer
(@andre-clemente)
Joined: 5 years ago

Member
Posts: 6

@astghik ok, but that's where I'm confused. See attached. the nickname is set as their actual name. So is this a glitch?

nickname

 

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@andre-clemente,

Could you please send the admin login details to info[at]gvectors.com to allow us to check the issue? There is not such an issue on our test websites. 

Reply
Customer
(@andre-clemente)
Joined: 5 years ago

Member
Posts: 6

@astghik just sent you my credentials yesterday. Could you check this for me please?

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@andre-clemente,

Please leave the email subject here, to allow us to easily find your email. 

Reply
Customer
(@andre-clemente)
Joined: 5 years ago

Member
Posts: 6

"Credentials You Requested"

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@andre-clemente,

You've forgotten to include the username and we're not able to log in and check the issue. 

Reply
Customer
(@andre-clemente)
Joined: 5 years ago

Member
Posts: 6

@astghik apologies, just sent it

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@andre-clemente,

Please see the issue described below.

WordPress has three different names for Users:

  • Username (Login) – Being used for website authorization (login, sign-in) action
  • Display Name – Other users and guests see in user profile details and next to user posts (post author name).
  • Nicename – Unique name

After a regular user registration process, Username, Display Name, and Nicename are set the same. For example, If you register a user with “Martin59” Username your user names look like this:

  • Username – Martin59
  • Display Name – Martin59
  • Nicename – martin59

The wpDiscuz User & Comment Mentioning addon uses WordPress nicename. The filed is being generated based on the username (as mentioned above). In your case, the nicename is matched with the username, and as a value of the username is set the email address. So you see the email as a value of the mentioning nickname. 

You can find and change the nickname filed's value in wp_users table. Just find the users_nicename column. 

This article may be helpful for you: https://wordpress.2bearstudio.com/batch-rename-wordpress-user_nicename/

Reply
Customer
(@andre-clemente)
Joined: 5 years ago

Member
Posts: 6

@astghik Thank you, I was able to manually edit all of them individually. But how do I keep this from happening again for new users? Do I need to have someone write custom code?

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@andre-clemente,

User registration and account creation are part of WordPress and it's handled by WordPress side. You should find some way to prevent this by the WordPress side. wpDiscuz doesn't have any relation to this. 

Reply
Share:
Scroll to top