I'm fine with it being each. But that's really a separate issue. The app.load hook is not where we should be modifying templates.
Save/Load plugin's settings to/from a config file instead of mongoDB
Danial Malik last edited by
Is there some way to save and load the settings of a plugin (or the whole nodeBB) to/from a config file instead of mongoDB ?
No built in way, but there is nothing preventing you from writing your plugin to use a config file instead of settings stored in the database.
When your nodebb starts instead of loading your plugin settings from the database you would read it from the file.