[nodebb-plugin-poll] Poll plugin
-
Hi @Schamper When I create a poll either by entering the
[poll <settings>]
- Poll options
- Another option
[/poll]
Or by using the creator button I get the same results which is, I hit submit button and it accepts the action but then just stops. Don't reset to the form post, doesn't freeze my ability to exit or discard post/poll. It just stays like its trying to submit but nothing happens.
-
@MassivelyIndie are you on the development branch?
-
-
@MassivelyIndie if you don't know, you're not. Download the plugin from there and place it in node_modules manually, for the time being. https://github.com/Schamper/nodebb-plugin-poll/tree/development
-
Boom! New release, no one saw that coming, huh?
Poll plugin version 0.2.0 was just published to NPM. Aside from being almost completely rewritten, it now works better than ever!
Some noteworthy changes:- NodeBB 1.0.0 compatible
- Reliably add a poll by editing the first post
- The creator will look for an existing poll in your post and allow you to edit it
- The creator itself has been completely overhauled
- The preview of your post doesn't show some bastardised list anymore
- Fresh new paint of code pretty much everywhere
- Mostly stable
Important! Polls created by a previous version (so < 0.2.0) will NOT work with this version of the plugin. Due to the amount of changes in the way how polls are stored, there are currently no plans of supporting older polls.
I've also updated the first post (it was still stuck on version 0.0.2 ) and I even added some screenshots!
-
Working great! A huge improvement on the older versions. Thanks!
Little bug. The poll doesn't work on replies, just the original first topic post, but I'm sure that was always the case. You can still create a poll in a reply, it just displays as the generated code.
-
@Danny-McWilliams not a bug, very much intentional but I suppose it'd be better if this was shown somewhere.
-
@Schamper said in [nodebb-plugin-poll] Poll plugin:
@Danny-McWilliams not a bug, very much intentional but I suppose it'd be better if this was shown somewhere.
Good work mate I used to use this plugin before but stopped. I think this is the only voting plugin out there for nodebb, that i'm aware of at least.
-
@Joykiller thanks, and yes it is
-
Version 0.2.2 was published yesterday. This version includes support for a bunch more languages (thanks everyone who contributed).
It also now supports privileges for creating a poll. By default it will be enabled for registered users on every category you have, but this can be fine tuned when editing a category in the ACP. Additional privileges, such as voting, might be added at a later point.
-
@Dawid-Glomba Create a pull request.
@Jam yes.
-
How to edit the Poll afterwards? If I click on the poll button in edit window, I get "Invalid Request" error ...