# 未登录时显示“新主题”

**URL:** https://meta.discourse.org/t/show-new-topic-when-not-logged-in/104550
**Category:** Feature
**Created:** [2018年十二月18日 11:40 UTC](https://meta.discourse.org/t/show-new-topic-when-not-logged-in/104550 "2018-12-18T11:40:25Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MartyMeh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martymeh/32/113462_2.png) [@MartyMeh](https://meta.discourse.org/u/MartyMeh)
#### Post date: [2018年十二月18日 11:40 UTC](https://meta.discourse.org/t/show-new-topic-when-not-logged-in/104550/1 "2018-12-18T11:40:25Z")

</div>

I’ve got an issue with getting plenty of page views, but not a lot of posts on my forum forum.cleanenergyreviews.info. I’ve done a bit of user testing, and seems that there is some confusion about how to actually post something when they first arrive at the site. Is there a way to show the “New Topic” button when users are logged out, which would direct them to log in? I know I can do that with a URL, and I have done that now in the Nav, but curious as to why you do no show the “New Topic” button for logged out users also? I’m assuming there’s a good reason.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [2018年十二月18日 13:03 UTC](https://meta.discourse.org/t/show-new-topic-when-not-logged-in/104550/2 "2018-12-18T13:03:32Z")

</div>

We already have a Reply button visible to not logged in users and even a Like triggers the display of the pop up to subscribe to the site.  
We have also a reminder that will appear to every returning user via the site setting `enable signup cta`

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/0/201b5331c8b4525c26c0cf8d078ee5e12182bd1e.png)

That said, you will find several topics about it that explain why we do not show the button to non-registered users and also several ways (as you have already discovered) to get around the obstacle.

---

<div class="post-metadata">

### Author: ![jord8on](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jord8on/32/166809_2.png) [@jord8on](https://meta.discourse.org/u/jord8on)
#### Post date: [2019年二月1日 23:34 UTC](https://meta.discourse.org/t/show-new-topic-when-not-logged-in/104550/3 "2019-02-01T23:34:45Z")

</div>

@dax I’m sorry that I’m not clear about the last part of your reply. Are you suggesting there is a way to display the " `+ New Topic ` " button for viewers who are not logged in? If so, how?

I’m in the same boat as @MartyMeh. I want viewers to instantly see the " `+ New Topic ` " button and be able to click it, and have them redirected to the login page, and function exactly as the " `Reply` " button does. Is it possible?

---

<div class="post-metadata">

### Author: ![MartyMeh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martymeh/32/113462_2.png) [@MartyMeh](https://meta.discourse.org/u/MartyMeh)
#### Post date: [2019年二月2日 03:05 UTC](https://meta.discourse.org/t/show-new-topic-when-not-logged-in/104550/4 "2019-02-02T03:05:39Z")

</div>

Hi @jord8on, it seems not. I worked around by creating a link in the header. In my case I called it “Ask a question”.

> **[Clean Energy Reviews Forum](https://forum.cleanenergyreviews.info)**
>
> A place to discuss and review the best solar panels, inverters, battery storage. Guide to on-grid, hybrid and off-grid solar power systems.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [2019年二月2日 14:28 UTC](https://meta.discourse.org/t/show-new-topic-when-not-logged-in/104550/5 "2019-02-02T14:28:03Z")

</div>

The easiest way is to create a new button on the header, next to the icon or the logo. See

> [@Customize the header with links, icons, or menus](https://meta.discourse.org/t/best-way-to-customize-the-header/13368):
>
> bookmark This guide is crafted for users who want to spruce up their site’s header by adding links, icons, or menus. Whether you’re using simple theme components or opting for more intricate customizations, this manual provides clear, step-by-step instructions to help you make the desired changes, no matter your level of technical know-how. person_raising_hand Required user level: Administrator The easy way (Theme Components) Each theme component is different, so read the topics related…

You can use a simple link as `https://yoursite.com/new-topic?` so that user logged in can open a new topic from every page of your site, users who are not logged in who click on the button will be sent back to the login page and after the login back again to the composer.

---

<div class="post-metadata">

### Author: ![paul.bradley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul.bradley/32/258265_2.png) [@paul.bradley](https://meta.discourse.org/u/paul.bradley)
#### Post date: [2022年六月22日 19:22 UTC](https://meta.discourse.org/t/show-new-topic-when-not-logged-in/104550/6 "2022-06-22T19:22:05Z")

</div>

> [@dax](#):
>
> [https://yoursite.com/new-topic](https://yoursite.com/new-topic)?

我真的很感谢这个建议，@dax – 我选择了 [自定义页眉链接（图标）](https://meta.discourse.org/t/custom-header-links-icons/86307) 来解决这个问题（尽管我们目前也使用 [自定义页眉链接](https://meta.discourse.org/t/custom-header-links/90588) 来进行全局导航）。

当您登录时，它会打开一个编辑面板，指向我们的默认类别（自定义的未分类类别）。

未登录视图，点击举起的双手会跳转到登录页面，看起来像这样：

![image](https://global.discourse-cdn.com/meta/original/4X/c/3/6/c36dd4f4a91764afb1666dbba121550cef5c27c2.png)

当登录或未登录的用户将鼠标悬停在上面时：

![image](https://global.discourse-cdn.com/meta/original/4X/9/1/a/91afe6ed38b0904da1f01333487fe7564beabc07.png)

陪审团仍在观望举手图标是否是个好选择，将让热力图告诉我们。到目前为止点击量不大——但搜索点击量有所增加。

再次感谢。
