[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
-
What theme are you using? That where you need to copy the templates to and modify the templates in.
-
5.0.1
New version is available.
- Changed NodeBB compability to work with NodeBB v1.11.0
-
5.1.0
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)
-
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:312019-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
-
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 -
@Deendyal-Agarwal said in [nodebb-plugin-ns-awards] NS Awards, Give Medals!:
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 Founddoes the plugin break with 1.12.2?
it would be suck if plugin breaks whenever nodebb is updated. -
So, is this still working?
-
@shanza97 did you build NodeBB and restart? Aside from "restart" there should be "rebuild and restart" button in acp. Or you can manually trigger it from cli:
./nodebb build
and./nodebb restart
. -
Version v6.0.0
The new version has been released.
Changelog:
- Changed version compatibility with NodeBB v1.13.x
- Changed main ACP dependencies to use the latest client libraries
- Changed file library dependencies to use native File System module
-
It seems the plugin stopped working correctly as of version 1.15 and nodebb-plugin-ns-awards v.6.0.0
I added IMPORT to my profile.tpl, and it certainly does import as I added an empty test <div> to the plugin's .tpl and I can see that <div> on the profile page, but nothing inside
<!-- IF nsRewards.length -->
is added to the page DOM.I found an issue on Github where it was advised to add "post." before "nsRewards", however that didn't help, as well as adding "account." or "user."
/awards path working as intended, along with the awarding itself.
awards-profile-flex.tpl:
<div class="testing-nsawards"></div> <!-- IF nsRewards.length --> <div class="ns-awards-profile"> <!-- BEGIN nsRewards --> <div class="ns-awards-profile__image"> <img title class="teaser-pic img-responsive" src="{nsRewards.award.url}" data-original-title="{nsRewards.award.name}"/> </div> <!-- END nsRewards --> </div> <!-- ENDIF nsRewards.length -->
-
@kagarino
OMG. I'm move from NodeBB to XenForo.XF have more option and function on ACP by default, it's realy cool CMS with big support community and hes price $160, NodeBB price start $250 and on this CMS have only problems. Stuped logic. NodeBB use Nodejs (javascript) and developers can't create beautiful functional chat with redactor text formatin, typed/read/unread status indicator, mode to delete user history ip + email change, don't have payment plugin, upgrade from acp, bad mobile optimization, very slow speed work, have more errors after releases new version, it's so stuped, developers not testet hes product and popular plugins before release and after the update, you may lose your forum or lose some of the functionality due to the actions of the developers, who, instead of creating new functions, simply change the source code of the formes, rename the classes and values, so that the necessary plugins simply stop working.
BB, Nodebb!