Poll plugin for NodeBB.
Find a file
Barış Soner Uşaklı bacf002341 3.2.1
2024-05-17 21:34:53 -04:00
languages feat: show total vote count, closes #143 2024-05-17 11:21:46 -04:00
lib fix: missing await, fixes remove vote 2024-05-17 21:34:39 -04:00
public refactor: show error 2024-05-17 16:35:28 -04:00
templates refactor: remove useless css 2024-05-17 15:50:47 -04: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
.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 refactor: async/await closes #129 2024-05-17 13:56:35 -04:00
LICENSE Add license 2015-10-20 01:34:36 +02:00
package-lock.json 3.2.1 2024-05-17 21:34:53 -04:00
package.json 3.2.1 2024-05-17 21:34:53 -04:00
plugin.json dont need static dirs 2024-05-17 21:18:40 -04: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