https://github.com/NodeBB/nodebb-plugin-poll
Poll plugin for NodeBB.
https://github.com/NodeBB/nodebb-plugin-poll
Last synced: 13 days ago
JSON representation
Poll plugin for NodeBB.
- Host: GitHub
- URL: https://github.com/NodeBB/nodebb-plugin-poll
- Owner: NodeBB
- License: mit
- Created: 2014-05-07T21:06:06.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2025-03-04T17:50:07.000Z (3 months ago)
- Last Synced: 2025-04-13T19:03:32.214Z (about 1 month ago)
- Language: JavaScript
- Size: 688 KB
- Stars: 48
- Watchers: 13
- Forks: 43
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nodebb - poll - Poll plugin for NodeBB. (Plugins)
README
# NodeBB Poll plugin
This NodeBB plugin will allow you to add polls to the first post of a topic with the following markup:
[poll ]
- Poll option
- Another option
[/poll]Currently supported settings:
maxvotes="1" //Max number of votes per user. If larger than 1, a multiple choice poll will be created
disallowVoteUpdate="0" //if set, users won't be able to update/remove their vote
allowAnonVoting="0" // if set to 1, users will be able to vote anonymously
title="Poll title" //Poll titleThere's also a helpful modal available that will allow you to easily create a poll:
## Todo
- Add the ability to edit a poll
- Anonymous voting
- A lot more...If you're willing to help, please make any improvements you want and submit a PR.
## Installation
Either through the NodeBB ACP or:
npm install nodebb-plugin-poll