定制 justoverclock/flachievements 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

justoverclock/flachievements

最新稳定版本:1.1.0

Composer 安装命令:

composer require justoverclock/flachievements

包简介

Adds customized achievements to your forum

README 文档

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 justoverclock/flachievements

Updating

composer update justoverclock/flachievements
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

统计信息

  • 总下载量: 948
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2024-11-06