Discourse カレンダーとイベント

:discourse2: 概要 Discourse Calendar and Events プラグインは、Discourse サイトに動的でインタラクティブなカレンダーとイベント機能を追加します。
:open_book: インストールガイド このプラグインは Discourse コアにバンドルされています。個別にインストールする必要はありません。

カレンダーとイベントの有効化

Calendar and Events プラグインは、admin/plugins ページからアクセスできるトグルまたは設定から有効化できます。

機能

ある意味当然ですが、Discourse Calendar and Events は、Discourse サイトにカレンダーとイベントの両方の機能を追加します。これらを使用すると、重要な行事やタイムラインを追跡するための個別のトピックカレンダーを作成したり、カテゴリ内にカレンダーを表示したり、休暇、欠席、病気の日などをマークするための祝日カレンダーを追加したり、インタラクティブなイベントトピックを作成したり、今後のイベントのすべての概要を簡単にアクセスできるカレンダーとして表示したりできます。

カレンダー

カスタムカレンダーは複数のトピックで作成でき、より高い可視性を望むものはカテゴリのトピックリストの上部に表示できます。

カレンダーの作成と使用方法に関する詳細な情報は、以下をご覧ください。

イベント

イベント機能を使用すると、トピックにインタラクティブな要素を挿入でき、メンバーがコミュニティの活動に参加したり、出席を表明したりできます。これらはすべて専用のサイト全体のカレンダーに要約され、ナビゲーションメニューに簡単にアクセスできるリンクを追加するオプションもあります。この機能の作成と使用方法に関する詳細な情報は、以下をご覧ください。

:exclamation: これは Pavilion の Events プラグイン(複数形に注意)と混同しないでください。

カレンダー設定

名前 説明
calendar enabled discourse-calendar プラグインを有効にします。これにより、トピックの最初の投稿で [calendar][/calendar] タグのサポートが追加されます。
holiday calendar topic id スタッフの休暇/欠席カレンダーのトピック ID。
holiday status emoji 休暇ステータスに使用される絵文字を定義します。
delete expired event posts after 期限切れのイベントを含む投稿は、(n) 時間後に自動的に削除されます。削除を無効にするには -1 を設定します。
all day event start time 開始時間が指定されていないイベントは、この時間に開始します。形式は HH:mm です。午前 6 時の場合は 06:00 と入力します。
all day event end time 終了時間が指定されていないイベントは、この時間に終了します。形式は HH:mm です。午後 6 時の場合は 18:00 と入力します。
calendar categories カテゴリの上部にカレンダーを表示します。必須設定は categoryId と postId です。例: categoryId=6;postId=453[1] その他の有効な設定: tzPicker[2], weekends[3], defaultView[4]
calendar categories outlet カテゴリカレンダーを表示する outlet を変更できます。
working days 稼働日を設定します。投稿で timezones タグを使用してグループの可用性を表示できます。例: [timezones group=admins][timezones]
working day start hour 稼働時間の開始時刻。
working day end hour 稼働時間の終了時刻。
close to working day hours extension 稼働時間を拡張してタイムゾーンを強調表示する時間を設定します。
calendar automatic holidays enabled ユーザーの地域に基づいて自動的に休暇ステータスを設定します(注: プラグイン設定で特定の自動休暇を無効にできます)。
map events title カテゴリに基づいてサイドバーカレンダーのタイトルをマップします。デフォルトは「Upcoming events」です。

イベント設定

