fof / polls
A Flarum extension that adds polls to your discussions
Fund package maintenance!
Website
Installs: 104 318
Dependents: 8
Suggesters: 0
Security: 0
Stars: 25
Watchers: 3
Forks: 14
Open Issues: 8
Type:flarum-extension
pkg:composer/fof/polls
Requires
- flarum/core: ^1.8.0
Requires (Dev)
- flarum/phpstan: *
- flarum/testing: ^1.0.0
Conflicts
- reflar/polls: *
- dev-master
- v2.x-dev
- 2.3.0
- 2.3.0-beta.6
- 2.3.0-beta.5
- 2.3.0-beta.4
- 2.3.0-beta.3
- 2.3.0-beta.2
- 2.3.0-beta.1
- 2.3.0-beta.0
- 2.2.15
- 2.2.14
- 2.2.13
- 2.2.12
- 2.2.11
- 2.2.10
- 2.2.9
- 2.2.8
- 2.2.7
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.2.0-beta.17
- 2.2.0-beta.16
- 2.2.0-beta.15
- 2.2.0-beta.14
- 2.2.0-beta.13
- 2.2.0-beta.12
- 2.2.0-beta.11
- 2.2.0-beta.10
- 2.2.0-beta.9
- 2.2.0-beta.8
- 2.2.0-beta.7
- 2.2.0-beta.6
- 2.2.0-beta.5
- 2.2.0-beta.4
- 2.2.0-beta.3
- 2.2.0-beta.2
- 2.2.0-beta.1
- 2.2.0-alpha.9
- 2.2.0-alpha.8
- 2.2.0-alpha.7
- v2.2-alpha.6
- v2.2-alpha.5
- 2.2.0-alpha.4
- 2.2.0-alpha.3
- 2.2.0-alpha.2
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.4.1
- 0.4.0
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-sh/feat/poll-groups
- dev-gg/improve-poll-settings
- dev-ds/split-v2-migrations-further
- dev-ds/more-breaking-v2-changes
- dev-ds/move-polls-to-posts
- dev-ds/drop-flatpickr
- dev-cw/image-url-with-dist
- dev-cw/composer-state-fields
- dev-beta13
This package is auto-updated.
Last update: 2025-11-05 10:00:16 UTC
README
A Flarum extension. A Flarum extension that adds polls to your discussions.
Installation
composer require fof/polls:"*"
Migrating from ReFlar Polls
Make sure you've updated to the latest reflar/polls version and run php flarum migrate BEFORE installing fof/polls.
You will not be able to install this extension if you have a version of ReFlar Polls older than v1.3.4 as well.
$ composer require reflar/polls $ php flarum migrate $ composer require fof/polls
Updating
composer update fof/polls
Metadata update
To improve performance, Polls calculates and stores the number of votes when it changes.
As long as the extension is active, Polls will automatically keep those numbers up to date and you don't need to do anything.
If you are updating from a version prior to 0.3.3, if you disabled the extension for a while or if you made manual changes to the database you should run the following command to refresh the numbers:
php flarum fof:polls:refresh
You can only run the command when the extension is enabled in the admin panel.
Poll Groups Feature
What Are Poll Groups?
Poll Groups are a feature that allows you to organize multiple polls under a single topic or subject. You can create a group and add related polls to it, making it easier to manage and present a collection of questions about the same theme.
What Can You Use Poll Groups For?
- Surveys: Bundle several polls together to conduct multi-question surveys on a particular subject.
- Topic-Based Polling: Group polls by topics, such as feedback on different features, event planning, or research.
- Community Engagement: Facilitate deeper discussions by presenting sets of related questions.
How to Use Poll Groups
-
Enable Poll Groups:
Make sure the extension settingEnable poll groupsis enabled in your admin panel. -
Permissions:
Poll groups use the following permissions:- View poll groups (
canViewPollGroups) : Controls who can see poll groups - Create poll groups: Controls who can create new poll groups
- Moderate poll groups (
polls.moderate_group): Allows moderators to edit and delete any poll groups - Individual users can always edit and delete their own poll groups
- View poll groups (
-
Creating a Poll Group:
- Navigate to the Poll Groups page through the site navigation
- Click "Start a Poll Group" and provide a name for your group
-
Adding Polls to Groups:
- Go to the poll group detail view
- Use the "Add Poll" button to create new polls within the group
- The polls will be automatically associated with and displayed in the group
-
Managing Poll Groups:
- Group creators can edit their group details and delete their own groups
- Moderators with appropriate permissions can manage any poll groups
- Deleting a group will remove the group but preserve its associated polls
Example Use Case
For example, to gather comprehensive feedback about a new feature, create a poll group named "Feature Feedback" and add multiple polls asking about different aspects (usability, design, performance, etc.). Users will find all related polls conveniently grouped together for easy participation.
Links
An extension by FriendsOfFlarum.