Discourse Who's Online

:discourse2: Summary Discourse Who’s Online displays a list of users currently active on the site
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-whos-online
:open_book: Install Guide How to install plugins in Discourse

Features

:information_source: Think carefully before installing this plugin. Discourse is designed for asynchronous discussion, and a list of online users can be harmful for some communities

:information_source: This plugin is built for communities with <100 concurrent logged-in users. Installing on larger sites is possible, but is likely to negatively affect the performance of the whole forum.

It can also optionally display a user’s online status on their avatar. Either with a “ring”, “glow”, or with a “flair” icon in the top left.

The plugin uses the MessageBus to keep up-to-date, so user status is reflected in real-time. Users which have enabled the “hide profile and presence” setting will not be displayed. You can customize a number of things using the available site settings and language strings:

Configuration

These are available in the “plugins” section of the admin settings panel.

  • whos_online_active_timeago: maximum “last seen” for which users are considered online (minutes)
  • whos_online_collapse_threshold: number of users before the avatars overlap each other (see gif above). Set very high to disable this feature
  • whos_online_maximum_display: the maximum number of avatars to display. The numeric counter will still count higher than this. The choice of who gets displayed is currently inconsistent
  • whos_online minimum_display: the minimum number of avatars to display. Below this, a “no users online” message is displayed
  • whos_online_hide_below_minimum_display: if enabled, the widget will be entirely hidden when the number of users is less than minimum_display
  • whos_online_display_public: should the plugin be displayed to people who aren’t logged in? Defaults to true.
  • whos_online_display_min_trust_level: the minimum trust level that this plugin is displayed to. Defaults to 0
  • whos_online_avatar_indicator: choose how to display online status on user avatars. Defaults to “ring”
  • whos_online_avatar_indicator_topic_lists: display avatar indicators in mobile topic lists, and the “Categories & Latest” view. Defaults to off.
  • whos_online_count_only: when enabled, only the count will be displayed. Online user identities will not be revealed

:speech_balloon: Frontend Language Strings

These are available in the admin panel under CustomizeText Content (search for whos_online). These include:

  • js.whos_online.no_users | “No users currently online”:The message displayed when the number of users < whos online minimum display setting.
  • js.whos_online.title | “Online ({{count}})”: The text displayed before the list of avatars. {{count}} is the number of users online.
  • js.whos_online.tooltip | “Users seen in the last 5 minutes”: the text displayed on mouseover of the text.

Last edited by @dax 2024-08-22T14:22:33Z

Check documentPerform check on document:
153개의 좋아요
[Paid] "What's Going On?" plugin. [COMPLETE]
How do I bring back my community that was very active 10 years ago?
Quick Messages Plugin
Do you display the list of live forum users on your counterpart website?
Who's online "action"
Split profile hiding and presence
No online status in Topic List
Community Network Visualisation
Change Online (x) text to pulsing green dot
MKJ's Opinionated Discourse Deployment Configuration
Need cool plugin feedback suggestions?
Who's online crazy load
Advice for getting my little game dev community "out there?"
Contributor Interviews – David Taylor
Can I activate my plugin only for those registered on the site?
Why you should use Discourse internally for your company/team instead of Slack (4 years use case)
Babble Chat
Forum with user diary/blog/profile
Category Banners
Topic Author
How does group messaging work in Discourse?
Group PM “pick up where you left off”
What happens next?
How to show a user’s online status?
Failed to construct 'Notification': Illegal constructor
How minimal is your forum?
TavoWEB theme for Discourse
Correct way to build components
[Paid] "What's Going On?" plugin. [COMPLETE]
How serious is "site is under extreme load, search is disabled, try again later"
User reporting unable to hide presence
List of all the pages that users are in
My discourse speed is very slow
Any way to show live stats to users?
Original Poster Avatars not working well with Who's Online
Where are topics related to WordPress integrations where Discourse is a paid subscription?
Babble Chat
User card huge avatar outline appears on plugins and components
How does the online presence work?
Why is the green tick a red exclamation?
Must have plugins and components for Discourse?
Bundling more popular plugins with Discourse core
Loading slider issues
Homepage plugin for displaying recent topics, latest members, popular threads, and similar elements
Possible to show number of visitors in real time?
Who's Online doesn't work for me

게시물 3개가 새 주제로 분리되었습니다: Who’s Online의 더 자세한 정보

이 플러그인(최소 우리 포럼에서는)이 다음 메시지를 표시한다는 점에 유의하세요. 플러그인을 끄면 메시지가 사라집니다. 다른 분들도 같은 문제를 겪고 계신가요? 활성 사용자 수를 처리하기에 충분한 서버를 사용하고 있습니다. Lightsail 8GB RAM, 2 vCPU, 160GB SSD Ubuntu를 사용 중입니다.


