Just an FYI we are building this into core https://github.com/NodeBB/NodeBB/issues/6158, it will deprecate this plugin and 2 forks https://github.com/dangerusslee/nodebb-plugin-category-sort-by-votes-next and https://github.com/jimmykane/nodebb-plugin-category-sort-by-votes-nextbarisusakli created this issue in NodeBB/NodeBB closed Top voted topics #6158
Plugin Templates Not Loading - Hello new build system!
I recently deployed a new public Ubuntu server with Nodebb 1.4.3 and then upgraded to 1.4.4. For some reason, my plugin's template files are not being loaded into the nodebb/plugin/templates directory now.
Has anyone seen anything like this before?
Locally, when I do a "./nodebb dev" startup I see this in my logs:
6/3 16:14  - verbose: [plugins] /header.tpl replaced by ...
On my public server I don't see this even when doing the dev start.
To set up this new server, I followed the docs here: https://nodebb.readthedocs.io/en/latest/installing/os/ubuntu.html
@jongarrison what directory are you expecting them to show up in? They should be showing up in the
build/public/templatesdirectory under whatever template it's called.
Interesting, I had thought they were in /public/templates. Was that in older versions?
In any event, the server wasn't loading new templates coming in with an updated plugin.
I'm in the process of trying out a few things with the server now.
Found the solution, It turns out that I had missed this blog post before upgrading to 1.4.x: