Hello Julian. Thank you for your very useful answer.
The plugin was an old version.
I just did uninstall then reinstall the last nodebb-api-write plugin (version 3.1.5) on our instance, but now I get the following error :
/admin/plugins/write-api Introuvable (not found)
How to access settings values in "quickstart" plugin
-
It's about this plugin: https://github.com/NodeBB/nodebb-plugin-quickstart
In the admin page it says I can access the values in Setting1 or Setting2 with:
meta.settings.get('quickstart');I don't really know where to call it. I searched for "meta" but couldn't find it. So, I pasted in every JS file I could find within that plugin folder and tried to log it out. But in vain. It doesn't recognize "meta"
-
@Thadeusz-Lay so are you trying to create your own plugin?
meta
is a NodeBB module. You have to require it from NodeBB withrequire.main.require('./src/meta')
on the server side.