![]() |
Display Reputation Power in postbit
This hack will display each user's reputation power in their postbit.
No extra queries run and this code doesn't really add too much extra load time, maybe only 0.0000000000000001 seconds :D Very easy hack to install, 1 minute or less :D Okay let's begin :) First create a new Global phrase called reputation_power with the content Code:
Reputation Power PHP Code:
PHP Code:
PHP Code:
PHP Code:
HTML Code:
</div> HTML Code:
<if condition="$show[score]"><br />$vbphrase[reputation_power]: $score</if> |
Wow and no extra queries or serious overhead! Thanks a ton Gary!
|
No problemo :)
|
How will this look? Any screenshots?
|
One moment :)
|
Attached to first post ;)
|
I like it:)
*edit* - umm, it doesn't look like it's calculating the rep power properly. Some users (like the admins) are being calculated correctly...others, no. |
Strange! I did everything properly and have triple checked your script. I keep getting incorrect score values showing up. They do not match what is shown in the admincp. Even stranger the scores are always in the 400's. The values are always: 416, 417, 418, 419, etc. Really strange.
Did you notice the phrase name: current_reputation_power ? Maybe that helps... Let me know if you have a solution...This is a live board so I better unhack what I did here ;) |
What does Reputation Power show? The 'points' instead of the grafics?
|
There are 2 variables concerning reputation. Rep points and Rep power. The images are showing rep points. I want to show Rep power as well.
|
All times are GMT. The time now is 12:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|