I think several days later, A plugin called bbcash Currency will be open-sourced. Nodebb made such plugin for me and we agree to make it open-sourced.
Example plugin with paramterized url/dynamic template
-
Would be great to see a skeleton of a plugin that supports parameterized (/someplugin/:someid) urls as well as dynamic templates.
-
hey @draco2003
http://try.nodebb.org/topic/142/nodebb-plugin-static-page-static-pages
this plugin shows you how to create new routes, and static templates. I should update this example to show how to utilize dynamic templates but it would be something along the lines of
module.parent.require('path/to/templates.js').parse(templateData, templateVars);
(totally off the top of my head... but yeah when I get the time I'll update the plugin to do the above)