• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Embedded polls in nodeBB

Scheduled Pinned Locked Moved NodeBB Plugins
18 Posts 7 Posters 5.7k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Tanguy Bodin-HullinT Offline
    Tanguy Bodin-HullinT Offline
    Tanguy Bodin-Hullin
    wrote on last edited by
    #1

    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.. 😥

    • https://github.com/Schamper/nodebb-plugin-poll
    • https://github.com/exo-do/nodebb-plugin-poll

    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 ? 😃

    exodoE 1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    wrote on last edited by
    #2

    Could look into upgrading https://github.com/Schamper/nodebb-plugin-poll for you.

    Tanguy Bodin-HullinT 1 Reply Last reply
    1
  • Tanguy Bodin-HullinT Offline
    Tanguy Bodin-HullinT Offline
    Tanguy Bodin-Hullin
    replied to yariplus on last edited by
    #3

    @yariplus It would be great, thank you !! 🙂 👍 👍

    1 Reply Last reply
    0
  • Tanguy Bodin-HullinT Offline
    Tanguy Bodin-HullinT Offline
    Tanguy Bodin-Hullin
    wrote on last edited by
    #4

    For example, when I'm trying the following, it doesn't work :
    [poll title="Sondage"]

    • Poll option
    • Another option
      [/poll]
    1 Reply Last reply
    0
  • rbeerR Offline
    rbeerR Offline
    rbeer GNU/Linux
    wrote on last edited by rbeer
    #5

    @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/nodebb-plugin-topic-badges@8dfeb47

    yariplusY 1 Reply Last reply
    1
  • exodoE Offline
    exodoE Offline
    exodo Plugin & Theme Dev
    replied to Tanguy Bodin-Hullin on last edited by
    #6

    @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.. 😥

    • https://github.com/Schamper/nodebb-plugin-poll
    • https://github.com/exo-do/nodebb-plugin-poll

    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

    SchamperS 1 Reply Last reply
    1
  • SchamperS Offline
    SchamperS Offline
    Schamper Plugin & Theme Dev
    replied to exodo on last edited by
    #7

    @exodo you should consider making a pull request.

    1 Reply Last reply
    1
  • Tanguy Bodin-HullinT Offline
    Tanguy Bodin-HullinT Offline
    Tanguy Bodin-Hullin
    wrote on last edited by
    #8

    @exodo @yariplus @rbeer @Schamper Thank you for your help. I'm full of hope now !! 🙂 👍

    1 Reply Last reply
    1
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    replied to rbeer on last edited by
    #9

    @rbeer said:

    @yariplus
    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.

    1 Reply Last reply
    2
  • W Offline
    W Offline
    whitts
    wrote on last edited by
    #10

    This plugin seems to work fine on 0.9 but the dialog for creating it looks a bit strange. Please see attached. Thanks0_1447280734257_poll.png

    yariplusY 1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    replied to whitts on last edited by
    #11

    @whitts Just missing a translator call.

    PR'd @Schamper https://github.com/Schamper/nodebb-plugin-poll/pull/36

    W 1 Reply Last reply
    0
  • W Offline
    W Offline
    whitts
    replied to yariplus on last edited by
    #12

    @yariplus

    Is this to do with locale? or something different entirely? Is it something i can edit in the js files? Thanks

    yariplusY 1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    replied to whitts on last edited by
    #13

    @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.

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #14

    If there is a working fork I would encourage @Schamper to add that author as contributor to his plugin.

    Just a thought 😄

    yariplusY 1 Reply Last reply
    1
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    replied to julian on last edited by
    #15

    @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.

    1 Reply Last reply
    1
  • SchamperS Offline
    SchamperS Offline
    Schamper Plugin & Theme Dev
    wrote on last edited by
    #16

    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.

    W 1 Reply Last reply
    2
  • W Offline
    W Offline
    whitts
    replied to Schamper on last edited by
    #17

    @Schamper

    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.

    1 Reply Last reply
    0
  • W Offline
    W Offline
    whitts
    wrote on last edited by
    #18

    just tried the date field and it worked but it doesnt look like you can view the results after its finished:

    0_1447371189772_upload-238c31d6-e264-4ba3-83e0-4f541237d78b

    Thanks

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development