Poll plugin for NodeBB.
Find a file
2025-08-25 19:04:21 -04:00
languages Update poll.json 2025-08-26 01:21:56 +03:00
lib feat: ability to embed poll as widget 2025-03-04 12:49:28 -05:00
public update eslint 2025-06-09 17:11:37 -04:00
templates feat: ability to embed poll as widget 2025-03-04 12:49:28 -05:00
upgrades feat(eslint): manually fix eslint errors (not auto-fixable) 2021-07-27 18:34:58 +03:00
.editorconfig I need to commit more often on these big rewrites 2015-12-20 22:07:48 +01:00
.gitignore Initial commit 2014-05-07 23:06:12 +02:00
eslint.config.mjs update eslint 2025-06-09 17:11:37 -04:00
library.js feat: ability to embed poll as widget 2025-03-04 12:49:28 -05:00
LICENSE Add license 2015-10-20 01:34:36 +02:00
package-lock.json 3.2.6 2025-06-09 17:12:17 -04:00
package.json 3.2.6 2025-06-09 17:12:17 -04:00
plugin.json feat: ability to embed poll as widget 2025-03-04 12:49:28 -05:00
README.md feat: allow anon voting, closes #140 , closes #7, closes #106 2024-05-19 11:23:01 -04:00

NodeBB Poll plugin

This NodeBB plugin will allow you to add polls to the first post of a topic with the following markup:

[poll <settings>]
- 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 title

There'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