Awesome work! Always nice to see new widgets be created 😄
[nodebb-widget-singlepost] Ever wanted to embed a post in a widget?
I created this widget for a client that wanted to be able to manage some widget content on various pages as if it were a post. So I created this widget that allows you to embed a post by its ID number as a widget.
You can use this to create fully custom static(ish) pages in conjunction with the plugin nodebb-plugin-custom-static-pages. And then you can manage that page as if it were a post with the familiar capabilities.
To use this widget install the plugin via npm nodebb-widget-singlepost (https://www.npmjs.com/package/nodebb-widget-singlepost)
WARNING: Feature. I wanted to have the general site content posts hidden in a category that users wouldn't normally see. The widget does not respect normal access privileges and will render any post that you tell it to, including posts that the user doesn't normally have access to. As far as I can tell, the widget params never touch the client and so this shouldn't be a security hole. If you think this is incorrect, please let me know.
This is nice. It can be used as a MoTD that users can reply to
@psychobunny It has options to show/hide the title and render the title as a link to the post itself. So, yeah you can let people go comment on it, or really just make it look like a static piece of content on the site.