# Hide login status

**URL:** https://meta.discourse.org/t/hide-login-status/34490
**Category:** Feature
**Created:** [October 14, 2015, 9:35am UTC](https://meta.discourse.org/t/hide-login-status/34490 "2015-10-14T09:35:19Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![MPW](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@MPW](https://meta.discourse.org/u/MPW)
#### Post date: [October 14, 2015, 9:35am UTC](https://meta.discourse.org/t/hide-login-status/34490/1 "2015-10-14T09:35:19Z")

</div>

Hello,

I just registered, as we’re using Discourse here too and wanted to ask for this feature:

Is there a way to hide your login status? So that others can’t see, that you’re online?

Some users requested this to safely use Discourse during work. They don’t want, that others can publicly see, that they were logged in during their working hours. Most other board softwares that I know, have this feature.

Thanks for reading  
Matthias

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [October 14, 2015, 9:47am UTC](https://meta.discourse.org/t/hide-login-status/34490/2 "2015-10-14T09:47:20Z")

</div>

Hi MPW, welcome to the forum

> [@MPW](#):
>
> Is there a way to hide your login status?

Interesting you should ask. Others have been requesting that Discourse have a way to _show_ online status.

Currently the closest thing to online status is “last post” and “last seen”

For example, if I click on the avatar or your name in your post I see  
“Last post 7 mins ago”  
Are you still online? Most likely, but maybe not.

If I go to your Profile

> **[@MPW](https://meta.discourse.org/users/MPW)**

I also see  
“Seen 7 mins”

Other than that, there is no way to know for certain whether or not any given member is online

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [October 14, 2015, 9:49am UTC](https://meta.discourse.org/t/hide-login-status/34490/3 "2015-10-14T09:49:01Z")

</div>

Also, this is something that can **easily** be hidden using a CSS customization 😉

---

<div class="post-metadata">

### Author: ![MPW](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@MPW](https://meta.discourse.org/u/MPW)
#### Post date: [October 14, 2015, 10:09am UTC](https://meta.discourse.org/t/hide-login-status/34490/4 "2015-10-14T10:09:38Z")

</div>

I think you misunderstood me a little:

> [@Mittineague](#):
>
> If I go to your Profile [Profile - MPW - Discourse Meta](https://meta.discourse.org/users/MPW) I also see “Seen 7 mins”

That’s exactly the problem. If your boss knows your nick, he can check weather you’d been in the forum, while you were at work. Is there a way to disable this?

He or she knows that you’ve been at your office desk 7 mins ago 😃.

Greetings  
Matthias

---

<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: [October 14, 2015, 7:04pm UTC](https://meta.discourse.org/t/hide-login-status/34490/5 "2015-10-14T19:04:48Z")

</div>

Ok, then go to Admin, Customize, CSS and hide that via a CSS rule. Done and done.

---

<div class="post-metadata">

### Author: ![JSey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsey/32/3540_2.png) [@JSey](https://meta.discourse.org/u/JSey)
#### Post date: [October 14, 2015, 7:10pm UTC](https://meta.discourse.org/t/hide-login-status/34490/6 "2015-10-14T19:10:38Z")

</div>

Hi Matthias,

I struggled with the same problem - our user base settled with the following: I wrote a plugin that hides the online status on public pages. It removes that info rather than hiding it via CSS, but that solution is global, and no per-user setting. With that plugin, when you have an account and log in, you can get the information anyway. See this topic:

> [@More-privacy: hide parts of user profiles](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244):
>
> Continuing the discussion from [Restrict public viewing of user profile](https://meta.discourse.org/t/restrict-public-viewing-of-user-profile/21098/23): I have just released the very first version of a plugin that tries to accomplish what users from my community want: make the user profiles look like this: when viewed from the anonymous account, and like this: after logging in. Settings are currently limited to this: Note that currently, user cards are not yet altered (which is clearly missing because otherwise, this plugin is a bit pointle…

…if one day we get this one (this is what @Mittineague was [referring to](https://meta.discourse.org/t/hide-login-status/34490/2)):

[https://meta.discourse.org/t/presence-features-for-forums/12](https://meta.discourse.org/t/presence-features-for-forums/12)

…then I guess the urge to hide your presence will get more prominent, too…

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [October 14, 2015, 7:37pm UTC](https://meta.discourse.org/t/hide-login-status/34490/7 "2015-10-14T19:37:02Z")

</div>

I was thinking, even if member information was removed, there would still be post information visible .

i.e. “10h”, “21m” etc.  
So with a little bit of mental math one could arrive at “Hey! that post was made during work hours!”

I’m not sure if the Admin Settings could be tweaked to show only “today” “yesterday” (I recently upgraded from Win 7 to Win 10 and Vagrant broke :sadpanda:)

I’m also not sure if having less granular post times is such a good idea, but it is something to consider.

I’m also thinking this might be an “The Emperor’s New Clothes” idea that would give users a false sense of protection against being found out.  
At least I know that at my previous employment _all_ computer use that accessed external sites not part of the intranet were logged and analyzed.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [October 14, 2015, 10:36pm UTC](https://meta.discourse.org/t/hide-login-status/34490/8 "2015-10-14T22:36:08Z")

</div>

> [@Mittineague](#):
>
> i.e. “10h”, “21m” etc.  
> So with a little bit of mental math one could arrive at “Hey! that post was made during work hours!”

I’m reminded of the sites where you can graph Tweets by the time of day they were made.

---

<div class="post-metadata">

### Author: ![jd2066](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jd2066](https://meta.discourse.org/u/jd2066)
#### Post date: [October 14, 2015, 11:54pm UTC](https://meta.discourse.org/t/hide-login-status/34490/9 "2015-10-14T23:54:15Z")

</div>

> [@MPW](#):
>
> Some users requested this to safely use Discourse during work. They don’t want, that others can publicly see, that they were logged in during their working hours.

If someone is doing something during their work that their boss has disallowed then it seems like even if you think it should be allowed you should just not do it.  
I might not be understanding this correctly though.

> [@MPW](#):
>
> Most other board softwares that I know, have this feature.

I don’t think that is true.  
While other forum software has a feature to hide your online status for the Private Message function, I don’t think any of them have a way to hide when a post was made.  
It’s a requirement of forum post that they have a date attached to them so they be kept track of.

---

<div class="post-metadata">

### Author: ![MPW](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@MPW](https://meta.discourse.org/u/MPW)
#### Post date: [October 15, 2015, 12:20am UTC](https://meta.discourse.org/t/hide-login-status/34490/10 "2015-10-15T00:20:03Z")

</div>

> [@jd2066](#):
>
> It’s a requirement of forum post that they have a date attached to them so they be kept track of.

Ofc, but Discourse always shows, when you’ve been online for the last time. That you shouldn’t do posts during work is obvious.

> [@codinghorror](#):
>
> Ok, then go to Admin, Customize, CSS and hide that via a CSS rule. Done and done.

Okay, this is a way for the admins. I’m looking for a way to give the choice to the users.

---

<div class="post-metadata">

### Author: ![AlexL](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@AlexL](https://meta.discourse.org/u/AlexL)
#### Post date: [April 12, 2017, 1:25am UTC](https://meta.discourse.org/t/hide-login-status/34490/11 "2017-04-12T01:25:54Z")

</div>

How exactly can this be done just for the last\_seen cell? Without turning off the whole div with “secondary” style?

---

<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: [April 12, 2017, 1:52am UTC](https://meta.discourse.org/t/hide-login-status/34490/12 "2017-04-12T01:52:20Z")

</div>

For user card:

```plaintext
#user-card .card-content .metadata h3:first-of-type { display: none; }

```

For Profile page (pointless though as the Activity tab will still show your recent activity)

```plaintext
.user-main .about .secondary dl dt:nth-of-type(2), .user-main .about .secondary dl dd:nth-of-type(2), .user-main .about .secondary dl dt:nth-of-type(3), .user-main .about .secondary dl dd:nth-of-type(3) { display: none; }

```

---

<div class="post-metadata">

### Author: ![AlexL](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@AlexL](https://meta.discourse.org/u/AlexL)
#### Post date: [April 12, 2017, 4:53am UTC](https://meta.discourse.org/t/hide-login-status/34490/13 "2017-04-12T04:53:51Z")

</div>

Thank you, that’s very helpful!

---

<div class="post-metadata">

### Author: ![merry](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@merry](https://meta.discourse.org/u/merry)
#### Post date: [April 11, 2018, 9:06pm UTC](https://meta.discourse.org/t/hide-login-status/34490/14 "2018-04-11T21:06:53Z")

</div>

How would you hide the “read” cell as well?

---

<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: [April 11, 2018, 9:11pm UTC](https://meta.discourse.org/t/hide-login-status/34490/15 "2018-04-11T21:11:04Z")

</div>

User Card:

```plaintext
#user-card .metadata h3:nth-child(3) { display: none; }

```

---

<div class="post-metadata">

### Author: ![merry](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@merry](https://meta.discourse.org/u/merry)
#### Post date: [April 11, 2018, 9:32pm UTC](https://meta.discourse.org/t/hide-login-status/34490/16 "2018-04-11T21:32:41Z")

</div>

Thank you!

For the user profile page, I don’t think the code you posted from a year ago still works, that does not (for me) remove the “seen” field.

Do you know how to remove both the “last post” and “seen” fields from the profile page?

---

<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: [April 11, 2018, 10:12pm UTC](https://meta.discourse.org/t/hide-login-status/34490/17 "2018-04-11T22:12:00Z")

</div>

Profile Page, hide Last Post and Seen.

```plaintext
.user-main .about .secondary dl div:nth-of-type(2), .user-main .about .secondary dl div:nth-of-type(3) { display: none }

```

---

<div class="post-metadata">

### Author: ![merry](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@merry](https://meta.discourse.org/u/merry)
#### Post date: [April 11, 2018, 10:25pm UTC](https://meta.discourse.org/t/hide-login-status/34490/18 "2018-04-11T22:25:00Z")

</div>

> [@cpradio](#):
>
> .user-main .about .secondary dl div:nth-of-type(2), .user-main .about .secondary dl div:nth-of-type(3) { display: none }

thank you so much! 🙂

---

<div class="post-metadata">

### Author: ![merry](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@merry](https://meta.discourse.org/u/merry)
#### Post date: [September 20, 2018, 9:27pm UTC](https://meta.discourse.org/t/hide-login-status/34490/19 "2018-09-20T21:27:07Z")

</div>

Sorry to ask another question: how would one hide the entire Stats section of the user profile page? (in particular, to hide the “recent read time” and “total read time”).

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [December 4, 2025, 11:37am UTC](https://meta.discourse.org/t/hide-login-status/34490/20 "2025-12-04T11:37:03Z")

</div>


