[nodebb-plugin-ns-awards] NS Awards, Give Medals!

  • @PitaJ
    Yes. ./nodebb stop./nodebb build then ./nodebb start. Nothing happens.

    But I can enter the award in the API, and site/awards

    BTW, do I need to copy them there?

    copy awards_profile_flex.tpl and awards_topic.tpl to nodebb-theme-vanilla/templates/partials

  • Global Moderator

    What theme are you using? That where you need to copy the templates to and modify the templates in.

  • @PitaJ

    Thank you. Yes, I confirm that I need to copy awards_profile_flex.tpl to templates/partials folder then it works.

  • Plugin & Theme Dev


    New version is available.

    • Changed NodeBB compability to work with NodeBB v1.11.0

  • Plugin & Theme Dev


    The new version is available.

    • Changed all core dependencies to use the latest secure versions
    • Changed ACP Management layout to take all available width
    • Fixed NodeBB database requests without a limit (kudos to Marek Dorda)

  • @Nicolas any updates on the ability to automatically award users badges?

  • plugin doesn't work with v1.12.0. there is no award option in the admin panel.

    2019-04-14T20:28:57.017Z [4567/19223] - �[33mwarn�[39m: [deprecated] requiring core modules with module.parent.require('./src/emitter') is deprecated. Please use require.main.require("./src/<module_name>") instead.
    at /home/user/nodebb/node_modules/nodebb-plugin-ns-awards/plugin/nodebb.js:7:31

    2019-04-14T20:28:57.020Z [4567/19223] - �[31merror�[39m: Error: Cannot find module './src/emitter'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
    at Function.Module._load (internal/modules/cjs/loader.js:508:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Module.require.main.require (/home/user/nodebb/require-main.js:8:10)
    at /home/user/nodebb/node_modules/nodebb-plugin-ns-awards/plugin/nodebb.js:7:31
    at Object. (/home/user/nodebb/node_modules/nodebb-plugin-ns-awards/plugin/nodebb.js:42:3)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)

    2019-04-14T20:28:57.022Z [4567/19223] - �[33mwarn�[39m: [plugins] Unable to parse library for: nodebb-plugin-ns-awards

  • anyone knows how to fix this error?

  • Plugin & Theme Dev

    Version 5.2.0

    The new version is available.

    • Added restriction to work with Node v6 and higher
    • Changed version compatibility with NodeBB v1.12.0
    • Fixed handling of purged posts
    • Security updates to ACP dependencies to prevent critical vulnerabilities

  • I am getting error when creating new Medals (NodeBB Version : 1.12.2)

    Request URL: http://localhost:4567/api/admin/plugins/awards/images
    Request Method: POST
    Status Code: 404 Not Found

Suggested Topics

| |