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.

Ce serait très pratique s’ils le faisaient !

Il existe le composant de thème GitHub - discourse/discourse-poll-banner: Display a poll from a topic as a banner for all logged-in users. · GitHub qui fonctionne avec des sondages numériques. Je ne sais pas si quelqu’un pourrait l’adapter pour gérer de manière appropriée les sondages « basés sur des mots » ?

Il semble effectivement y avoir une série de sujets concernant l’intégration de sondages dans les bannières, mais je pense que beaucoup d’entre eux étaient initialement des rapports de bugs qui ont ensuite été reclassés, plutôt que de véritables demandes de fonctionnalité au sens de Contribute > Feature request. Il pourrait être utile de rassembler ces éléments afin de leur donner plus de poids et de permettre aux utilisateurs d’ajouter leur voix à la discussion.