nodebb-plugin-dbsearch and nodebb-plugin-solr use those hooks 🙂
Issues with plugins
I've created a fresh install of NodeBB on both my local development server and a remote server and I can't seem to get plugins working properly.
What I did:
npm install nodebb-plugin-<plugin name>
Gone to admin/plugins and activated the plugin.
After activating and NodeBB restarting, I can't seem to access the plugin's settings inside admin/plugins/<plugin name>
It goes to the 404 page, but in some weird redirect loop which constantly refreshes to the 404 page.
I also get console spam of:
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:4567/api/404?_=1395844478668
GET http://localhost:4567/api/404?_=1395844478848 404 (Not Found)
Would be great if someone could shed some light on this issue, thanks in advance, Ben.
Edit: I've just found out this only happens if I click on it via the menu.
If I type in the address it works, but this appears in the sidebar menu:
@xbenjii Which plugin is it?
@julian It's every plugin that I install it's doing it with. The pre-packaged one (markdown) works fine.
The better question might be which version of NodeBB are you using?
@Schamper The current master branch.
sounds to me like you're trying to load a v0.3.2 compatible plugin with the latest code - you'd either have to drop down to v0.3.2, or bug the authors to update it to 0.4. If you happen to find out that the plugin was built by me, just letting you know I'll be updating them at or around the time we launch 0.4
Looks like it was an outdated plugin issue.