• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. toxuin
    3. Best
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 2
    • Controversial 0
    • Groups 0

    Best posts made by toxuin

    • [nodebb-plugin-trophies] Trophies: custom award badges for your users

      Hey,

      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:
      0_1464134045070_trophies-screenshot.png

      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:

      0_1464134259021_trophies-admin-screenshot.png

      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?..

      posted in NodeBB Plugins
      toxuin
      toxuin
    • RE: [nodebb-plugin-trophies] Trophies: custom award badges for your users

      @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.

      posted in NodeBB Plugins
      toxuin
      toxuin

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact