Can a poll be pinned as a banner?

AI-generated summary

The discussion revolves around creating a poll that can be pinned as a banner in a Discourse instance. communitygal initially encountered issues with a poll not displaying the question and showing zero voters. dax suggested that the question needs to be written outside the poll and also inquired if the instance was running the latest version, as poll bugs have been fixed in recent updates.

communitygal suspected the issue might be related to pinning the poll as a banner. dax confirmed this, referencing a Meta Discourse topic where it was stated that polls don’t support being pinned in a banner. codinghorror also acknowledged this limitation.

However, nathank expressed interest in having this feature, and JammyDodger mentioned a theme component that works with numerical polls and suggested the possibility of adapting it for word-based polls. The conversation highlights the need for a proper feature request to allow polls in banners.

I added this poll to my instance, but the question doesn’t appear. How can I create a poll that looks more intuitive to users?
People had voted but it displayed zero voters.

You must write the question outside the poll:

What is your favorite animal?

  • cat
  • dog
  • capybara
0 voters

Are you on the very latest version of Discourse?
There were bugs on polls that have already been fixed some time ago.

oh ok maybe the issue was just when it was pinned the banner

Yep, for reference:

Polls don’t support being pinned in a banner at the moment.

It would be very handy if they did!

There’s the GitHub - discourse/discourse-poll-banner: Display a poll from a topic as a banner for all logged-in users. · GitHub theme component that works off a numerical poll. I don’t know if someone could adapt it to handle ‘word-based’ ones in some way?

There does seem to be a scattering of topics about having polls in banners, but I think a lot of them were initially bug reports that have been reclassified rather than a proper Contribute > Feature request. It may be good to try and collate something to give it a better hearing and allow people to add their voice to the conversation.