Polls
-
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
-
Just to log some issues.
- I cannot vote
- Poll question is not displayed
-
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 -
I have updated to the latest stable. Do we need to go higher for comparability?
Looks like it works now!
-
You should also update the theme, bunch of things don’t work now.
-
@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
-
0.0.2 is on npm, so you can update.