Now that I think about it the widget might not be that difficult, it will just make a call to get the widget data and display it along with some code to let users vote and a link to the actual topic where the poll is located. So most of the code that is already in the plugin can be utilized for the widget. The widget would need a pollId setting in the ACP>widgets to let you display a poll.
Disable one plugin? New, for v0.5.0
Prior to today, if you installed a broken plugin, this was the solution:
./nodebb reset plugins
New to v0.5.0, however, will be the ability to reset just one plugin at a time, using this format:
$ ./nodebb reset plugin="nodebb-plugin-brokenplugin"
The existing implementation will continue to work, as will
./nodebb reset all.
Edit: Dat syntax highlighting....
I was thinking about this, but in my head a different syntax - how about this?
(for multiple at a time):
./nodebb disable nodebb-plugin-brokenplugin nodebb-plugin-julians-plugin nodebb-theme-baris-theme
(because none of my plugins ever break :D)
EDIT: nvm, looks like you did it already
./nodebb reset plugin="pluginname"is already in -- would prefer a nicer syntax, so maybe we can introduce the
./nodebb disablecommand. Unsure atm.