wpDiscuz - WordPress Comment Plugin
How to Disable Nice...
 
Share:
Notifications
Clear all

[Solved] How to Disable Nicenames?

1 Posts
1 Users
0 Likes
1,995 Views
Asti
 Asti
(@asti)
Illustrious Member Support
Joined: 6 years ago
Posts: 6599
Topic starter  

Please don't confuse Username and Nicename. Those are not the same.Β 

Nicenames are used for user @mentioning and in your profile URL. So again, this is the nicename, not username.

If you want to disable the wpDiscuz mentioning feature at all, you should disable the "User Mentioning" option. It's located in the Dashboard > wpDiscuz > Settings > Subscription and User Following admin page.

More info here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/subscription-and-user-following/#enable-user-mentioning

In any case, if you just want to hide the nicename, but allow people toΒ @menation each other, you should put this code in WordPress active theme functions.php file.Β 

add_filter("wpdiscuz_show_nicename", "__return_false");

This article should be helpful for you: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/

Important: The code above just hides the nicename next to the display name, but the mentioning feature will be still available if the users know the nicenames of each other.Β 

In case you want to say thank you! πŸ™‚
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.


   
Share: