Oh I just realized, I can make a plugin that loads plugins from another directory
Plugin/Hooks not registered.
Hello guys, first of all let me say. Great application you have made! That's why I was interested to see what I could do with it.
So I've started writing a plugin that at this moment only has to show an extra page in the Admin panel. On this page it only says something like test.
The problem is, I install it with NPM and start nodebb in dev, but it does not show in the info log.
When manually going to the programmed route, I get the following error: warn: Route requested but not found: /admin/plugins/streamlist
My github repo: https://github.com/Siber/nodebb-plugin-streamlist
I've been looking at typo's and stuff but I don't seem to find anything. Could you guys help me out? Thanks!
Mm... did you activate your plugin in the plugins page?
When you run NodeBB in development mode (
./nodebb dev), you should also see messages like:
info: [plugins] Hook registered: filter:admin.header.build will call nodebb-plugin-streamlist info: [plugins] Hook registered: filter:admin.create_routes will call nodebb-plugin-streamlist
Damn, you are correct. I feel like a fool. I forgot to activate the plugin.
Thanks for the help!
No problem @Siber! Thanks for using NodeBB