An open API service indexing awesome lists of open source software.

https://github.com/toxuin/nodebb-plugin-trophies

NodeBB: Custom award badges for your users!
https://github.com/toxuin/nodebb-plugin-trophies

Last synced: 5 months ago
JSON representation

NodeBB: Custom award badges for your users!

Awesome Lists containing this project

README

        

Trophy Plugin for NodeBB
================

This plugin lets you create reward badges for your users and manually add them to their user profile.

It was developed for use on [Kamloops Makerspace website](http://kamloopsmakerspace.com/).

Here's some pictures to give you an idea what it is:

![User side screenshot](README_DATA/trophies-screenshot.png)

And here's how it looks like on the admin side:

![Admin side screenshot](README_DATA/trophies-admin-screenshot.png)

Setup
---
First, install it to your NodeBB instance. You can do it from the admin interface or you can install it with

npm install nodebb-plugin-trophies

from your nodebb install directory.

Plugin uses widget system, but intended to be displayed only on the user profile page. Therefore, you have to have a widget area in your theme, template file templates/account/profile.tpl to be more specific, in order display this widget.

For the Persona theme, I had to add following, around line 12:

Then, you can go to your admin panel and go hog wild.

It even sends a notification to the user who just got an award. Neat, eh?

Modify
------

Please fork and do stuff.

License
------

MIT Licence allows you to do almost whatever you can imagine with this software. I have a file called LICENSE, go read.

Credits
------

- Thanks, psychobunny!

- Default badge art generously contributed by Pablo Macuso