Write my own Global Alerts

AI-generated summary

Writing Custom Global Alerts in Discourse

@MidnightCheesePizza asked about creating custom global alerts in Discourse, similar to the example provided. @davidkingham suggested using the global_notice setting in site settings, which allows administrators to display a sitewide notice that can be removed when needed.

@MidnightCheesePizza successfully implemented the solution and thanked @davidkingham for the help.

@Stephen suggested marking the solution to help future users searching for the same answer.

Additionally, @ddF asked about creating a dismissible global notice, and @riking recommended using a Banner Topic, which can be found in the topic wrench menu, allowing users to dismiss the notice.

I just got done with my fresh install of discourse and was wondering if there is a place or plugin I could use to write my own global alerts like these:

I’d like to have that function so when changes or updates happen to the site, I can just post a new alert that all users will see when they log in or return to the site.

Love Discourse so far and I’m sure I’ll have a bunch more questions.
Thanks!

Look in your site settings for global_notice, whatever you input in here will display sitewide like you want until you remove it.

Awesome! Was able to find that and edit it quickly. Appreciate your time and help. Thank you!

If @davidkingham solved your query you don’t need to edit the title. You can mark his reply as the solution, which will in turn mark this topic as solved.

Awesome thank you. The ‘solution’ option wasn’t next to the heart at the time of editing. My apologies but I now know for the future. :+1:

Sure, it’s nothing to apologize for, the topic wasn’t in Support, so the solved status wasn’t available. I moved it for you so that you had the option to mark the solution.

It just makes it easier for anyone who searches in the future. They can immediately see their question has already been solved, and find the reply in question.

Can i write global notice but can dismiss by user?

Use a Banner Topic to create a notice that is dismissable by users. It’s underneath the Pin Topic… option in the topic wrench menu.