Remover supressão de nome em posts

:discourse2: Resumo Remover Supressão de Nome em Postagens desativa a supressão de nomes ou nomes de usuário semelhantes em postagens.
:eyeglasses: Pré-visualização Pré-visualizar no Discourse Theme Creator
:hammer_and_wrench: Link do Repositório https://github.com/discourse/remove-name-suppression-on-posts
:open_book: Novo em Temas do Discourse? Guia para iniciantes sobre o uso de Temas do Discourse

Instale este componente de tema

Funcionalidades

Este minúsculo componente de tema apenas adiciona:

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

À sua tag <HEAD> para desativar a supressão de nomes ou nomes de usuário semelhantes em postagens.

Antes:

Depois:


:discourse2: Hospedado por nós? Componentes de tema estão disponíveis para uso em nossos planos Standard, Business e Enterprise.

16 curtidas

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 curtidas

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.