Calendario Discourse (e evento)

:discourse2: Summary Discourse Calendar and Event adds dynamic and interactive calendar and event features to your Discourse site.
:open_book: Install Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately.

Enabling Calendar (and Event)

The Calendar plugin can be enabled either by the toggle or from its settings, both accessible from your admin/plugins page:

/admin/plugins

Features

Somewhat unsurprisingly, Discourse Calendar (and Event) adds both the calendar and event features to your Discourse site. With these, you can create individual topic calendars to track important occasions or timelines, display calendars in categories, add a holiday calendar to mark vacations, absences, or sick days, create interactive event topics, as well as show an easy-access calendar summary of all of your upcoming events.

Calendars

Bespoke calendars can be created in multiple topics, and ones you wish to give higher visibility to can be displayed above a category’s topic list.

You can find more detailed information on how to create and use calendars in:

Events

The Event feature allows interactive elements to be inserted into topics which your members can use to sign up to attend or participate in your community’s activities. These are all summarised in a dedicated site-wide calendar, with the option to add an easy-access link to your navigation menu. You can find more information on how to create and use this feature in:

:exclamation: This should not be confused with Pavilion’s Events plugin (note the plural)

Calendar Settings

Name Description
calendar enabled Enable the discourse-calendar plugin. This will add support for a [calendar][/calendar] tag in the first post of a topic.
holiday calendar topic id Topic ID of staffs holiday / absence calendar.
holiday status emoji Defines the emoji used for the holiday status.
delete expired event posts after Posts with expired events will be automatically deleted after (n) hours. Set to -1 to disable deletion.
all day event start time Events that do not have a start time specified will start at this time. Format is HH:mm. For 6:00 am, enter 06:00
all day event end time Events that do not have a end time specified will end at this time. Format is HH:mm. For 6:00 pm, enter 18:00
calendar categories Display a calendar at the top of a category. Mandatory settings are categoryId and postId. eg: categoryId=6;postId=453[1] Other valid settings: tzPicker[2], weekends[3] and defaultView[4].
calendar categories outlet Allows to change which outlet should show the category calendar.
working days Set working days. You can display the availability of a group using the timezones tag in a post, eg: [timezones group=admins][timezones]
working day start hour Start time of the working day hours.
working day end hour End time of the working day hours.
close to working day hours extension Set extension time in working day hours to highlight the timezones.
calendar automatic holidays enabled Automatically set holiday status based on a users region (note: you can disable specific automatic holidays in plugin settings)
map events title Maps title of the sidebar calendar based on category. Defaults to “Upcoming events”

Event Settings

Name Description
discourse post event enabled Enables the Event features. Note: also needs calendar enabled to be enabled.
discourse post event allowed on groups Groups that are allowed to create events.
displayed invitees limit Limits the numbers of invitees displayed on an event.
display post event date on topic title Displays the date of the event after the topic title.
use local event date Use local date after topic title instead of relative time.
discourse post event edit notifications time extension Extends (in minutes) the period after the end of an event when going invitees are still being notified from edit in the original post.
discourse post event allowed custom fields Allows to let each event to set the value of custom fields.
events calendar categories Display an events calendar at the top of a category.
sort categories by event start date enabled Enable the sorting of category topics by event start date.
disable resorting on categories enabled Allow categories to disable the ability for users to sort on the event category.
sidebar show upcoming events Show upcoming events link in the sidebar under ‘More’. Requires post event enabled
map events to color Assigns an event color to a specified tag or category

:information_source: :curling_stone: The discourse-post-event/events.json endpoint now has an added parameter to switch between simple and detailed response. To get the detailed response you can add ?include_details=true:

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

Integrations with Other Plugins

You can use a component from this plugin with Right Sidebar Blocks. You’ll want to ensure the desired route is enabled in the Right Sidebar Blocks component. The block name will be upcoming-events-list. Historically, there were additional settings required in the Calendar plugin itself, but this has been streamlined.

