Hiding specific categories or sub-categories from "suggested topics"

Hi everyone,

I’m running a Discourse forum for photographers and I have one category named “intro” with inside a sub-category named “introduce-yourself” where people can post a new topic and say hello. Those are not shown on the “latest” in order not to spam the front page of the forum.

But they still appear in “suggested topics” under other posts. How can I hide them and prevent them from appearing into “suggested topics” site-wide?

Example here:
https://forum.fujifeed.com/t/pixel-peeping-beginner-question
(you might want to refresh the page a couple time, as suggested topics change at each refresh)

Thank you for your help!

Try something like:

#suggested-topics .topics .topic-list-item.category-introduction-introductions.ember-view {
    display: none;
}
3개의 좋아요

Awesome, it worked! Of course it’s just hiding them visually so sometimes when it suggest me only this category then the suggested topic list will look empty but that’s fine. Thanks for helping!

You can set each category to show the suggested topics in all categories or only in that category in which the topic was written. If you get the “introduction” category so that the suggested topics are also from other categories, you will hardly remain without visible suggested topics.

Of course, the change is just a visual hack, if, for some reason, the suggested topics are only in the “introduction” category you will remain without any visible topic, as you said.

3개의 좋아요

이 설정을 찾을 수 없는 것 같습니다(아직도 존재하지 않나요?), 아니면 의도대로 작동하지 않는 것 같습니다 :thinking:

사이트 설정의 이름은 limit suggested to category이며, 기본적으로 꺼져 있습니다. 추천 주제를 현재 카테고리로 제한하려고 하시나요?

프로필 사진이 무서워요 :scream:!

2개의 좋아요

주제에 맞는 카테고리가 있고, 그 아래 ‘구매’, ‘판매’, '오프토픽’이라는 세 가지 카테고리가 있습니다. 이 세 가지는 추천에서 제외하고 싶습니다. 제 생각에는 주제에 맞는 토론들은 서로 교차 홍보할 수 있지만, 거래가 활발한 중고 카테고리는 어차피 사람들이 자주 찾아보며, 다른 주제들이 목록에서 밀려나는 경향이 있습니다.

오프토픽은 단순히 원래의 맥락에 집중하도록 하려는 목적에서 숨기고 싶을 뿐, 오프토픽 토론을 막고 싶은 의도는 전혀 없습니다.

다만 주제에 맞는 카테고리가 너무 세분화된 건 아닌지, 예를 들어 태그를 사용하는 것이 더 나은 건 아닌지 궁금합니다. 큰 변경이나 구조 재편을 하기 전에 이에 대한 의견과 모범 사례를 듣고 싶습니다. :thinking:

아니에요 :joy:

이 건 정말 유용할 것 같습니다! 추천 주제 중 5개 중 2개 정도가 오프토픽 카테고리로, 이 부분은 제외하고 싶습니다. 일단 사용자들의 반응을 살펴보기 위해 limit suggested to category 설정을 활성화해 두었습니다.

하지만 특정 카테고리가 추천 주제에 완전히 표시되지 않도록 하는 기능이 있다면 좋겠습니다.

2개의 좋아요