clarkwinkelmann phloo there is no "show results" button?! Isn't it the "Abstimmende anzeigen" button in the screenshot?
[deleted] @clarkwinkelmann I see the below in the console, although my issue is slightly different to @phloo in the sense that the poll shows, but not complete addPollToDiscussion.js:47 Uncaught (in promise) TypeError: Cannot read property 'main' of undefined at addPollToDiscussion.js:47 For example, there are votes for multiple selections on this post https://metabullet.com/d/93-operating-system-preference but all the votes show as "Windows", which just isn't right as half of the votes are in fact for Linux, but do not show.
phloo This shows who voted for each option. As I stated before: the results should be visible as percentages (see screenshot)
[deleted] phloo My issue is pretty similar to yours I think, although a percentage shows for one value at least 🙂
sylv38 Same problem with polls, I haven't used it since 1.0, but if I open older polls posted with beta 15, everything is 0% now whereas the voters list is correct. No javascript error in the console.
clarkwinkelmann Version 1.0.3 I have released version 1.0.3 with a fix for the error on user profiles. sylv38 if I open older polls posted with beta 15, everything is 0% You need to run this command https://github.com/FriendsOfFlarum/polls#metadata-update when updating from a version before 0.3.3 . The explanation was also copied in this post clarkwinkelmann
Walys This is my first time with this extension. To install in a new forum 1.04 need to do all the OP tips: Installation, migrating, updating and metadata update? Or only go with installation code? composer require fof/polls
clarkwinkelmann SnakePromise I don't think so. This should be easy to change by forking the extension. I'm not sure if we want to add an option for that in the extension itself. We could inject the value in a second hidden DIV so that custom CSS can access it.
SnakePromise clarkwinkelmann I'd say it's a rather popular option in voting widgets. There could be 2 consecutive spans with "XX%" and "XX votes" to be hidden/shown with CSS.
yannis hi,shall we add a Class here? I tried to do some custom one ,but the content without a Class or DIV-ID~
IanM 1.0.4 Fix: Clicking a user from View voters caused a full page reload FriendsOfFlarum/polls50 Fix: Tooltip displayed NaN votes on desktop Fix: Tooltip missing on mobile Updating composer require fof/polls:"*" php flarum cache:clear
jslirola IanM I can see the tooltip "NaN votes" when I´m a guest in the forum, any idea what´s happening? Edit: Okay, it depends on the permission I give it to see the results. I had Members instead of Everyone but I think it's a bug anyway.
IanM 1.0.5 Self contain flatpickr css, rather than using an external resource FriendsOfFlarum/polls44 Updating composer require fof/polls:"*" php flarum cache:clear
Darkle IanM Great! This is a bit off topic... but a while ago I started to notice the impact of using external content on the speed of a Flarum site, especially when stacking up external resources from multiple extensions. In these months some extensions have stopped using external resources and the speed improvements have been surprising, as if by magic 🪄
raakkan I created poll with admin account and try to vote with other user account but Nan votes problem and you don't have permission to vote message appeared. How to fix this problem.
rdn How to remove this by the way? Running: composer remove reflar/polls But still listed on admin panel. Thanks! Edit. Readme seems outdated but updated repo is fof/polls. Fixed.
Vadim_RUNN Hi all, any plans to allow multiple choices and re-voting option? Could be very useful in community practice. Thanks for replies.