About This File
Your users might not be aware and might not like that their display names are public in any public area of your site. And as a result, Google queries for real names or business names used as display names will often lead to your website. While this can be nice regards to traffic, it can upset users and might be problematic in regards to privacy laws.
This plugin mitigates these problems by globally truncating or hiding display names when content pages of your site are viewed as guest. This decreases the likelihood of search queries for names leading to your community pages.
For a live demo, check out Typography.Guru.
Important notice: The plugin only works on sites that have removed the guest access to profiles through the permission settings. If you let search engines like Google index every user profile, obfuscating the usernames makes little sense. This plugin is specifically made for sites that already do not link to user profiles, but still expose the full display names (e.g. in forum topics or in the discovery feeds). If you are unsure about your settings, open a forum topic as guest user and check if the display names link to the user’s profile or not. If not, you can use this plugin.
Set the number of characters to show.
- Jane Doe can be turned into “J…” (1 character) or “Jane…” (4 characters) for example. You can also set the value to zero to remove the original display name entirely.
- Use the “member” suffix.
- Use brackets.
Show hover description
- A description explaining that full user names are shown after login. The phrase can be changed and translated.
Pick admin exception
- You can pick one member that will be excluded from the truncation/replacement. This can be useful for your main admin account. You would protect your user’s privacy, but still have your name shown in your Pages articles and announcements for example.
The plugin works for all pages of a site that use the theme templates “userLink” and “userLinkFromData” to generate the display names. This is the case for forum topics, Pages articles, the calendar and many block feeds. The display names might still be exposed in the source code or in other areas of the suite if they are set as being public. More areas to obfuscate the usernames might be added later on request.