# 在主题中查找发帖人的所有群组

**URL:** <https://meta.discourse.org/t/finding-all-groups-of-the-poster-in-a-topic/311377>\
**Category:** Development\
**Created:** [2024 年6 月 10 日 11:55 UTC](https://meta.discourse.org/t/finding-all-groups-of-the-poster-in-a-topic/311377 "2024-06-10T11:55:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![Lumi](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@Lumi](https://meta.discourse.org/u/Lumi)\
发布日期： [2024 年6 月 10 日 17:05 UTC](https://meta.discourse.org/t/finding-all-groups-of-the-poster-in-a-topic/311377/4 "2024-06-10T17:05:36Z")

</div>

第二个解决方案正是我想要的，但我无法让它工作。出于某种原因，available\_flairs 数组根本没有显示出来。我是否可以认为代码应该放在 plugins.rb 中？

---

_[View the full topic](https://meta.discourse.org/t/finding-all-groups-of-the-poster-in-a-topic/311377)._
