Site Notices
How to Use Site Notices
Site notices are banners that appear at the top of your forum pages and home page. They're perfect for announcing updates, or important information to your community.
Creating a Notice
- Log into your admin panel
- Navigate to Site Notices from the admin menu
- Enter your message in the text box
- Choose a color scheme that matches the notice type (info for general updates, warning, success for something new, etc.)
- Check "Display notice" to make it visible
- Check "Allow users to dismiss" if you want users to be able to close it
- Click Save Notice
Using HTML Formatting
You can use basic HTML tags to format your notice:
- Links:
<a href="https://example.com">Click here</a> - Bold text:
<strong>Important</strong>or<b>Important</b> - Italic text:
<em>Note</em>or<i>Note</i> - Line breaks:
<br>
Example: Update 1.1.0 now available! <a href="/updates">Read more</a>
When Users See It Again
If a user dismisses your notice, they won't see it again - unless you edit the message. When you change the notice text and save it, everyone will see the updated message, even if they dismissed the previous one.
This means you can update the same notice over time without users missing important changes.
Best Practices
- Keep notices brief - users should understand the message at a glance
- Hide notices when they're no longer relevant (uncheck "Display notice" rather than deleting the text)
- Use appropriate colours - warning (yellow) for maintenance, info (blue) for general updates, success (green) for new features
- Make notices dismissible unless the information is critical and time-sensitive
- Update the message rather than leaving the same notice displayed for months
Where Notices Appear
Notices display on:
- Forum pages (where most user activity happens)
- Home page (first impression for visitors)
In core, notices do not appear on knowledge base articles, as these are reference pages where users are focused on reading specific content.
Add to Document
If you want to display the notice banner on additional pages (such as knowledge base articles), you can manually add it by editing the page file.
For example, to add the banner to knowledge base articles, open knowledge_document.php and add this line after <div class="py-4">, add:
<?php include __DIR__ . '/includes/notice_banner.php'; ?>
The banner will automatically check if a notice is active and display it appropriately. You can add this include to any page where you want the notice to appear.
Support
Any problems, report to the Troubleshooting section of the forums.
Is this document high quality? Or does it need improvement? High ranking articles display in the footer, admin notified if improvements required.