名前 説明
discourse post event enabled イベント機能を有効にします。注: calendar enabled も有効である必要があります。
discourse post event allowed on groups イベントを作成できるグループ。
displayed invitees limit イベントに表示される招待者の数を制限します。
display post event date on topic title トピックタイトルの後にイベントの日付を表示します。
use local event date 相対時間の代わりに、トピックタイトルの後に現地の日付を使用します。
discourse post event edit notifications time extension 元の投稿での編集から going 招待者への通知期間を(分単位で)延長します。
discourse post event allowed custom fields 各イベントでカスタムフィールドの値を設定できるようにします。
events calendar categories カテゴリの上部にイベントカレンダーを表示します。
sort categories by event start date enabled イベントの開始日順にカテゴリトピックをソートする機能を有効にします。
disable resorting on categories enabled ユーザーがイベントカテゴリでソートする機能を無効にできるようにします。
sidebar show upcoming events 「More」の下にサイドバーに今後のイベントリンクを表示します。post event enabled が必要です。
map events to color 指定されたタグまたはカテゴリにイベントの色を割り当てます。

:information_source: :curling_stone: discourse-post-event/events.json エンドポイントには、簡易応答と詳細応答を切り替えるためのパラメータが追加されました。詳細応答を取得するには ?include_details=true を追加します:

/discourse-post-event/events.json?include_details=true

他のプラグインとの連携

このプラグインのコンポーネントを Right Sidebar Blocks と一緒に使用できます。Right Sidebar Blocks コンポーネントで目的のルートが有効になっていることを確認してください。ブロック名は upcoming-events-list です。過去には Calendar プラグイン自体で追加の設定が必要でしたが、これは簡素化されています。

デフォルトでは、サイドバーカレンダーは次のように表示されます。

時刻を表示したくない場合は、コンポーネントのブロック設定に空の timeFormat 値を追加できます。

:discourse2: 当方でホストされていますか?このプラグインは、Business および Enterprise ティアで利用可能です Calendar | Discourse - Civilized Discussion


  1. categoryId はカレンダーが表示されるカテゴリです。
    postId は [calendar][/calendar] でカレンダーを配置する投稿の ID です。 ↩︎

  2. カレンダーの右上にタイムゾーンピッカーを表示できます。デフォルトは False で、tzPicker=true で有効にできます。 ↩︎

  3. 土曜日と日曜日をカレンダーから非表示にできます。デフォルトは True です。weekends=false で False に設定できます。 ↩︎

  4. defaultView はカレンダーの表示(日、週など)を設定します。以下のように設定できます:

    defaultView=agendaDay
    defaultView=agendaWeek
    defaultView=month(デフォルト)
    defaultView=listNextYear ↩︎

