malago/flarum-achievements

Adds customized achievements to your forum.

0.2.6 2021-04-16 20:10 UTC

This package is auto-updated.

Last update: 2021-04-16 20:14:07 UTC


README

GPLv3 license Latest Stable Version Total Downloads

Features

  • Reward your users with forum achievements
  • Achievements are given when replying, liking, uploading an avatar, creating a new discussion and more...
  • Achievements can include points and an icon

Installation

composer require malago/flarum-achievements

Updating

composer update malago/flarum-achievements
php flarum cache:clear

Usage

Intructions on how to create achievements are on the corresponding admin page.

See video

Example

This is an example for an achievement with custom images:

You can look at the image we used for the example to understand how the image height, width, row and column works. You can also use one image per achievement, as long as the image has the exact size you want and you specify this size.

Example 2

This is an example for an achievement with Font Awesome icons:

  • Name: Leader
  • Active: yes
  • Description: You started more than 10 discussions!
  • Variable: Discussions 10
  • Points for this achievement: 250
  • Image URL: far fa-comments

In this case, we are using the icon far fa-comments as our achievement image. Here, there is no need to specify the image size or anything else.

Links