[nodebb-plugin-poll] Poll plugin
-
@Scuzz thanks for the speedy response. Hopefully I'll get a chance to test this out in the coming days, though I may just wait until Schamper gets a chance to update it after the v.50 release.
-
-
@Schamper Could you reworked it a little to make it work again ?
-
Those numbers though.
-
@trevor ssshhh... that's a known issue
I'll have a lot more time after the weekend. I'll take a look at this again.
-
@Schamper said:
@trevor ssshhh... that's a known issue
I'll have a lot more time after the weekend. I'll take a look at this again.
My bad, I'm sure you already knew though. Maybe that was a friendly reminder
-
@trevor We like to be super accurate
-
Is this still in the works?
-
Any news on the number problem, @Schamper ?
Shouldn't be that hard to round or just cut off the trailing unneeded digits, right?
Great plugin, though.
-
total = Math.round(total);
would do it. (I think)
-
@Netto-Hikari @a_5mith Submit a pull request
-
From an iPad? Are you mad?
I'll take a look when I get on my laptop.
-
Submitted the PR. It will now show results to 1 decimal place, not 80.
var percentage = ((poll.options[option].votecount / poll.info.votecount) * 100).toFixed(1);
-
@a_5mith You could have done that with an iPad
-
@Ted Browsing code on github from an iPad is painful. The actual code itself was simple enough, but finding it, not so much. I also had to test it worked on my development server first, can't go blindly submitting pull requests.
Plus, knowing my iPad, it would have auto corrected toFixed to something like tomorrow.
EDIT: PR has been merged, he's currently on holiday. (Probably Github camp by the speed he accepted the PR
)
-
@a_5mith You might check out http://thebinaryapp.com/ . A friend of mine uses it and loves it. Technically in beta for the time being though.
-
@Ted said:
@a_5mith You might check out http://thebinaryapp.com/ . A friend of mine uses it and loves it. Technically in beta for the time being though.
Submitted for a key, I do own a keyboard for my iPad, albeit a Kensington, not an Apple one, but looks like it could be useful, I do a lot of travelling, so using a 17 inch laptop on a table on the train isn't always exactly possible. :laughing;
-
-
@Scuzz got a mail about it, I don't have a lot of time on wifi, just small amounts of time in shops etc, which I usually use to read mail and chat with gf/family. Just checked this forum because I had extra time after dinner. I will return in about a week and you'll find me lurking in the shoutbox again then
-
I thought i was your gf