「いいね!」 98
How to use the calendar plugin?
Events Plugin :calendar:
Discourse Calendar - How to?
Calendar plugin, nothing is displayed
Discourse 2.2.0.beta3 Release Notes
How to use the calendar plugin?
Discourse Calendar dislpay link text rather than link url
Ability to mark any post as unread
Is there a room booking plugin?
I am looking for a webhook or event api
Inserting date/time into new topic's title field (ie, right here > !)
📅 Event List Widget (Layouts Plugin)
Db:migrate fails on discourse-calendar
Moderator/Admin Off Duty Button
Go from a Wordpress + Discourse structure to a Discourse site only?
Creating sub-communities in a discourse server
Plugin to show upcoming events on hosted discourse
Plugin to gather approvals / signatures on an initiative?
Vacation autoresponder for users who are away?
Please better document the Discourse Calendar plugin
Add recurrent items within a date-range
Use Case Question - Room/Equipment Booking
Best practices for communicating to user base
Integrate with Discourse-calendar
My Wiki of useful Meta (and other) links
Quotes in event name clears attendees
Calendar in Discourse
Show Cakeday dates on the Calendar plugin
Agenda de colegio
What are your favorite plugins for your community?
Display a category as a calendar by scheduled Topic-timer dates
Why you should use Discourse internally for your company/team instead of Slack (4 years use case)
SEO applied to Discourse Official Plugins
Newbie question: Is there a comprehensive guide to configuring and administering Discourse instance?
Events Plugin :calendar:
When "closing" event it moves it to today's date & time
How to display different calendar views?
Discourse calendar and event iCal integration?
Can the auto-responder fire on @mentions?
Event/Calendar Plugin - Cannot select a user for bulk-invite
Help us test Horizon, our newest theme
Event Creation
500 Error when posting, moment.tz runtime error
Best practice for a topic for a recurring event
How to get "back" btn
Event Chat Channels Now Available
📅 New Calendar Feature: End Date for Recurring Events
🌍 New Calendar Feature: Show Local Time
What livestream/webinar platforms do you use?
Custom Wizard Plugin :mage:
ICS → Discourse Importer
How have you built a local community around Discourse?
Events Plugin :calendar:
What happens next?
Bundling more popular plugins with Discourse core
Easily create Events categories using the Calendar and Events plugin
Calendar subscription URLs for external calendar apps
Listing event invitees with email addresses
Discourse Daily Challenges
Upcoming Events Extra Buttons and Enhancements
Horizon: High Context Topic Cards
Besoin de renseignement pour informer une annulation d'événement
Current Projects - May 2026
It's easier than ever to create events in Discourse!
Easily create Events categories using the Calendar and Events plugin
It is very difficult to make events all day in the events modal (and 00:00 is confusing)
Bulk Invite via modal only allowing one user (and not displaying correctly)
Category Calendar with defaultView="listNextYear" not showing events
Calendar Core - Needs any special theme?
Creating and managing calendars
Sorting Categories by Title
Creating and managing events
Category Calendar with defaultView="listNextYear" not showing events
The "Save Changes" button is very low on my user preferences interface page
Group Timezones
Available hours / work hours flair
Could use help, setting up new community
Feature request: wrap calendar items when there's just one per day
Right Sidebar Blocks
Custom Discourse instance for a writers club
Unread messages blue numbers appearing in Latest lately (when they shouldn't)?
Database migration chokes on huge value of a "calendar-details" item in table "post_custom_fields"
"Out of office" user indicator
Database migration chokes on huge value of a "calendar-details" item in table "post_custom_fields"
Events Plugin :calendar:
Events Plugin :calendar:
Calendar plugin features to make it really useful for us
Topic List Previews (TLP)
"Out of office" user indicator
Can discourse display topic replies in reverse order?
Discourse Livestream
New to Discourse, have some questions :)
Expired events with end times are being removed from upcoming-events even with setting set to -1
Setup Continuous Integration using GitHub Actions
Add color to events based on event category or tag?
Is there any way to change the starting date of the Calendar?
Add color to events based on event category or tag?

このプラグインは有望ですが、Pavilion のプラグインから移行できないようにする、いくつかの機能が不足しています。

  • 開始時刻とともに終日ではないイベントをカレンダーに表示する。現在はすべてのイベントが終日イベントのように見えます。

  • コンポーザー内のタグセレクターの隣に「イベントを追加」ボタンを配置する(歯車アイコンに隠さない)。

  • イベントを作成できるカテゴリを制限し、カテゴリ内でイベントが必須かどうかを設定する。

あったら嬉しい機能:

  • トピックのイベントメタデータが、カーソルがある場所ではなく、トピックの先頭にのみ表示/入力されるようにする。
  • カテゴリ内でイベントを作成できるグループを制限する(例:「EventPlanners」グループのみが「Discussion」カテゴリでイベントを作成でき、他のすべてのユーザーはイベントではないトピックを作成できる(またはトピックがウィキに設定されている場合はトピックを編集できる))。
  • /upcoming-events の URL を /calendar に変更する。
「いいね!」 13

2件の投稿が新しいトピックに分割されました: Holiday status being incorrectly applied

こんにちは、
この度はありがとうございます。

UXに関する質問が2つあります。

  • トピックエディターで、「場所を追加」ボタンの隣に「イベントを追加」ボタンを表示することは可能でしょうか? パビリオンプラグインの時と同じように。
    image

  • カレンダーのトップメニュー項目を追加することは可能でしょうか? 設定で見つかりません。

素晴らしいですね!いくつか考えや質問があります。

