| Summary | Adds personal and group message inbox links to the sidebar, including unread message indicators | |
| Preview | Theme Creator | |
| Repository | GitHub - moin-Jana/sidebar-messages-section: Adds personal and group message inbox links to the sidebar, including unread message indicators. | |
| Install Guide | How to install a theme or theme component | |
| New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
The component adds a Messages section to the sidebar with links to personal message inboxes - both the user’s personal inbox and any group inboxes they have access to. The section also includes a button for composing a new personal message next to the section heading.
Personal inbox
By default, the component adds a link to the personal inbox for all users. With the show_personal_inbox setting, admins can also hide it entirely or show it only for users who are allowed to create PMs based on the Personal message enabled groups site setting. This mirrors how the personal inbox link appears in the notifications menu, the user’s profile, and the Community section of the sidebar.
To avoid duplicate links to the personal inbox, you may want to remove the messages link in the first section of the sidebar. You can do this by opening the More menu and selecting Customize this section, then remove the Messages link from the section.
Group inboxes
All group inboxes that contain at least one message and that the user is a member of will appear automatically in their sidebar. Admins can hide specific group inboxes using the hide_group_inboxes setting, which can be useful when a group inbox is no longer actively used.
A separate setting, use_group_page_inbox, lets you choose whether group inbox links open in the user’s messages interface (/my/messages/group/{group_name}) or on the group page (/g/{group_name}/messages/inbox).
Unread indicator
Each inbox link shows the current message state based on the user’s preference for “Show a count of the new items”: either a dot or the numeric count. Values above 100 are displayed as 99+.
Advanced group inbox configuration
To customize the order of group inboxes or change the name displayed in the sidebar, you can use the advanced_group_inbox_configuration setting.
In this setting you can:
- select a group from a dropdown
- optionally define a custom name that will be shown in the sidebar
- reorder the configured groups using the buttons at the bottom
The custom name is also helpful inside the setting itself.
If no name is provided, the entry will be labeled as group 1, group 2, etc. (based on its position). Adding a temporary name can make reordering easier, and you can remove it again before saving if you like.
Groups with messages that are not added to the advanced configuration will still appear in the sidebar, listed after the configured ones and ordered by their group ID.
Groups listed in the hide_group_inboxes setting will always be hidden, regardless of whether they are also present in the advanced configuration or have messages. An admin-only warning helps highlight when a group is added to both settings.
You can see an example configuration and how it affects the order and displayed names in the screenshots below:
Position of the messages section
To change the position of the messages section you can either use CSS, for example
Alternatively, you can install Navigation (sidebar) menu display control component which includes a setting for changing the order of sections in the sidebar. Use inbox-section as the section name when adjusting its position.





