# 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 settings aren't implemented.

## Todo

A lot. If you're willing to help, please make any improvements you want and submit a PR.

## Installation

    Not yet

# 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]

Supported settings:

    max="1" //Max number of votes per user. If larger than 1, a multiple choice poll will be created
    title="Poll title" //Poll title

## Todo

- Add hooks for a bunch of events that will change the state of a poll. These include the deletion of a post or topic
- Add the ability for a poll to end on a specific date
- Add the ability to add a poll by editing the first post of a topic
- Add the ability to edit a poll
- Add the ability to remove a vote, and a setting to disable the removal of votes
- Overall improvement of the code
- A lot more...

If you're willing to help, please make any improvements you want and submit a PR.

## Installation

    Not yet

Update readme with settings and a part of the todolist
Update readme with settings and a part of the todolist