カレンダーを作成するには、新しいスレッド/トピックを作成し、以下を貼り付けるだけでよいと解釈してよろしいでしょうか。

カレンダー名

[calendar]
[/calendar]

次に、カレンダーにエントリを追加するには、投稿オプションの「時刻/日付の挿入」アイコンをクリックして、以下のようなものを投稿するだけでよいのでしょうか。

イベント/エントリ名

[date-range from=2024-04-18 to=2024-04-19 timezone="Europe/London"]

これにより、エントリがカレンダーに追加されるのは素晴らしいのですが、以下の点について質問があります。

  • カレンダーにエントリを追加し、かつ、そのエントリに専用のスレッド/トピックを持たせる方法はありますか?(新しいスレッドにイベントを追加できることは確認しましたが、それらのイベントをカレンダーに追加する方法は見当たりません。)
  • ダイジェストメールや左側の列に、特定のカレンダーの「今後のイベント」を表示する方法はありますか?各エントリがそのエントリ専用のスレッドにリンクされるような形です。

現在これが可能でない場合、追加する予定はありますか?

「いいね!」 1

@vinothkannans このPRのレビューを手伝っていただけますか?

「いいね!」 1

購読できるURLフィードを追加する予定はありますか? RSVPしたイベントのみか、すべてのイベントか、トリッキーなことになると確信しています。

次に、プライベートイベントを認識できれば、追加レイヤーは素晴らしいものになるでしょう(または、グループごとに異なるURLフィードかもしれません)。

「いいね!」 6

しかし、/upcoming-events URL用のRSSフィードはありません。それは良い追加機能になるでしょう!

「いいね!」 3

CalDAV同期についてはどうですか?

「いいね!」 6

それは私にとっても切り替える理由になりますね。

これはさらに更新が必要です。コンポーザーでのイベント挿入と、写真とは異なるイベント詳細の追加について言及しています。イベントはアドオンだったのでしょうか?

プラグインをインストールしましたが、トピックの最初の投稿ではカレンダータグが機能します。しかし、ギアメニューにイベントやカレンダーのオプションが表示されません。

ギアメニューにイベントオプションを表示するには、どうすればよいか説明していただけますか?

プラグイン discourse post event enabled のイベント部分を有効にする必要があります。

「いいね!」 2

ありがとうございます。どういうわけかこの設定を見落としていました。

「いいね!」 3

イベントの返信をイベントとして表示するには、カテゴリトピックでイベントを作成するにはどうすればよいですか?

イベントの作成は新しいトピックの作成で機能することはわかっています。しかし、トピック内にカレンダーを配置し、返信でイベントを追加したいと考えています。日付の挿入では部分的に機能しますが、イベントの作成ほど多くのオプションがないため、それほど良くはありません。

「いいね!」 1

現在、ユーザーはプロファイル設定で地域を設定できます。

サインアップ時にこのフィールドを登録フォームに表示して、地域を設定できるようにしたいのですが、可能でしょうか?

「いいね!」 2

削除された返信はカレンダーに表示されますか?

最初の曜日を月曜日に変更する設定が見つかりません。もし欠けている場合、実装は容易でしょうか?:thinking:

別の問題は、日時入力が壊れていることです。終日イベントの場合、時間入力フィールドが日付を台無しにする前に、それを選択するオプションがあるべきです。また、編集時に日付がランダムに変更されるようです。

また、時間と日付の両方に00:00を入力できることにも気づきました(時々機能し、時々機能しません)。これによりカレンダーにエラーが発生し、下書きとの競合が発生して、ページが以前のリビジョンにロールバックされ、再編集されるまで422エラーが繰り返されます。

「いいね!」 3

こちらを参照してください

「いいね!」 1

そのような設定はありません。だから私はそれを使用しません。そして、それが簡単なトリックであれば、チームはそのエラーを修正すると私は確信しています。

「いいね!」 1