话题标题风格 - 或者类似的东西?

I would like to know if we have a feature like topic title flair as known from reddit?

Im building a new forum and to categories the topic I will use tags.

But to categories the topic type I could use topic flairs as known from reddit. Do we have a plugin like that? I did search but I might have missed it… :slight_smile:

When posting on reddit
Skærmbillede 2021-10-21 kl. 08.26.29

Topic list;
Skærmbillede 2021-10-21 kl. 08.27.04

2 个赞

This would be lovely to have! It would add a little bit of color into the topic list, which would look great in my opinion!

1 个赞

I have created a plugin before. I’m not sure is that what you want.

4 个赞

I may have a look at that one.

But what I basiclly is looking for is a addon to the tags feature or how to explain… :thinking:

I would like to have 2 set of tags.

  1. A set that works as tags in the native discourse
  2. And a set that describe the type of post. Eg this tag/flair is added ahead of the topic title - like in the image above. Does it make sense?
1 个赞

For this, I think you need to create categories or sub-categories.

1 个赞

It will not solve my issue.

Let say my forum is a smartphone forum.

I would have e.g. 2 categories
Apple
Android

In Apple I would have tags like iphone8, Iphone12
In the Android forum I would have tags like; Samsung Galaxy, huawei p30

In each forum I could have different type of questions about Apps, Setup, Jailbrake - this would be the flair og Topic Title Flairs I would like to add to topics. Instead of having a huge list of subcatories where some is used very often - others with just a few post.

I dont want this structure
Apple
–Apps
–Setup
–Jailbrake

Android
–Apps
–Setup
–Jailbrake

It makes sense in a very huge and active forum. Not that much in a rather small one where
–Apple
–Android

Would be fine with the tweaks I am looking for.

1 个赞

These are just tags. The component looks like a good suggestion.

1 个赞

Im not sure if I understand… could you be more specific?

1 个赞
  • Semantically, what you are asking for is a tag.
  • @tachibanalolo has created a Component to decorate those tags in a similar fashion. Looks like a win to me.
  • Categories don’t look like a good fit.

You might also want to look at: Add a custom fontawesome icon and color to your tag - howto / tips & tricks - Discourse Meta

2 个赞

I think It’s Time We Talked About Tags

2 个赞

Well I still think that tags not fit my need 100%.

In my case I would need my users to choose between 2 set of groups af tags
one stock ticker: what stock is this about: ambu, solar, upst, etc…
and then
one typic type: like news, analysis, etc

Eg I have these 2 groups

At the moment when choosing tag the tags are mixed together and not grouped. The user should choose minimum 1 from ticker group and ONLY one from topic type…

Skærmbillede 2021-10-22 kl. 10.15.12

I can not see how I can solve that without something like topic flairs… any ideas?

1 个赞

Do you’d need to be able to have different groups of tags… How to create tag structures, tag category restrictions, tag groups and tag relationships

3 个赞

You are not able, as far I can read it, to have

2 groups and require you have to assign, one and only one from each group. And when you have choosen one from group 1, then group 1 options disappear and then you can choose from group 2 tags group.

So for me, the solution of only using tags is no go. The tag selection is premature…

1 个赞

Do you need group 2 to change depending on group one?

1 个赞

Im not sure I need it that way. But at the moment you can not control more then one tag group per category.

There is no ADD function

Skærmbillede 2021-10-31 kl. 21.53.41

Why can I not add one more line?
And say 3 num tags from a new group?

1 个赞

您试图做什么尚不清楚。如果您想要“标题闪光”,那_就是_标签的用途。使用 CSS 定位它们,以按您想要的方式设置样式,您就可以实现您发布的截图中的效果:

所有这些都将是一个标签,而标签的 CSS 规则将根据需要添加表情符号和颜色。

2 个赞

我在这里尝试解释过:Request or idea for a component: topic title or topic flair

我无法做得更好。我不认为单独的标签能满足我的需求。

无论如何,我似乎是唯一一个寻找类似东西的人……就这样吧……

1 个赞