This is how the sidebar calendar will appear by default.

If you don’t want the time, you can add an empty timeFormat value in the component’s block setting.

:discourse2: Hosted by us? This plugin is available on our Business and Enterprise tiers Calendar | Discourse - Civilized Discussion


  1. categoryId is the category the calendar will be displayed on top of.
    postId is the post in which you put the calendar in with [calendar][/calendar] ↩︎

  2. it can display a time zone picker on the upper right of the calendar. False by default, you can enable it with tzPicker=true ↩︎

  3. it can hide Saturdays and Sundays from the calendar. True by default. You can set it to false with weekends=false. ↩︎

  4. defaultView will set the calendar’s view (day, week, etc;). It can be set as:

    defaultView=agendaDay
    defaultView=agendaWeek
    defaultView=month (default)
    defaultView=listNextYear ↩︎

97 Mi Piace
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?
📅 Event List Widget (Layouts Plugin)
I am looking for a webhook or event api
Inserting date/time into new topic's title field (ie, right here > !)
Db:migrate fails on discourse-calendar
Creating sub-communities in a discourse server
Plugin to show upcoming events on hosted discourse
Please better document the Discourse Calendar plugin
Go from a Wordpress + Discourse structure to a Discourse site only?
Vacation autoresponder for users who are away?
Plugin to gather approvals / signatures on an initiative?
Moderator/Admin Off Duty Button
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
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
Help us test Horizon, our newest theme
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
Bulk Invite via modal only allowing one user (and not displaying correctly)
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
Events Plugin :calendar:
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
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?
Add recurrent items within a date-range

Questo plugin è promettente, ma mancano alcune funzionalità che ci impediscono di passare dal plugin di Pavilion

  • Visualizza eventi non giornalieri con l’ora di inizio nel calendario, attualmente ogni evento sembra un evento giornaliero.

  • Pulsante “Aggiungi evento” nella finestra di composizione accanto al selettore di tag (non nascosto nell’icona a forma di ingranaggio)

  • Limita quali categorie possono avere eventi e se gli eventi sono obbligatori in una categoria

