Skip to content

FriendsOfFlarum/polls

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
js
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

Polls by FriendsOfFlarum

License Latest Stable Version OpenCollective Patreon

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.

Links

An extension by FriendsOfFlarum.