nodebb-plugin-support-forum
v4.2.0
Published
Turns a single category into a "Support Forum", topic creators can only see their own topics
Maintainers
Readme
Support Forum Plugin
In a nutshell, this plugin allows a forum admin to configure one category as a "Support Forum". The category will then differ in one significant way: Topics created by regular users can only be seen and accessed by replied to by the topic creator
As normal, administrators have access to all topics created in the chosen forum. This allows a forum to become a private "support forum", where private information can be shared freely.
Installation
Install via NodeBB Admin Panel, or npm install nodebb-plugin-support-forum
Testing
Tests follow the official NodeBB plugin pattern — they run under NodeBB's mocha harness against a real (test) database.
Add to NodeBB's
config.json:"test_database": { "host": "127.0.0.1", "port": "6379", "password": "", "database": "1" }, "test_plugins": [ "nodebb-plugin-support-forum" ]Adjust
test_databasefor your database of choice; it must differ from the production DB.Link the plugin into your NodeBB install:
cd /path/to/nodebb-plugin-support-forum && npm link cd /path/to/NodeBB && npm link nodebb-plugin-support-forumRun the tests from the NodeBB root:
npx mocha test/plugins-installed.js(NodeBB's
test/plugins-installed.jsauto-discovers and runs thetest/folder of every plugin listed intest_plugins. Runningnpm testfrom the NodeBB root works too but executes the full core suite.)
