• Categories
    • Unread
    • Recent
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Polls

    Scheduled Pinned Locked Moved Development and Coding
    7 Posts 2 Posters 1.0k Views 1 Watching
    Loading More Posts
    • 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.
    • ScuzzS Offline
      Scuzz
      last edited by Scuzz

      From our almighty @Schamper !

      Some errors when posting a poll

      error: Config is not defined
      ReferenceError: Config is not defined
      at Object.Tools.parse (/home/bitbangers/public_html/NodeBB/node_modules/nodebb-plugin-poll/lib/hooks.js:27:18)
      at Object.Hooks.filter.postSave (/home/bitbangers/public_html/NodeBB/node_modules/nodebb-plugin-poll/lib/hooks.js:83:25)
      at /home/bitbangers/public_html/NodeBB/src/plugins.js:315:36
      at /home/bitbangers/public_html/NodeBB/node_modules/async/lib/async.js:249:13
      at iterate (/home/bitbangers/public_html/NodeBB/node_modules/async/lib/async.js:134:13)
      at Object.async.eachSeries (/home/bitbangers/public_html/NodeBB/node_modules/async/lib/async.js:150:9)
      at Object.async.reduce (/home/bitbangers/public_html/NodeBB/node_modules/async/lib/async.js:248:15)
      at Object.Plugins.fireHook (/home/bitbangers/public_html/NodeBB/src/plugins.js:312:12)
      at async.waterfall.postTools.parse.postData.content (/home/bitbangers/public_html/NodeBB/src/posts.js:62:13)
      at fn (/home/bitbangers/public_html/NodeBB/node_modules/async/lib/async.js:582:34)
      

      test

      1 Reply Last reply Reply Quote
      • ScuzzS Offline
        Scuzz
        last edited by

        Just to log some issues.

        • I cannot vote
        • Poll question is not displayed
        1 Reply Last reply Reply Quote
        • SchamperS Offline
          Schamper
          last edited by

          We currently need to be on at least this commit to support polls.
          Poll question is because: https://github.com/Schamper/nodebb-plugin-poll/blob/master/lib/hooks.js#L43

          1 Reply Last reply Reply Quote
          • ScuzzS Offline
            Scuzz
            last edited by Scuzz

            I have updated to the latest stable. Do we need to go higher for comparability?

            Looks like it works now!

            1 Reply Last reply Reply Quote
            • SchamperS Offline
              Schamper
              last edited by

              You should also update the theme, bunch of things don’t work now.

              ScuzzS 1 Reply Last reply Reply Quote
              • ScuzzS Offline
                Scuzz @Schamper
                last edited by Scuzz

                @Schamper I don’t get that though, I have not changed anything with the .tpl files, its all css/less and based off the vanilla theme so anything off that should be updated here.

                Sorted that out now i think

                1 Reply Last reply Reply Quote
                • SchamperS Offline
                  Schamper
                  last edited by

                  0.0.2 is on npm, so you can update.

                  1 Reply Last reply Reply Quote
                  • 1 / 1
                  • First post
                    Last post
                  Online Users