-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewards API #2751
Comments
Thank you! |
@psychobunny Should I be able to create some basic rewards with this or do I need to wait for plugins to be implemented? Right now nothing happens when I click "New Reward". |
should have installed the plugin, if not then |
nodebb-rewards-essentials plugin is already installed and activated. |
Just double checking, you did restart forum after activating etc right? Do you get any error messages in the console when clicking on "New Reward"? |
Yes, I did restart. I just restarted it again. I don't see any error messages in the console when I click "New Reward". It just doesn't do anything. After I come to the "Rewards" page, every link I click in the ACP throws this error in the console.
|
I committed a fix for that second error, but I can't reproduce the first one. Tried it on an older db that I had upgraded to latest. Going to try on a fresh install now |
Got it to work on a completely fresh install as well. Try and see if the fix I posted above for the other error somehow resolves the first issue? |
pulled the latest code and the "New Reward" button works now. The default "Then:" is set to "Add to Group" but it doesn't display the "Group Name:" select list unless I pick "Send alert message" and then change it to "Add to Group". In the "Group Name:" select list, in addition to groups, all the categories are listed with privileges. Is that how it's going to be? |
The first one is a minor bug (although I thought I fixed that), will look into it shortly The second is intended, permissions are actually "groups". So a use case could be, if you gained enough reputation, you'd be able to allow a user to post in Category X It needs better UX / design though, which is something I'll focus on as we go along |
Was working on FF but broken on chrome - fixed |
Rewards API
A simple logic engine in the ACP to allow you to do actions based on events.
This was originally part of the badge system plugin but I decided to remove this and make it core, and have other plugins be able to build on top of it (badges plugin, achievements plugin, etc)
This is just a basic iteration and I'm sure there's a ton more we can do to make this cooler in future.
The text was updated successfully, but these errors were encountered: