nodebb-plugin-poll-updated

NodeBB Poll Plugin forked from Schamper and updated for 1.11.1

Usage no npm install needed!

<script type="module">
  import nodebbPluginPollUpdated from 'https://cdn.skypack.dev/nodebb-plugin-poll-updated';
</script>

README

NodeBB Poll plugin

This NodeBB plugin is forked from https://github.com/Schamper/nodebb-plugin-poll/ which is made by Schamper

Changes: - Added pt-PT (Portugal) Translations by https://github.com/jtsimoes - Removed deprecated requires in lib/nodebb.json - Fixed missing group permission label and added translation

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
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
  • Add the ability to remove a vote, and a setting to disable the removal of votes
  • 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