[nodebb-plugin-ns-awards] NS Awards, Give Medals!
-
The current version of the plugin is not compatible with
1.5.x
, because of the breaking changes.Awards plugin is not designed to reward users for something - automatically. But with the future version, it will be possible to write a plugin which solves award auto-assignment.
-
Here is a list of changes, which you can expect in the next major update
-
@nicolas said in [nodebb-plugin-ns-awards] NS Awards, Give Medals!:
Here is a list of changes, which you can expect in the next major update
Nice, really looking forward to it!
-
Awards ver. 4
A new version has been released. It's a major release. It took a while to make all changes.
Changelog:
- Add an edit mode for multiple awards
- Add support for plugin driven image upload
- Add rewards section to ACP
- Add protection for an image upload service
- Add activity limit setting
- Add configuration for notification text
- Add reward multiplier for overview page
- Add external Plugin API
- Add tooltips to a topic view
- Add support for SVG
- Change UX for the creation of awards
- Change UX for Overview section
- Change award URL to use an absolute path
- Change award upload
- Change NodeBB compatibility to v1.5.x and higher
- Change notifications
- Change max rewards per post setting
- Change max rewards per account setting
- Change overview page styles to use Flexbox
- Update plugin dependencies
- Update ACP dependencies
- Remove extended profile template
It also provides a new UX, and it should be easier to style for your own needs.
-
You can edit your theme to show awards.
GitHub - NicolasSiver/nodebb-plugin-ns-awards at d07ba2aaa54da813ad8f3ce1810247fbc9b7d702
A system for rewarding forum users. The plugin allows admin to define set of awards that could be granted to users for special accomplishments. - GitHub - NicolasSiver/nodebb-plugin-ns-awards at d07ba2aaa54da813ad8f3ce1810247fbc9b7d702
GitHub (github.com)
Also, there is an ongoing conversation/feature request, to it will be possible to simplify the integration process.
Widgets with a context · Issue #5633 · NodeBB/NodeBB
Hello, guys. I'm exploring the idea to use widgets to inject plugin data. Today, I'm asking plugin users to change their theme and include templates: https://github.com/NicolasSiver/nodebb-plugin-ns-awards/tree/ea9491fd50b80fe28131c09544...
GitHub (github.com)
-
awesome plugin it would be great if you add built in rewards support so using built-in rewards plugin we can rewards awards :p:
-
Great looking plugin but I'm struggling to get it working. I'm using the Vanilla theme.
Here's what I've done so far:
- Added awards_profile_flex.tpl and awards_topic.tpl to nodebb-theme-vanilla/templates/partials
- Added the "<!-- IMPORT partials/awards_profile_flex.tpl -->" line to nodebb-theme-vanilla/templates/account/profile.tpl
- Added the "<!-- IMPORT partials/awards_topic.tpl -->" to nodebb-theme-vanilla/templates/topic.tpl
- Given a user an award
- Restarted NodeBB
Nothing showing on the profile page or on any posts. Inspecting the html shows no reference to any of the elements in the templates.
What am I missing?
-
I'm not sure if restart triggers template recompile.
When you changing templates for your theme, you have to recompile them.try to stop forum, build static assets (
./nodebb build
), and start it again: -
The plugin was not designed to handle triggers to do award assignments. But with the latest version, it's possible to write a plugin which can do it.
-
@nicolas amazing plugin I just give an idea about user defined awards as well.. so that other users can also give rewards to another users and followers... That way the names and the creativity of the Awards will be in finite because based on the number of users. And it will no longer be dependent of admin's soul creativity
-
@faizanzahid yes its working. Just getting this error randomly when creating polls sometimes.
-
@nicolas can you please tell me what exactly changes i have to do on my profile.tpl page and post page if i want to show rewards ? u mentioned about CSS classes, but where exactly do i put it and how, can u give an example plz?
We are using persona theme.