[Mod] Knowledge Base

Started by Deaks, Nov 22, 2026, 01:50 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Deaks

Knowledge Base v1.0.4
Guides, documentation and support articles for SMF 2.1.x
By BoredSkull · ISC Licence

Give members one place to find answers to recurring questions. Knowledge Base lets you publish articles and organise them into categories such as Getting Started, Guides and Troubleshooting. From the admin area, you can edit articles, update category names and descriptions, and choose which categories are enabled.

Knowledge Base works on its own and uses SMF integration hooks, with no core or theme edits required. If you also use Questions & Answers, you can turn an accepted answer from a guest-readable board into a Knowledge Base article.



Release History

v1.0.4 — Article security, imports and upgrades

  • Safer article display — HTML entered in an article body is escaped before BBCode is applied, just as it is in forum posts. Article titles are also escaped when used in the page title.
  • Questions & Answers imports — Knowledge Base now checks the source board using SMF's board visibility rules. An answer can only be published as an article if guests can read that board. Importing an accepted answer also displays the intended characters in the editor instead of HTML entities.
  • Names and searches — Member names containing apostrophes or ampersands now display correctly. Long search terms are shortened without splitting an accented letter or emoji.
  • Database compatibility — Fixed the installer so it works on PostgreSQL as well as MySQL.
  • Upgrades — Added an upgrade path from v1.0.0 through v1.0.3 that preserves existing articles, revisions and votes.
  • Uninstallation — A normal uninstall keeps your Knowledge Base data. Selecting Remove all data now deletes the Knowledge Base tables, settings and permissions. Leave this option unchecked if you plan to reinstall and want to keep your articles.
  • Credits — Added a Knowledge Base credits line.

v1.0.2 — Administration and accessibility

  • Added a dedicated Knowledge Base section under Modification Settings and a redirect that takes administrators there after installation.
  • Made categories easier to distinguish with alternating backgrounds, clearer borders and more space between forms.
  • Improved keyboard focus indicators and adjusted the layout for smaller screens.



Download and Installation

Download the package attached to this topic. Take a current backup, then upload and install the package through Admin → Package Manager → Add Packages.

To manage articles and categories, go to Admin → Configuration → Modification Settings → Knowledge Base.

Support and Suggestions

For help or to report a bug, please use the Support board. Include your SMF version, Knowledge Base version and the steps that led to the issue. If you have an idea for a new feature, share it on the Requests board.
  • 👍 1

    Members who reacted


Deaks

1.0.4
  • Security: HTML typed into an article body is no longer output as-is. Bodies are now escaped before BBCode is applied, as forum posts are.
  • Security: article titles are now escaped in the page title.
  • Fixed: Questions & Answers source checks now use SMF 2.1's board visibility, so an article is only published from a board guests can really read.
  • Fixed: importing an accepted Q&A answer no longer fills the editor with HTML entities.
  • Fixed: member names with apostrophes or ampersands now display correctly.
  • Fixed: the installer now works on PostgreSQL as well as MySQL.
  • Fixed: long searches are no longer cut in the middle of accented letters or emoji.
  • Changed: ticking "Remove all data" when uninstalling now removes the Knowledge Base tables, settings and permissions. A normal uninstall still keeps everything.
  • Added: a credits line, and an upgrade path from 1.0.0–1.0.3 that keeps all articles, revisions and votes.
  • 0 reactions

    Members who reacted