User Status

With this announcement, we’re making publicly available a new feature that enables you to set a custom status message. After setting, that message will be shown next to your avatar on posts, in chat, on your user card etc.:

Screenshot 2022-09-29 at 23.25.33

You can use it to let everyone know that you’re temporarily unavailable, are on a long vacation, or just to share your mood.

We’re also enabling the feature here on Meta, so you can go ahead and try it right now.

:information_source: You can now have a test of this feature on try.discourse.org

How to use it

To set custom status, go to the user menu and press the Set custom status button (this may look a bit different for you if you haven’t enabled the new user menu yet):

Then choose emoji and description, and, optionally, set an auto removing timer. For example, you can set status :palm_tree: vacation” until Oct 9:

and everyone on the forum will see it. For example, on your posts:

To clear status, open the status modal and press the delete button:

How to enable it on your forum

Note that at the moment this is an experimental feature. To enable it, look for the enable user status setting:

After enabling it everyone on your forum will be able to set a custom status message.

42 Likes

Out of curiousity, has there been any investigation into synching this with outlook or ms teams? How can I access it with the api?

8 Likes

Cool feature.

I think I remember a similar feature, via a plugin, which allowed you to set hours of availability, It’s helpful on forums where you interact with people during their working hours.

But I can’t find it.

Anyways, do you plan to add recurring time spans so we could achieve the same thing?

4 Likes

I wrote a simple one once, that allows you to visualise people’s relative working day: GitHub - paviliondev/discourse-team-timezones: A dashboard is placed at the top of specified category topic lists to show waking hours of specified group, e.g. staff

But there is a more sophisticated team solution, but its somewhat different.

6 Likes

The idea of integrating it with calendars has come up. We haven’t really done much investigation, but expect there may be some complexity around authentication.

There’s the “do not disturb” feature, which has preferences for a “notification schedule” Do not disturb mode

We agree these features are closely related and may bring them closer together in the future, but they are separate at this time.

8 Likes

With Reverse engineer the Discourse API? :person_shrugging:

If outlook or whatever has webhooks you could conceivably make it update statuses in Discourse.

3 Likes

That was my initial thought, but I’m not seeing many options:
image

image

I can see my username in the response but not the request. To me it looks like status can only be set by the user during an existing session. Am I missing something here? Is there a way to specify via api the username for setting status?

3 Likes

I think you just use a global api key and pass the user you want to change as the user in the header.

4 Likes

Is it me or do those icons look misaligned (too low / aligned to bottom of text instead of top/middle)

image

image

image

7 Likes

You’re right, currently it’s only possible to set the current user’s status, you’re not missing anything.

This feature is very young now, and we’re currently working on some further improvements to it that potentially may (or may not) lead to adding a server method that will let you set status of any user. I think it’s worth waiting a bit until we deliver more improvements to user status.

Yes, this definitely can be improved. I’ll take care of it, thank you for reporting!

8 Likes

Great use for scoped API keys - either set-status for single user or whole site. status: :calendar: In a meeting

10 Likes

On mobile the emoji shows on left side why is that?

2 Likes

Either intentional or its a bug since its overflows. I don’t think it should be displayed there since it could be mistaken as a flair.

4 Likes

Here is the fix:

Here is the fix for this problem:

9 Likes

Thank you now it looks good :grin:

3 Likes

So, if I change the theme, the status is gone and I need to set it up again :thinking:.

4 Likes

@robotnjik, thank you for reporting this! I can reproduce it, looks like switching between any themes removes user status. I’ll fix it.

8 Likes

Turned out, status was getting cleared not only when switching a theme, but when editing pretty much any user preference except of status itself.

This fixes it:

9 Likes

This PR adds a REST API scope for user status:

It’s possible now. Note, that you need to use an API key with the All Users level to do it:

More details about using Discourse REST API is here – Discourse REST API Documentation.

13 Likes

Is there a webhook which fires when status is set?

5 Likes