FunzionalitĂ  desiderabili:

  • I metadati dell’evento nell’argomento appaiono/vengono inseriti solo nella parte superiore dell’argomento (invece che ovunque si trovi il cursore)
  • PossibilitĂ  di limitare quali gruppi possono creare eventi in una categoria (ad esempio, solo il gruppo ‘EventPlanners’ può creare eventi nella categoria ‘Discussion’, ma tutti gli utenti possono creare argomenti non di eventi (o modificare argomenti se l’argomento è impostato su Wiki)
  • Modifica l’URL di /upcoming-events in /calendar
13 Mi Piace

2 post sono stati divisi in un nuovo argomento: Holiday status being incorrectly applied

Ciao,\nGrazie per questo lavoro.\n\nHo 2 domande sull’UX:\n\n- È possibile visualizzare il pulsante "Aggiungi evento" accanto al pulsante "Aggiungi località" nell’editor dell’argomento? Come accadeva con il plugin pavillion?\nimage\n\n- C’è la possibilità di aggiungere la voce del menu principale Calendario? Non la trovo nelle impostazioni\n

Questo sembra ottimo! Alcuni pensieri/domande:

Corretto nel presumere che per creare un calendario sia sufficiente creare un nuovo thread/topic e incollarvi quanto segue:

Nome del Calendario

[calendar]
[/calendar]

Quindi, per aggiungere voci al calendario, è sufficiente creare un nuovo post nello stesso thread con qualcosa di simile a quanto segue (facendo clic sull’icona inserisci ora/data nelle opzioni di post):

Nome dell'Evento/Voce

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

Questo aggiunge la voce al calendario, il che è fantastico, tuttavia:

  • C’è un modo per aggiungere voci a un calendario ma consentire a tali voci di avere anche un thread/topic dedicato? (Vedo che è possibile aggiungere eventi in nuovi thread, ma non sembra esserci alcun modo per aggiungere tali eventi a un calendario).
  • C’è un modo per includere gli “Eventi Imminenti” da un calendario specifico nelle email di riepilogo? O forse nella colonna di sinistra, e con ogni voce che rimanda al thread dedicato per quella voce?

Se al momento non è possibile, avete in programma di aggiungerlo?

1 Mi Piace

@vinothkannans Potresti aiutarmi a rivedere questa pr?

1 Mi Piace

Ci sono piani per aggiungere un feed URL a cui gli utenti possono iscriversi? Sono sicuro che sarebbe complicato per tutti gli eventi rispetto a quelli a cui hanno risposto.

In secondo luogo, sarebbe fantastico un ulteriore livello se potesse riconoscere eventi privati (o forse si tratta solo di un feed URL diverso per gruppo).

6 Mi Piace

Tuttavia, non esiste un feed RSS per l’URL /upcoming-events: sarebbe una bella aggiunta!

3 Mi Piace

E per quanto riguarda la sincronizzazione CalDAV?

6 Mi Piace

Sarebbe anche per me un motivo per cambiare, in effetti.

Questo necessita di ulteriori aggiornamenti poiché menziona l’inserimento di un evento nel compositore e l’aggiunta di dettagli dell’evento non come nella foto. A meno che Event non fosse un componente aggiuntivo?

Ho installato il plug-in e il tag del calendario funziona nel primo post di un argomento. Ma non vedo opzioni di eventi o calendario nel menu a ingranaggio:

Qualcuno può per favore spiegarmi cosa devo fare per ottenere l’opzione evento nel menu a ingranaggio?

Devi abilitare la parte Event del plugin discourse post event enabled

2 Mi Piace

Grazie. In qualche modo mi ero perso questa impostazione.

3 Mi Piace

Come si fa a far apparire “Crea evento” in un argomento di Categoria con risposte che sono eventi?

Vedo che “Crea evento” funziona per la creazione di nuovi argomenti. Ma sto cercando di avere un Calendario in un argomento con risposte che aggiungono eventi. Funziona parzialmente con “Inserisci data”, ma non è buono come “Crea evento” che ha più opzioni.

1 Mi Piace

Attualmente gli utenti possono impostare la regione nelle preferenze del loro profilo.

Vorrei consentire loro di impostare la regione durante la registrazione mostrando questo campo nel modulo di registrazione. È fattibile?

2 Mi Piace

Una risposta eliminata apparirĂ  ancora nel calendario?

Non riesco a trovare alcuna impostazione per cambiare il primo giorno della settimana in lunedÏ, è banale da implementare se manca? :thinking:

Un altro problema è che l’inserimento di ora e data non funziona, se si tratta di un evento di un’intera giornata dovrebbe esserci un’opzione per selezionarlo prima che i campi di inserimento dell’ora rovinino le date, e le date sembrano cambiare casualmente durante la modifica.

Ho anche notato che è possibile inserire 00:00 sia nell’ora che nella data (il che a volte funziona, a volte no), portando il calendario a dare un errore che causerà quindi un conflitto con le bozze portando a un errore 422 ripetuto fino a quando la pagina non viene ripristinata a una revisione precedente, quindi ri-modificata, ecc.

3 Mi Piace

[quote=“slower, post:10, topic:277113, full:true, username:joo”]
Quando attivo questa automazione, il contenuto “Ultima modifica di” viene aggiunto automaticamente al Calendario. Sto cercando consigli se si tratta di un bug o di un problema con le mie impostazioni. Qualcuno potrebbe chiarire?


[/quote]Si prega di fare riferimento qui

1 Mi Piace

Non esiste un’impostazione del genere ed è per questo che non la uso. E scommetto che il team risolverebbe quell’errore se fosse un trucco banale.

1 Mi Piace