Remove Name Suppression on Posts

:discourse2: Summary Remove Name Suppression on Posts disables the suppression of similar name / usernames on posts.
:eyeglasses: Preview Preview on Discourse Theme Creator
:hammer_and_wrench: Repository Link https://github.com/discourse/remove-name-suppression-on-posts
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

Features

This tiny tiny theme component only adds:

<script type="text/discourse-plugin" version="0.8.18">
  api.disableNameSuppressionOnPosts();
</script>

To your <HEAD> tag will disable the suppression of similar name / usernames on posts.

Before:

image

After:

image


:discourse2: Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.

Last edited by @JammyDodger 2024-06-14T00:11:31Z

Check documentPerform check on document:
16 Likes

I know this is a bit old but just to give a heads up, this does not seem to work anymore. Looked at the code of the core suppression feature but I am not sure about the mechanics here:

Also, by default it is installed as a theme instead of a component. Do you have any ideas?

It still works for me:

is the site setting enable names enabled? If you inspect the page, do you see any console errors?

I set component: true so it should install as a component now.

2 Likes

Thank you for the component chage.

I have the enable names setting enabled. There are some errors in Chrome dev console like this:

I have manually added the code given by Sam to the header and tried disabling then enabling the “enable names” setting but it still does not work for me when the username and the name of the user are the same.