@nicolas i has a external website, when access website i use ajax make request login 'api/ns/login'... i received object user . but i do not received notification at external website.
socket.uid at serve = 0.
can you help me ?
sorry if i write less english.
[nodebb-plugin-ns-awards] NS Awards, Give Medals!
Would love, love, love to see automated medals that function similarly to rewards, where it awards medals based on parameters.
I am testing
v1.4.0and have problems with this plugin. The award images are not being displayed in either the profile of the user or the topic that an awarded user starts.
The images do show up in the ACP for the plugin:
Is this a known problem with this plugin and the recent version of NodeBB?
rod last edited by rod
@rod I believe I found the problem. The path to the image is missing a dividing slash.
I assume It was changed in NodeBB. That is why It does not work anymore for you in the latest version.
@Nicolas Your broken plugin was bothering me! I found a work around.
In my public directory I created a symbolic link to the proper directory with the broken directory path. Now the award images render properly.
This is what I did:
publicdirectory I created the symlink
ln -s uploads/awards uploadsawards
Sorry for that.
In some particular version of the NodeBB, trailing slash was removed from the path.
With the next update, the path will be handled better.
@Nicolas I'm not sure if you were still planning on doing an update, but I've made this plugin work with 1.4.5: https://github.com/NicolasSiver/nodebb-plugin-ns-awards/pull/13
It still needs some work on the ACP side, and you'd probably want to check out one of the hotfixes I made before merging (see issue).
I think you should check out NodeBB's
src/file.jsinstead of writing your own uploader though Thanks!
I had a feeling that it's not a good idea to do changes in the
I have started to work on the next major update, so a lot of parts of the plugin is not implemented or unfinished. Anyway, thanks for the pull-request.
I really like this plugin, is there any option to pre-set a 'rule' instead of having to manually assign?
E.g. When a user has 10 Upvotes they automatically get the medal, and so on.
@MBFTOM I understand what you are asking, but
NS Awardsplugin was designed with a goal to give special awards. I mean awards when you don't mind to do it not so often and you are eager to write a reason
I'm exploring an idea of external API for the plugin, so it will be possible to write another plugin which can collect a lot of data about users behaviors and grant awards. Since I think auto-behavior should be decoupled from Awards. What you are asking is an extra load on the forum to capture activity and store (more noise in your storage) a result of the capture.
I look forward to making the things which in the list. https://github.com/NicolasSiver/nodebb-plugin-ns-awards#todo
I'm going to eliminate all items from TODO list with
v4release. It will be big.
Ernest L. Defoe last edited by
For some reason any image I upload to use for an award doesn't show just shows a broken image icon. Using NodeBB 1.5.0
yari, v4 waiting
teh_g last edited by
Is this working on 1.5.1? I want to make sure I don't blow anything up
teh_g last edited by
Also, is the only way to get awards on profiles to update the template?
Yes. But I'm exploring an idea with widgets.