[nodebb-plugin-poll] Poll plugin
-
NodeBB Poll plugin
This NodeBB plugin will allow you to add polls to the first post of a topic.
Current version: 3.2.3
NodeBB compatibility: 3.2.0 and up.Disclaimer
This is still a work in progress. It's entirely possible that old polls will end up broken by new releases.
How to add a poll
There are two ways to add a poll to a topic. The easiest and advised way is to use the poll creator. After installing you will find a new button in the composer. Clicking it will open the poll creator. In here you can change some settings and add the options for your poll. When you're done, hit Confirm and the appropriate poll markup will be added to your post.
The second way is to write the markup yourself. Its syntax is as follows:
It doesn't matter where in the post you add this markup, as long as you keep it intact.
Keep in mind that you can only add a poll to the first post of a topic. You can add polls to existing topics by editing the first post.
Administration
The AdminCP page for this plugin will allow you to change the default settings and set some constraints. There are currently only a few options, but these will expand over time.
Installation
Either through the NodeBB ACP or
npm install nodebb-plugin-poll
Screenshots
Todo
- Add the ability to edit a poll
- More...
If you're willing to help, please make any improvements you want and submit a PR.
Source
The source can be found on Github.
Donation
For those that insist on buying me a beer: hit my up on the chat.
-
Add "create a widgetizd version" in the todo No promises but if I do end up contributing I might look into that. Congrats for finally releasing this
-
Nice work, I'll test it out today but its definitely a great addition to any community!
Thanks for taking the time to make initially make this plugin. -
Bravo schamper. Every time I read your username, I think of one of the villains from 007:tomorrow never dies. He's called stamper, but the German guy pronounces it shtamper.
True story.
Will be installing in the morning and giving it a test (my polls weren't transferred from my forum conversion, so I'll start them again)
-
@Scuzz said:
I think @schamper needs to update this for latest release. He has been working on other things and I think this may be lower down in his list?
@Punkbob this. I hope I can get to this sometime soon. However since there seems to be almost zero demand for this plugin it indeed has a lower priority.
-
@Punkbob probably did Haven't had the time to look into everything. Most of the plugins I made use some kind of hack to work because the functionality wasn't there yet in NodeBB. However with the fast development it has, it breaks my hacks (and sometimes actually implements the features I need ;)) Then there's just the lack of time to fix everything up.
-
If @Schamper got this working, I'd give him an internets. But then v0.50 would probably break it again, so I'd just have to take it back temporarily.
-
it does not work on my website too http://www.cryptofr.com/topic/9/test-sondage/3
if you can fix it, it would be really kind ^^
-
@Ted I have not made any changes to the code.
I'm not sure if i have the npm version or the github version.we are on 0.4.3 of NodeBB.