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:

After:


: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개의 좋아요

조금 오래된 글이지만, 이 기능이 더 이상 작동하지 않는 것 같으니 참고해 주세요. 코어 억압(suppression) 기능의 코드를 살펴봤지만, 여기서는 정확히 어떤 메커니즘으로 작동하는지 잘 모르겠어요:

또한 기본적으로 컴포넌트가 아니라 테마로 설치됩니다. 혹시 아이디어가 있으신가요?

나에게는 여전히 작동합니다:

사이트 설정에서 enable names가 활성화되어 있나요? 페이지를 검사해 보면 콘솔 오류가 표시되나요?

component: true로 설정했으니 이제 컴포넌트로 설치되어야 합니다.

2개의 좋아요

컴포넌트 변경에 대해 감사합니다.

enable names 설정이 활성화되어 있습니다. Chrome 개발자 콘솔에 다음과 같은 오류가 발생합니다:

샘이 제공한 코드를 헤더에 수동으로 추가하고, ‘이름 활성화’ 설정을 비활성화했다가 다시 활성화해 보았지만, 사용자 이름과 사용자 이름이 같은 경우에도 여전히 작동하지 않습니다.