malago86 / flarum-achievements

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Achievements Extension for Flarum

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

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 49.7%Language:PHP 47.3%Language:Less 3.0%