Embedded polls in nodeBB
@yariplus It would be great, thank you !!
For example, when I'm trying the following, it doesn't work :
- Poll option
- Another option
It's very outdated, true.
Have you started working on it, yet? I am checking my changes against the current master branch and would then push it into my repo. It's some time ago, but I remember gotten it to work.
I even started to slap some UI onto it. Pretty sure though that's not working, yet. I think I abandoned it along the way. Anyway, this inline-text approach is ok, but I think NodeBB is nowadays thriving for something more - well - convenient. In terms of: Don't make your users learn a syntax to enable them to create a poll (or whatever).
Also, having data like this be part of the actual post is, again, ok. But just like I did with topic-badges, I think we should start separating the data more precisely, i.e. give plugins their own keys in the DB. This way you wouldn't end up with those cryptic texts inside posts/titles, once an admin decides to deactivate a plugin.
I'm looking for a ** poll system** on my NodeBB 0.8. installation
I tried these two plugins, but I don't succeed in making them work..
I tried to embedd a poll prepared with polldaddy, but when I include the script given by polldaddy website, it's just giving me some link to the polldaddy's website with the poll.
But I really need it embedded and not on another page.
Could anyone help me please ?
exodo branch work great on 0.7.2 so upgrading to 0.8 probably not so hard
@exodo you should consider making a pull request.
Have you started working on it, yet?
Yeah, It's working for me on 0.8 and 0.9 though, I only made a few minor changes. So I just upped the compatibility string.
This plugin seems to work fine on 0.9 but the dialog for creating it looks a bit strange. Please see attached. Thanks
@whitts Just missing a translator call.
Is this to do with locale? or something different entirely? Is it something i can edit in the js files? Thanks
@whitts Nothing to do with locale. Those
[[ ]]strings are translation keys, but the js just never runs the translator. Kinda my fault because I was the one who added all the translation keys.
I would wait till @Schamper updates the package instead of editing the js yourself.
If there is a working fork I would encourage @Schamper to add that author as contributor to his plugin.
Just a thought
@julian The fork tree looks kinda a mess tbh. A lot of them look like people applying patches that were already on other forks. The big ones are the Chinese and German and Spanish translations that are just sitting there without a pr.
Fix published to npm as version 0.1.3.
I'm determined to merge PR's and publish new versions as soon as I can.
I just updated and it looks good now - thanks . What date/time format is the "Automatically end poll" field supposed to be in? Would it be easier to add a datepicker?
Thanks for your help on this.
just tried the date field and it worked but it doesnt look like you can view the results after its finished: