The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Default Rep Power 10 at Registration
How can I make the default rep power 10 for every user when they register? And how can I make it 10 for the people who already registered on my board??
I know a site that did this, so don't tell me it's impossible. When someone registers, they start with 10 rep power. How is this possible? |
#2
|
|||
|
|||
Well, it looks like rep power is calculated by starting with 1 and adding on to it for # of posts, days registerd, and reputation. So if you wanted to start with 10 instead of 1 you could make a plugin using hook reputation_power and this:
Code:
if ($reppower != 0) $reppower += 9; The check for 0 is because $reppower is set to 0 in certain cases (like they haven't met the minimum # of posts yet). As for setting it for people already on your board, they're still going to have theirs calculated as mentioned above, they'll just get 9 more on top of that. I'm not sure if that's what you want to do, especially if you allow negative reputation. |
#3
|
|||
|
|||
Ooo! Thank you!! That worked
I do not allow Neg Reputation. It was a real pain trying to balance rep when ppl started at 1 rep power and you dont get another "rep pip" until like, 50 or whatever I have it set to. |
#4
|
||||
|
||||
Actually, if you have a look at /includes/functions_reputation.php, you get 1 reputation pip for every 100 reputation points
|
Благодарность от: | ||
CoffeeLovesYou |
#5
|
|||
|
|||
I am using Extended Reputation Display so it tweaked all of that lol. Merry Christmas to both of you, thanks for helping.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|