1개의 좋아요

이 플러그인은 정말 좋습니다. 특히 채팅 기능이 활성화되어 있을 때 더 그렇습니다. 다만, 다른 채팅 앱과 유사하게 개인 사용자 설정과 연동하여 자신의 개인 상태를 숨길 수 있는 기능을 추가할 수 있을지 궁금합니다.

5개의 좋아요

@bksubhuti 이것이 의도하신 내용인가요?

1개의 좋아요

저는 이 옵션이 항상 과하다고 생각했습니다. 온라인 상태 표시와 관련하여 '보이지 않음’으로 전환하는 것은 꽤 일반적인 기능이며, 프로필을 완전히 비활성화할 필요는 없습니다. 이 역시 비관리자 사용자에게 이 플러그인을 제공하지 않은 이유 중 하나입니다.

3개의 좋아요

해당 속성을 보지 못했지만, 빠르게 검색해보니 인터페이스에 있는 것을 확인했습니다.
프로필 헤더에 프로필 숨김 기능을 실제로 배치하도록 디스코र्स 개발팀에게 제안하는 주제를 만들 수도 있겠습니다. 그쪽에 두는 것이 더 논리적이라고 생각합니다. 인터페이스는 레이아웃과 설정과 더 관련이 깊으니까요.

네, 말씀하신 대로 작동합니다.

귀하의 플러그인을 정말 좋아하며, 노고와 빠른 답변에 감사드립니다. 저희는 100명 이상의 사용자를 가진 작은 디스코르스 커뮤니티이며, 동시에 접속한 사용자가 4명을 넘지 않는 경우가 대부분이지만, 채팅과 함께 이 기능을 사용할 수 있어 재미있습니다.

1개의 좋아요

게시물 2개가 새로운 주제로 분리되었습니다: 사용자가 온라인 상태인 사용자를 숨길 수 있도록 허용

간단히 말해, 프라이버시 설정으로 프로필을 비공개로 설정한 사용자는 온라인 목록에 표시되지 않습니다.

1개의 좋아요

3개의 게시물이 기존 주제에 병합되었습니다: 지금 저는 TL1에 있습니다. 남성의 신뢰 레벨에 대해 알려줄 수 있는 분 있나요?

이걸 테마 컴포넌트로 만들어서 모든 세부 정보가 아니라 기본 정보만 표시하는 건 가능할까요?
예를 들어, 최근 5분 또는 10분 동안의 방문자 수만 표시하는 식으로요.

감사합니다

다만 whos_online_active_timeagowhos_online_count_only만 설정하면 됩니다.

안녕하세요, @david
좋은 플러그인 감사합니다.
몇 가지 제안드릴게요.

  • 현재는 로그인된 모든 사용자의 수를 표시할 수 없으며, 활동 중인 사용자만 표시됩니다. 예를 들어, 로그인했지만 게시글을 쓰거나 반응하지 않은 사용자는 계산되지 않습니다. 로그인된 전체 사용자의 수를 표시할 수 있을까요?
  • 비로그인 방문자(게스트)의 수도 추가할 수 있을까요?

훌륭한 작업에 감사드립니다! 이 기능 개선 사항들을 고려해 주실 수 있을지 궁금합니다. 구현이 가능하거나 쉬운지 확신은 없지만요..

5개의 좋아요

이것이 Discourse에서 호스팅되는 Discourse에서 사용할 수 있나요?

components에 추가해 보았지만 오류가 발생합니다. 이 분야에는 처음이지만 빠르게 파악하는 편입니다.

이것은 플러그인이며, discourse 테마/컴포넌트가 아닙니다. 가입한 플랜에 해당 기능이 포함되어 있는지 확인해 보세요.

3개의 좋아요

이것은 #customization:theme이나 #customization:theme-component가 아니라 #customization:plugin입니다.
사용할 수 있는 플러그인은 호스팅 플랜에 따라 달라집니다.

이 플러그인을 사용하려면 Enterprise 호스팅이 필요합니다

4개의 좋아요

현재 접속자를 표시하는 컴포넌트가 있나요? 꽤 오래되고 기본적인 포럼 기능 아닌가요? 더 높은 수준의 구독자에게만 제한적으로 제공해야 할 것 같지는 않은데?

1개의 좋아요

틀린 부분이 있으면 언제든 지적해 주세요.

#customization:theme-component에 가장 가까운 것으로 떠올리는 것은 이겁니다:

2개의 좋아요

플러그인처럼 모든 구성 요소가 나열되어 있는 곳이 있을까요? 도움 주셔서 감사합니다!

모든 TC는 Customization > Theme component 카테고리에 있으며, #official과 같은 태그를 통해 추가로 필터링할 수 있습니다.

1개의 좋아요