# Missing "New" and "Unread" buttons in navbar

**URL:** https://meta.discourse.org/t/missing-new-and-unread-buttons-in-navbar/88079
**Category:** Feature
**Created:** [May 22, 2018, 12:08am UTC](https://meta.discourse.org/t/missing-new-and-unread-buttons-in-navbar/88079 "2018-05-22T00:08:29Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Watercolor\_Games](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watercolor_games/32/131248_2.png) [@Watercolor\_Games](https://meta.discourse.org/u/Watercolor_Games)
#### Post date: [May 22, 2018, 12:08am UTC](https://meta.discourse.org/t/missing-new-and-unread-buttons-in-navbar/88079/1 "2018-05-22T00:08:29Z")

</div>

Alrighty…Not sure if I’m dealing with a single bug or two bugs at once here or even how to reproduce this issue. When typing the name of this topic, I got suggested to read [this topic](https://meta.discourse.org/t/new-and-unread-menu-links/78597/2) among other (unrelated) ones… but that’s a feature request and from what I can tell that feature did not get added yet. (and if it did, I didn’t get notified of an update.)

Ever since setting `force https` in my admin panel today, the “New” and “Unread” buttons stopped appearing in the top menu on my account. Other users seem unaffected, and the two buttons are enabled in the admin panel.

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/9/99f0253e2b18fe097a1cc742647839900373f022.png)

I disabled the `force https` setting thinking it’d help (I don’t need that setting anyway, I got Discourse running behind nginx which is configured to force https _anyway_). I then attempted to clear my browser cache AND purge my CloudFlare cache. Nothing helped.

So now I have a home page that looks like this.

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/5/756a190b90b62c8aac3eacab74dc03f0090899ff.png)

I can get to the New and Unread pages by going to them directly (or setting one of them as my user home page)

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/2/7299dcf6e251df97ffa8c495665c60a537e8d6cc.png)  
 ![image](https://global.discourse-cdn.com/meta/original/3X/6/3/63ee5f69a90e8044445d4a488bc112f0793d17cb.png)

And finally, sometimes if I navigate to “Top” or “Categories”, I can get phantom “new” and “unread” counters to show in the menu, like this.

 ![New phantom](https://global.discourse-cdn.com/meta/original/3X/8/2/821d689a1914c3c0426a26571b8e73977e57cac4.png)

However, that post counter is **fake.** Clicking it does NOT show me two new posts. Instead, it does this.

 ![Unread phantom](https://global.discourse-cdn.com/meta/original/3X/0/2/02412db954a9c489f3e36ce668490db803259478.png)

No new posts, but all of the sudden I have 2 **unread posts** (I’d like to point out that this entire time of me navigating through these phantom links, the “let’s get this discussion started” banner stayed at 16/30 posts, and only increased to 17/30 after a friend posted in the “Introduce Yourself” topic after I took these last few screenshots. There were never any new posts besides that one.)

And as you can guess, clicking that “Unread (2)” button just yields a “You have no unread posts” screen.

I am hoping that either:

1. This is a known bug and a fix is coming.
2. Someone else has experienced this and knows how to fix it or what went wrong.
3. It’s a simple Chrome caching issue (wouldn’t be the first on my site while installing discourse) and it’ll magically go away the next day or not happen when I’m on a different computer or browser.

I couldn’t even tell you how to reproduce this issue for yourselves. I don’t even know how I caused it or what I could’ve done to enable a feature like this (if it IS a feature and not a bug). I don’t even know if this is an issue with my CloudFlare or my Nginx (or even Discourse itself) because no one else on my site’s having this issue. The only thing that even remotely points to causing this is the `force https` setting…but that just seems like a major coincidence.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 22, 2018, 12:13am UTC](https://meta.discourse.org/t/missing-new-and-unread-buttons-in-navbar/88079/2 "2018-05-22T00:13:10Z")

</div>

Correct, those nav elements no longer appear unless there is something actually new or unread to read there. Otherwise users are invited to click on something that will bring them to an empty set.

---

<div class="post-metadata">

### Author: ![Watercolor\_Games](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watercolor_games/32/131248_2.png) [@Watercolor\_Games](https://meta.discourse.org/u/Watercolor_Games)
#### Post date: [May 22, 2018, 12:23am UTC](https://meta.discourse.org/t/missing-new-and-unread-buttons-in-navbar/88079/3 "2018-05-22T00:23:12Z")

</div>

Well, what’s causing these phantom post counters then? And is there a way to disable this feature (even if it’s just at a user level?) I honestly prefer having them always there rather than only showing when there’s something there to read. Because in this case, even if it SAYS there’s something to read, there actually isn’t. For me personally even if there’s phantom stuff going on I prefer to have both the buttons always visible and sometimes being derpy rather than showing up randomly when they’re not supposed to.

Furthermore this feature wasn’t there or active until (coincidentally) I activated `force https`. What the heck else did I accidentally enable?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 22, 2018, 1:01am UTC](https://meta.discourse.org/t/missing-new-and-unread-buttons-in-navbar/88079/4 "2018-05-22T01:01:56Z")

</div>

> [@Watercolor\_Games](#):
>
> Well, what’s causing these phantom post counters then?

Oh I wonder, do you have any scheduled posts ? They are a major culprit for phantom counts we need to fix.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [May 22, 2018, 1:04am UTC](https://meta.discourse.org/t/missing-new-and-unread-buttons-in-navbar/88079/5 "2018-05-22T01:04:54Z")

</div>

> [@Watercolor\_Games](#):
>
> purge my CloudFlare cache

Can you try disabling CloudFlare acceleration on your forum and see if that fixes the issue?

---

<div class="post-metadata">

### Author: ![Watercolor\_Games](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watercolor_games/32/131248_2.png) [@Watercolor\_Games](https://meta.discourse.org/u/Watercolor_Games)
#### Post date: [May 22, 2018, 1:22am UTC](https://meta.discourse.org/t/missing-new-and-unread-buttons-in-navbar/88079/6 "2018-05-22T01:22:36Z")

</div>

> [@sam](#):
>
> Oh I wonder, do you have any scheduled posts ? They are a major culprit for phantom counts we need to fix.

That I made? Nope. But it seems rebuilding the install with `./launcher rebuild app` got rid of the phantom counters.

> [@techAPJ](#):
>
> Can you try disabling CloudFlare acceleration on your forum and see if that fixes the issue?

I’m in Developer Mode, so it’s not caching at all. Enabling Developer Mode didn’t fix the issue though.
