[nodebb-plugin-reputation-rules] Reputation Rules Plugin for NodeBB
-
Reputation Rules Plugin for NodeBB
This plugin lets you configure the parameters to manage the reputation system in your NodeBB instance..
Reputation Rules Plugin for NodeBB
Rules to prevent abuse of the reputation system and reward most valuable users.
Rule #1
Upvoting In order to upvote, the user must have
- {MIN_POSTS_TO_UPVOTE} posts or more
- at least {MIN_DAYS_TO_UPVOTE} days since registration
Rule #2
Downvoting In order to downvote, the user must have
- {MIN_POSTS_TO_DOWNVOTE} posts or more
- at least {MIN_DAYS_TO_DOWNVOTE} since registration
- {MIN_REPUTATION_TO_DOWNVOTE} reputation or more
Rule #3
Downvoting costs {DOWNVOTE_PENALIZATION} reputation (user who votes loses some reputation)
Rule #4
One user can't vote (up or down) more than
X
times a day, beingX = reputation/10
. With a minimum of 5 and a max of 50Rule #5
Reputation can be disabled in certain subforums
Rule #6
A user cannot vote the same person twice in a month
Rule #7
A user cannot vote more than 5 messages in the same thread
Rule #8
Upvotes give extra reputation depending on the user who is voting:
- extra reputation =
floor(votersReputation * 5%)
(you can change this percentage in the ACP)
Downvotes decrease extra reputation depending on the user who is voting:
- extra reputation =
floor(votersReputation * 5%)
(you can change this percentage in the ACP)
Rule #9
Undoing votes:
- undoing an upvote should remove extra reputation awarded when upvote was given (extra rep should not be recalculated)
- undoing a downvote should remove penalization to voter and give the extra reputation the author lost when he got the downvote
Rule #10
Upvotes and downvotes should have a maximum weigh, configurable. So that rule #8 doesn't make vote points tend to infinity.
(TO-DO)
- Ban for low reputation
Installation
npm install nodebb-plugin-reputation-rules
https://www.npmjs.com/package/nodebb-plugin-reputation-rules
-
We have had a lot of problems with translations server-side. It was working on v0.7.0, but stopped working on v0.7.2 without any warnings/errors in the console... So we have implemented our own translator.
Rule #5 has been implemented, and we are now working on the ACP.
So, no more TODOs, feel free to test it, we are now going to publish it to npm.
-
updated 1.0.0
-
Does it work on 0.9.4 ?
-
-
No Ban for low reputation is bad I think BC it's unfair for new users.
-
v1.0.3 released
Works with NodeBB 1.0.x and also 0.7, 0.8 and 0.9 versions as far as I know.Whats new:
- Plugin configuration panel completely reworked, now looks more material, following the NodeBB ACP design style
- New feature: downvotes can have weigh too. This means that downvotes can remove more than just "1" points to the one being downvoted, depending on the user reputation.
- New feature: downvotes can now remove a custom number of points from the user who votes. It is called "downvote penalization". You can set this to zero to disable it.
- New feature: you can set a maximum number of extra points for upvotes, cause "upvote weigh" is a percentage of user's reputation, and that can grow to very very high numbers, so now you can limit it.
- New feature: downvotes can also be limited, same as previous point.
Here is a screenshot of all the options you can configure from the ACP:
-
Why this is not in ACP? Really need this plugin
-
@Muchsin-Assegaf What is not in ACP?
-
@Muchsin-Assegaf Thats probably because the plugin.json file states that the plugin can only be installed on v1.0.x:
"nbbpm": { "compatibility": "^1.0.x" }
And you are probably using an older version of NodeBB. I always use
npm install
so I haven't paid attention to this value to be honest. I can change it later and publish it to npm again so you can find it. What version of NodeBB are you using? -
@Muchsin-Assegaf said in [nodebb-plugin-reputation-rules] Reputation Rules Plugin for NodeBB:
@TheBronx Just to inform you that I'm using this plugin right now.. Its a great one, thank you
Glad to hear that Thank you too!
-
Does anyone know if this plugin still works? Or if there is something similar? There is a note that says: "This plugin has no compatibility data, make sure it works before installing on your production environment." How can I "make sure it works" without installing it?
-
@zandertrek I tried this yesterday, and whilst it installed, I couldn't see anything in the ACP to configure it, so uninstalled it. I guess it's not fully compatible.
-
@zandertrek Yes, I'd use it also. Wonder if @TheBronx is still active here ? Since he hasn't posted since 2016 (in this thread), perhaps not. Maybe, we could ask @baris or @julian if they are perhaps willing to update it ?