Poll plugin for NodeBB.
Find a file
Barış Soner Uşaklı 35d17bcaf9 3.1.6
2024-05-17 11:21:52 -04:00
languages feat: show total vote count, closes #143 2024-05-17 11:21:46 -04:00
lib feat: add hook into getOptionDetails 2024-05-17 10:46:44 -04:00
public feat: show total vote count, closes #143 2024-05-17 11:21:46 -04:00
templates feat: show total vote count, closes #143 2024-05-17 11:21:46 -04:00
upgrades feat(eslint): manually fix eslint errors (not auto-fixable) 2021-07-27 18:34:58 +03:00
vendor feat: use serializeObject from core 2021-07-27 14:13:06 +03:00
.editorconfig I need to commit more often on these big rewrites 2015-12-20 22:07:48 +01:00
.eslintrc feat(eslint): copy config from core & ignore vendors 2021-07-27 18:32:45 +03:00
.gitignore Initial commit 2014-05-07 23:06:12 +02:00
library.js update ACP page for 3.2.x and up 2024-02-05 12:59:32 -05:00
LICENSE Add license 2015-10-20 01:34:36 +02:00
package-lock.json 3.1.6 2024-05-17 11:21:52 -04:00
package.json 3.1.6 2024-05-17 11:21:52 -04:00
plugin.json update to use new privilege hook 2022-12-09 10:23:08 -05:00
README.md working version with setting to disallowVoteUpdate 2019-03-03 12:32:32 +02: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
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