# Flair wird entweder nicht angezeigt oder verzögert

**URL:** https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793
**Category:** Support
**Created:** [26. November 2018 um 16:54 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793 "2018-11-26T16:54:13Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [26. November 2018 um 16:54 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/1 "2018-11-26T16:54:13Z")

</div>

I just created a group, added a font awesome flair to it, and added a user with no other groups or flair to that group. His title updated immediately, but his flair is still not showing up.

I think this is the same thing I ran into over here:

> [@Primary group not made primary](https://meta.discourse.org/t/primary-group-not-made-primary/102619/6):
>
> Why would it update and override a title from a prior primary group but not a title that doesn’t even rise to primary? Seems like it should update unless title was set manually. The regular group has no flair at all. And no flair is showing on the user in spite of the primary group having flair.

Is there a known delay or caching issue that I just need to wait to clear up for new flair to show?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [26. November 2018 um 17:41 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/2 "2018-11-26T17:41:46Z")

</div>

Did you make sure it is set as his primary group?

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [26. November 2018 um 18:03 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/3 "2018-11-26T18:03:54Z")

</div>

Does flair only show on primary groups? He has no other groups.

Edited to answer the question: I just checked, and no, it was not listed as his primary group. (There was no primary group specified for that user.) Making it the primary group made the flair show up. But my question above remains. Does flair only show on primary groups, and if so, isn’t that a bug?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [26. November 2018 um 18:12 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/4 "2018-11-26T18:12:34Z")

</div>

> [@jtbayly](#):
>
> Does flair only show on primary groups

Yes it does.

> [@jtbayly](#):
>
> isn’t that a bug?

No… why would it be? I guess one could argue being part of a single group should make that single group your primary group, but I don’t think it has ever worked that way

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [26. November 2018 um 18:14 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/5 "2018-11-26T18:14:45Z")

</div>

Because flair is specified for the group. I’m a member of the group. I have no other flair conflicting with that flair assignment. Therefore the flair should show up. On what basis wouldn’t it?

And what’s the point of having primary groups if every group has to be primary in order to use basic features?

Edited to add: I’m not saying that being part of a single group should make that group primary. I’m arguing that if I have a flair assignment that it should _do_ something. Or else you shouldn’t allow flair assignments on non-primary groups.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [26. November 2018 um 18:17 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/6 "2018-11-26T18:17:32Z")

</div>

> [@jtbayly](#):
>
> And what’s the point of having primary groups if every group has to be primary in order to use basic features?

🤷‍♂️ What are you talking about here? Primary is important to Flair in that you can only have one flair, so denoting which group it should be shown for is ideal.

> [@jtbayly](#):
>
> Because flair is specified for the group. I’m a member of the group. I have no other flair conflicting with that flair assignment. Therefore the flair should show up. On what basis wouldn’t it?

Think of it this way, it would be horribly expensive to iterate over every group a person is a member of when showing their avatar to see if there is a group with flair or conflicting groups with flair. It is much easier and more efficient to tie it to primary group so you know which groups flair to show for a user when rendering the avatar.

> [@jtbayly](#):
>
> I’m not saying that being part of a single group should make that group primary. I’m arguing that if I have a flair assignment that it should _do_ something. Or else you shouldn’t allow flair assignments on non-primary groups.

You seems to have an understanding of groups backwards. A user can belong to multiple groups, a group is not defined as primary or non-primary, but the user denotes a group as primary **_for their account_**.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [26. November 2018 um 18:23 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/7 "2018-11-26T18:23:06Z")

</div>

I don’t know what you mean by expensive and iteration. I mean, I do, I’m a programmer. But right now I’m just a user. Don’t bother me with implementation details.

What I’m saying is quite straightforward.

I assigned a title and flair to a group. I put a member in that group. The flair didn’t show up, but the title did. That’s simply not right.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [26. November 2018 um 18:25 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/8 "2018-11-26T18:25:21Z")

</div>

Honestly, I would have expected the title to need the user to have that group as their primary group too…

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [26. November 2018 um 18:28 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/9 "2018-11-26T18:28:06Z")

</div>

Sure. That would be consistent.

But I would argue that it would be silly. What’s the point of requiring a group to be the primary group before flair and titles show up?

(And thanks for your explanation about “primary” groups.)

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [26. November 2018 um 18:39 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/10 "2018-11-26T18:39:00Z")

</div>

I have two groups, GroupA & GroupB. Both have flair and titles. GroupB is the more important one, so I mark it as “default to primary.” If somebody is a member of groupA, they should get flair & title from groupA (because they are a member of it, after all, so they should get the benefits), and if somebody is a member of both groupA and groupB, they should default to groupB’s title and flair (but it doesn’t).

Can you tell me how to get what I want?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [26. November 2018 um 18:42 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/11 "2018-11-26T18:42:10Z")

</div>

Set the primary group of the user to GroupB

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [26. November 2018 um 18:47 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/12 "2018-11-26T18:47:04Z")

</div>

Are you saying that I need to manually set every user’s primary group? Because that’s the only way I can figure out to do it, since both groups have to be set to default to primary just to get flair to show up by default.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [26. November 2018 um 18:57 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/13 "2018-11-26T18:57:44Z")

</div>

I believe you do need to mark both as “default to primary” but then the order of operation matters.

If you add UserA to GroupB first, then GroupA, it seems GroupA will be set as their primary group.  
If you add UserA to GroupA first, then GroupB, GroupB should be their primary group.

All of that is based on this:

> [@Primary group not made primary](https://meta.discourse.org/t/primary-group-not-made-primary/102619/5):
>
> Currently, by design, joining a primary group will only update title if: the user do not already have a title or, the user’s title is from the previous primary group Should we maybe add another rule? or, the user did not have a primary group I haven’t worked on flairs but I think they are only tied to the user’s primary group, could you confirm that it is showing the previous regular group’s flair?

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [26. November 2018 um 19:00 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/14 "2018-11-26T19:00:37Z")

</div>

Thanks. Will file another feature request.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [26. Dezember 2018 um 19:00 UTC](https://meta.discourse.org/t/flair-either-not-showing-or-delayed/102793/15 "2018-12-26T19:00:39Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
