Discourse オンラインユーザー

:discourse2: 概要 Discourse Who’s Online は、現在サイトにアクティブなユーザーのリストを表示します
:hammer_and_wrench: リポジトリリンク https://github.com/discourse/discourse-whos-online
:open_book: インストールガイド Discourse でのプラグインのインストール方法

機能

:information_source: このプラグインのインストール前に慎重に検討してください。Discourse は非同期の議論を想定して設計されており、オンラインユーザーのリストは一部のコミュニティにとって有害になる可能性があります

:information_source: このプラグインは、100 人未満の同時ログインユーザーを持つコミュニティ向けに構築されています。大規模なサイトへのインストールも可能ですが、フォーラム全体のパフォーマンスに悪影響を与える可能性があります。

オプションで、ユーザーのアバターにオンラインステータスを表示することもできます。「リング」「グロー」、または左上の「フレーア」アイコンのいずれかを使用します。

このプラグインは MessageBus を使用して最新情報を維持するため、ユーザーのステータスはリアルタイムで反映されます。「プロフィールと存在を非表示」設定を有効にしているユーザーは表示されません。利用可能なサイト設定と言語文字列を使用して、いくつかの項目をカスタマイズできます。

設定

これらは、管理設定パネルの「プラグイン」セクションで利用可能です。

  • whos_online_active_timeago: ユーザーがオンラインと見なされる最大「最終アクセス」時間(分)
  • whos_online_collapse_threshold: アバターが互いに重なり始める前のユーザー数(上記の GIF を参照)。この機能を無効にするには非常に高い値を設定してください
  • whos_online_maximum_display: 表示するアバターの最大数。数値カウンターはこれよりも高い値をカウントし続けます。誰が表示されるかの選択は現在一貫していません
  • whos_online_minimum_display: 表示するアバターの最小数。これより少ない場合、「オンラインユーザーなし」というメッセージが表示されます
  • whos_online_hide_below_minimum_display: 有効にすると、ユーザー数が minimum_display より少ない場合、ウィジェット全体が非表示になります
  • whos_online_display_public: プラグインをログインしていない人に表示するかどうか。デフォルトは true です
  • whos_online_display_min_trust_level: このプラグインが表示される最小信頼レベル。デフォルトは 0 です
  • whos_online_avatar_indicator: ユーザーアバターにオンラインステータスをどのように表示するかを選択します。デフォルトは「リング」です
  • whos_online_avatar_indicator_topic_lists: モバイルのトピックリストと「カテゴリと最新」ビューでアバターインジケーターを表示します。デフォルトはオフです
  • whos_online_count_only: 有効にすると、カウントのみが表示されます。オンラインユーザーの身元は公開されません

:speech_balloon: フロントエンド言語文字列

これらは、管理パネルのカスタマイズテキストコンテンツwhos_onlineを検索)で利用可能です。これらには以下が含まれます:

  • js.whos_online.no_users | 「現在オンラインのユーザーはいません」:ユーザー数が whos_online_minimum_display 設定未満の場合に表示されるメッセージ。
  • js.whos_online.title | 「オンライン({{count}})」:アバターリストの前に表示されるテキスト。{{count}}はオンラインユーザー数です。
  • js.whos_online.tooltip | 「過去 5 分間に見られたユーザー」:テキストにマウスオーバーしたときに表示されるテキスト。
「いいね!」 151
[Paid] "What's Going On?" plugin. [COMPLETE]
How do I bring back my community that was very active 10 years ago?
Quick Messages Plugin
Babble Chat
Do you display the list of live forum users on your counterpart website?
Split profile hiding and presence
Who's online "action"
Contributor Interviews – David Taylor
Advice for getting my little game dev community "out there?"
Need cool plugin feedback suggestions?
No online status in Topic List
Community Network Visualisation
Change Online (x) text to pulsing green dot
MKJ's Opinionated Discourse Deployment Configuration
Can I activate my plugin only for those registered on the site?
Who's online crazy load
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?
How minimal is your forum?
Who's Online doesn't work for me
TavoWEB theme for Discourse
Correct way to build components
[Paid] "What's Going On?" plugin. [COMPLETE]
Topic Author
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?
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?
Failed to construct 'Notification': Illegal constructor
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