The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I set everyones reputation power to never be more than 1?
My site is using the reputation system as a "negative" setup that auto-bans users after a certain number of rep points. This has been working exceptionally well for me.
I have recently updated the reputation system to give users one point for every 6 months they have been a member. I want to do this in such a way that if someone gets a point taken away, after six months they can "earn" it back. The problem is that the system currently is looking at the date of registration and then updating their reputation for EACH 6 months. Therefore, if a long time member gets 2 points, in 6 months they are BOTH wiped out. Example: Member for 4 years -2 rep points In six months they get 8 points Take their -2 points and add 8 points for a total of +6! Now when they give points, they also give more than 1 point to other users, so some folks are getting banned after 1 hit from a long term member. (I.e., I have one member who has +4 power, and one hit from him will ban another user as my threshold is set to 3 points.) I found includes/function_reputation.php and some code as follows: Quote:
Is that going to work? Thanks! |
#2
|
||||
|
||||
Let's see if I understood you correctly. You simply want all your users to have the same "rep changing power" you don't want long-time users to have more power? Is that right?
|
#3
|
|||
|
|||
That's right. And, actually, after some testing it turns out that the code above DOES work IF you set it to -1. So I am all set and it's very handy.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|