[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

ReFlar/gamification

Repository files navigation

Gamification by ReFlar

MIT license Latest Stable Version Total Downloads

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.

Issues

Links