makarakri You can display the discussion ID in both the listing and discussion pages by customizing your Flarum frontend templates or extending via JavaScript. For a simple approach, modify the ItemList rendering in the DiscussionListItem.js file to include discussion.id() next to the title. Similarly, in DiscussionPage.js, you can append the ID in the header or title section.
If you prefer a clean, update-safe solution, create a small extension that extends these components with:
extend(DiscussionListItem.prototype, 'view', function (vnode) {
vnode.children.unshift(m('span.Discussion-id', #${this.attrs.discussion.id()}));
});
This way, you won’t need to edit core files, and it will persist across updates.