@faizanzahid I have not published any updates for this plugin, mainly because there was no feedback apart from that it works alright.
If you will encounter any problems with it - let me know and I will look into it.
toxuin
Posts
-
[nodebb-plugin-trophies] Trophies: custom award badges for your users -
[nodebb-plugin-trophies] Trophies: custom award badges for your users@Muchsin-Assegaf is there any particular feature you're looking for to be added to the plugin?.. Otherwise, plugin just works, why need an update?..
-
[nodebb-plugin-trophies] Trophies: custom award badges for your users@julian That's great! Still, widget area intended to use with this plugin is missing so good ol' template editing will persist as the way to go for me. This plugin needs an area in account/profile.tpl, I've added it at line 12.
-
[nodebb-plugin-trophies] Trophies: custom award badges for your users@julian well, as long as you have a widget area in your user profile template – you're golden. Persona template does not have it, by the way. So in my case – yeah, I had to edit some templates.
If there is a way of soft-adding widget areas from plugins – let me know.
Also, I can't seem to find the way Persona template defines it's widget areas. It does not have any library.js at all, but still has some widget areas defined. How does that work?..
-
[nodebb-plugin-trophies] Trophies: custom award badges for your users@yariplus does it work on 1.0?.. I haven't test it with 1.0 yet.
I guess I have to test it against 1.0 first. I don't want to update the "compatibility" on random – what if it turns out it is not compatible?
-
[nodebb-plugin-trophies] Trophies: custom award badges for your usersHey,
Seeing that @psychobunny's badges plugin was not updated for quite a long time, I've decided I want to write something similar.
Preambule: I've never written single nodebb plugin before and, frankly, not experienced with nodejs at all. So this is my first approach in plugin writing. Here goes.
With this plugin you can create award badges through your admin panel and give them out to users. Trophies will be then displayed on their user profile page as little badges with names and tooltips.
Here, I have a screenshot:
When you give the award to someone, you can tick the "steal from everyone else" thing so only that one person would have it. Useful for trophies that should not have multiple instances (like "Top Scoring in Magic Blue Smoke Club").
Currently, size of the trophies is hardcoded to be 50x50 px. I'd like to change it in future.
Oh, and there is no automated trophies (like in @psychobunny's badges plugin, if I remember correct).
Here's a lame piece of screenshot of how it looks like on the admin side:
Anyways. I have tested it with my favourite testing technique – eyeballing that is, and it seems to work. This is my first try in writing plugins for NodeBB so there be dragons.
Source is on the github: https://github.com/toxuin/nodebb-plugin-trophies
Licensed the same way as @psychobunny's badges plugin since loosely based on it.I would appreciate comments, suggestions, crash reports (my favourite).
P.S. What do I have to do to get it submitted to the plugin catalogue?..