Discourse Calendar (and Event)

I’m fairly new to Discourse, so apologies if this is not the right place for it. How can I support this feature (set the week starting date to Monday in calendars)?
Starting on Sunday is really awkward and confusing for us.

2 Likes

Make a topic in feature with the tag calendar-and-event , I think.

1 Like

I don’t know how, because nowadays week starts from monday. Because it doesn’t follow my personal language setting then it may follow language of forum?

edit

And this I found.

So, if it shows sunday starting a week there is either a bug, forum is un-updated or you are usin some other calendar-plugin?

2 Likes

Hum, I have updated both discourse and the plugin yesterday, it’s the right plugin, and my weeks are still starting on Sunday. That’s weird.

Edit: the category calendar starts on Sunday, but the calendar in the post starts on Monday. That’s probably a bug.

I think it is expected to work like this

2 Likes

Ah, let me have a look since I’m in the vicinity.

3 Likes

Just a small update that I took a look at “Monday”. It’s a little interesting because it looks like we’re doing all the correct things in setting up the calendar.

Ideally what should happen now is that we use your site’s locale to set the calendar’s locale (not user’s locale). If we use “en-gb” for example, it should use Monday per fullcalendar/locales/en-gb.js at v4.0.0-alpha.3 · fullcalendar/fullcalendar · GitHub, though I am seeing that is not the case despite the docs saying so - weekNumberCalculation - Docs v4 | FullCalendar.

We can force a “Monday” by using an “ISO” setting on the calendar itself but it does not feel right.

In any case stay tuned for an update. We are using a very old version and could use a refresh.

4 Likes

Hello! I’m planning to integrate this plugin with events on Jitsi and I wonder if there is possible to display the birthdays of users as events?

That should enable cool automations to engage :slight_smile:

1 Like

Have you seen the Cakeday plugin?

2 Likes

It sounds to me like you are wanting an automation that creates a topic when a birthday rolls around with the event already added to the topic. That way people could be invited to join in a discussion to share pictures or whatever to celebrate a member’s birthday. And you could also schedule a birthday party using jitsi!

2 Likes

2 posts were merged into an existing topic: Bulk Invite via modal only allowing one user (and not displaying correctly)

Howdy, all! I’ve just fixed a small issue regarding the integration with the Right Sidebar Blocks component.

Previously, a week-long event would only show the first day (even if it had passed) and no subsequent days:


(Note: this was taken on the 28th, and the 15th is still hanging out)

Now each day of the event from the current day forward will show up in the sidebar calendar:

2 Likes

Was it intentional to remove the “Invited Groups” field from the create event dialog? I looked through the commit history and didn’t see any mention of this desire but maybe I missed it. When I roll back a couple of weeks to commit: 54460416c2efe30f8265ed7b5aa06743f615e8b3 this functionality is restored.

Example of previous behavior:

Current Behavior (commit: 588052ff0ddd6c399659f4545ef4525967a3a4e1):

If you select “Private”, does the field reappear?

It does not, sorry, I should have included a screenshot with that exact state:

You can observe the same behavior on the try.discourse.org site.

I confirmed that the commit directly after the good one I somewhat randomly picked introduces the change: b4c4e4e0bcc94b99ef8b582454e938a72389867d

DEV: migrate post event to glimmer (#615)
    
    This commit is making two major changes:
    
    - Move all the post event widgets code to glimmer
    - Implement tracked models to ensure reactivity, many paths didn't have real reactivity atm and were mostly working by luck or the fact that widgets re-render a lot
1 Like

Hi Everybody :wave:

we want to switch from eventPlugin to this official plugin. Actually most of our requirements do work now completely with this plugin as well.

I just saw one minor Bug:

And there is one requirement we´d love to have:

  • we need to be able to force all topics in category need to be an event, in our forum we have separate calendar categories.

If i can help with anything just let me know.

Thanks for your time, cheers Richarde

I’m using the calendar plugin with event colors. However, it only seems possible to set the background color to an explicit value. This means the same background color is used for dark and light mode, whereas the font color changes, resulting in some challenges for supporting accessibility.

Looking at the source code, it appears to be managed by a JSON schema discourse-calendar/lib/discourse_calendar/site_settings/map_event_tag_colors_json_schema.rb at main · discourse/discourse-calendar · GitHub.

Is there a way to set this to an SCSS variable defined in a color_definitions.scss, so it can use the #dark-light-choose() function to switch depending on mode? The editor allows switching between RGB, HSL and HEX, but HEX forces upper case and has a character limit, so can’t be used.

Alternatively, would be it possible to define color as well as background color?

I check to see if it added the relevant tag / category it’s using to the HTML tags, but it’s not. That would have allowed programmatic setting of the styling separate from the plugin settings.

Any suggestions or feasibility of enhancements would be welcome.

1 Like

Hello, is there a way to limit the amount of people of seats for a puplic Meeting? If not is there a way to allow only specific groups to attend certain meetings? Thank you

I’ve been using this plugin on a production (docker) site. No problem. Works as described. And it would solve one of the main problems of my client if the “event” component had one more feature.

Missing feature: put members who say “Yes” to the invitation in a dedicated group.

Intended solution:

  • use the (event) custom field to enter the name of the dedicated group
  • write a plugin that add everyone who clicks “Yes” in that group

My problem: I cannot start developing a plugin as the Calendar and Event plugin does not seem to work in my (non-docker) development server. Though the plugin appears to compile well, saving a topic takes a long time and end up with an internal error. But the topic itself seems to be stored in the database. If I click on it, I get this error message: “Sorry, we couldn’t load that topic”.

Upon removing the Calendar plugin, the topics and posts can be accessed without any problem.

Has anybody experienced a similar behaviour? How I can proceed best to get around this hurdle?