@PitaJ No need to submit a PR or so, this can be a plugin!
I noticed the action:plugin.* hook which is fired on install/uninstall of a plugin! That's perfect for my needs, it allows me to monitor easily!
I can also use Plugins.showInstalled to retrieve the list of plugins currently installed and save it directly on load!
And maybe parse the package.json of each plugin to be able to install the exact version that was used.
Embedded polls in nodeBB
-
Hi everybody.
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 ?
-
Could look into upgrading https://github.com/Schamper/nodebb-plugin-poll for you.
-
@yariplus It would be great, thank you !!
-
For example, when I'm trying the following, it doesn't work :
[poll title="Sondage"]- Poll option
- Another option
[/poll]
-
@Tanguy-Bodin-Hullin
It's very outdated, true.@yariplus
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.
Linux-statt-Windows/[email protected]
-
@Tanguy-Bodin-Hullin said:
Hi everybody.
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.
-
-
-
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.
PR'd @Schamper https://github.com/Schamper/nodebb-plugin-poll/pull/36
-
Is this to do with locale? or something different entirely? Is it something i can edit in the js files? Thanks
-
-
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:
Thanks