# 全局置顶/公告主题管理

**URL:** <https://meta.discourse.org/t/globally-pinned-banner-topics-management/109228>\
**Category:** Feature\
**Created:** [2019 年2 月 15 日 10:00 UTC](https://meta.discourse.org/t/globally-pinned-banner-topics-management/109228 "2019-02-15T10:00:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

作者： ![Mark\_Walkom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_walkom/32/77411_2.png) [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)\
发布日期： [2019 年2 月 15 日 10:00 UTC](https://meta.discourse.org/t/globally-pinned-banner-topics-management/109228/1 "2019-02-15T10:00:54Z")

</div>

Off the back of [this topic](https://meta.discourse.org/t/get-list-of-topics-pinned-globally/68972/), It’s super easy to forget you pinned something and then it’ll stay active even though it’s entirely irrelevant.

I was wondering if it would be possible to add an admin page that shows globally pinned or banner topics and lets someone manage them. I know you can attach a timeframe to a pinned/banner topic, but that doesn’t always happen, so sometimes old things are left pinned.

I guess even a report would be handy 🙂

---

<div class="post-metadata">

作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
发布日期： [2019 年2 月 18 日 04:28 UTC](https://meta.discourse.org/t/globally-pinned-banner-topics-management/109228/2 "2019-02-18T04:28:26Z")

</div>

A search for `in:pinned` should work, looking at:

> <https://github.com/discourse/discourse/blob/0e6d0b0f8e02e3b0568c90d50beaafaf40be3195/lib/search.rb#L288-L290>

So only thing missing here would be banner topic which is quite rare.

Does searching for `in:pinned` do the trick for you?

---

<div class="post-metadata">

作者： ![Mark\_Walkom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_walkom/32/77411_2.png) [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)\
发布日期： [2019 年2 月 18 日 08:02 UTC](https://meta.discourse.org/t/globally-pinned-banner-topics-management/109228/3 "2019-02-18T08:02:57Z")

</div>

Great, that works!

It’d be nice if you could save searches like for admin purposes 🙂

---

<div class="post-metadata">

作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
发布日期： [2019 年2 月 18 日 09:30 UTC](https://meta.discourse.org/t/globally-pinned-banner-topics-management/109228/4 "2019-02-18T09:30:52Z")

</div>

You can save the link, if you hit enter from search: [Search results for 'in:pinned' - Discuss the Elastic Stack](https://discuss.elastic.co/search?q=in%3Apinned)

---

<div class="post-metadata">

作者： ![Mark\_Walkom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_walkom/32/77411_2.png) [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)\
发布日期： [2019 年2 月 18 日 09:59 UTC](https://meta.discourse.org/t/globally-pinned-banner-topics-management/109228/5 "2019-02-18T09:59:21Z")

</div>

True, that doesn’t really make it accessible to any other admin/mod though.  
And we have a lot of mods on our instance.

---

<div class="post-metadata">

作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
发布日期： [2019 年2 月 18 日 23:53 UTC](https://meta.discourse.org/t/globally-pinned-banner-topics-management/109228/6 "2019-02-18T23:53:15Z")

</div>

One thing we tend to use on our dev instance is [Custom Hamburger Menu Links](https://meta.discourse.org/t/custom-hamburger-menu-links/87644) it is possible we can adjust it so there is an option for “staff only” links there with a theme setting.

Where would you like these helpful links. Another alternative is just carrying a pinned topic for moderators that includes tricks like this.

---

<div class="post-metadata">

作者： ![Mark\_Walkom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_walkom/32/77411_2.png) [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)\
发布日期： [2019 年2 月 24 日 23:02 UTC](https://meta.discourse.org/t/globally-pinned-banner-topics-management/109228/7 "2019-02-24T23:02:54Z")

</div>

A pinned topic is a good idea.

It does feel like this could be a report of some kind. Maybe not a metric report like the existing ones, but it’s still collecting info about what your instance is doing.

---

<div class="post-metadata">

作者： ![Mark\_Walkom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_walkom/32/77411_2.png) [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)\
发布日期： [2020 年6 月 1 日 22:51 UTC](https://meta.discourse.org/t/globally-pinned-banner-topics-management/109228/8 "2020-06-01T22:51:48Z")

</div>

出于各种原因，我们发现对横幅主题的使用正在增加，今天我又遇到了这个问题。

一个包含横幅和置顶信息的具体管理页面仍然很有用 🙂
