NodeBB Poll plugin
This NodeBB plugin will allow you to add polls to the first post of a topic.
Current version: 0.2.9
NodeBB compatibility: 1.0.0 and up.
This is still a work in progress. It's entirely possible that old polls will end up broken by new releases.
How to add a poll
There are two ways to add a poll to a topic. The easiest and advised way is to use the poll creator. After installing you will find a new button in the composer. Clicking it will open the poll creator. In here you can change some settings and add the options for your poll. When you're done, hit Confirm and the appropriate poll markup will be added to your post.
The second way is to write the markup yourself. Its syntax is as follows:
- Poll options
- Another option
It doesn't matter where in the post you add this markup, as long as you keep it intact.
Keep in mind that you can only add a poll to the first post of a topic. You can add polls to existing topics by editing the first post.
The AdminCP page for this plugin will allow you to change the default settings and set some constraints. There are currently only a few options, but these will expand over time.
Either through the NodeBB ACP or
npm install nodebb-plugin-poll
- Add the ability to edit a poll
- Add the ability to remove a vote, and a setting to disable the removal of votes
- Anonymous voting
If you're willing to help, please make any improvements you want and submit a PR.
The source can be found on Github.
For those that insist on buying me a beer: hit my up on the chat.