reflar / gamification
Upvotes and downvotes for your Flarum community
Installs: 5 051
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 4
Forks: 11
Type:flarum-extension
Requires
- flarum/core: ^0.1.0-beta.8
- dev-master
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.11
- 3.0.10
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-beta.2
- 3.0.0-beta.1
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-rc.4
- 2.0.0-rc.3
- 2.0.0-rc.2
- 2.0.0-rc.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.0
- 1.0.0-rc.3
- 1.0.0-rc.2
- 1.0.0-rc.1
- 0.1.0-beta.7.2
- 0.1.0-beta.7.1
- 0.1.0-beta.7
- 0.1.0-beta.6.2
- 0.1.0-beta.6
- 0.1.0-beta.5
- 0.1.0-beta.4
- 0.1.0-beta.3.1
- 0.1.0-beta.3
- 0.1.0-beta.2
- 0.1.0-beta.1
- dev-beta8
This package is auto-updated.
Last update: 2022-02-01 13:07:13 UTC
README
A Flarum extension that adds upvotes, downvotes, and ranks to your Flarum Community!
Upvote and downvote posts anonymously, and reward active users with ranks, and sort posts by hotness/popularity.
Usage
- Just click upvote or downvote
- Posts can be sorted by "Hotness"
Installation
Install it with composer:
composer require reflar/gamification
Then login and enable the extension.
You can optionally convert your likes into upvotes, as well as calculate the hotness of all previous discussions.
How hotness is sorted?
The total amount of hotness is got between the amount of votes on the discussion and the posts inside of it. Also, newer posts with the same amount of upvotes as another post will have more hotness, so time is also an influent factor.
Developer Guide
You have 1 event to listen for PostWasVoted
it contains the post, post's user, the actor, and the vote type (up or down).
To Do
- Requests?
Important
This Extension is meant as a replacement for the Flarum Likes Extension. Therefore, they are not compatible and it's recommended to disable the Likes Extension.