Enable Notification Banner

:information_source: Summary Adds a banner prompting users to enable browser notifications. Only shows if notifications aren’t already enabled and displays once every 2 days.
:hammer_and_wrench: Repository GitHub - mihirranjan7/Enable-Notification-Banner-
:question: Install Guide How to install a theme or theme component
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

This theme component adds a banner prompting users to enable browser notifications. The banner only appears for users who haven’t already enabled notifications and shows once every 2 days to avoid being intrusive.

Features

  • Only shows to users who haven’t already enabled notifications
  • Shows once every 2 days
  • Clean, mobile friendly interface
  • Supports both dark and light themes
  • No dependencies

Installation

  1. Go to Admin Sidebar > Appearance > Themes
  2. Click the Install button
  3. Select From a git repository
  4. Enter the following URL: https://github.com/mihirranjan7/Enable-Notification-Banner-
  5. Click Install

Settings

This component currently doesn’t have any configurable settings. It works with default settings out of the box.

Compatibility

Compatible with the latest version of Discourse and modern browsers that support notifications.

Feedback

If you encounter any issues or have suggestions for improvements, please:

Additional resources

3 Likes

Thanks, I installed that TC but I do not see where to change the settings. Also the TC name is “Notification banner”, I think it’s too vague, it does not reflect the purpose of the component.

2 Likes