The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Displaying reputation amount? How to
I've noticed on alot of forums, they've managed to alter the rep displayed under Usernames so it also displays the actual numerical amount. I searched around a bit for some mods, but couldn't find anything.
So basically wanted to ask if anyone knows what part of the script I need to alter in templates? Here is a screenshot, just to further clarify what I want to change. I'd like it to alter it so it displays - Username - Reputation Message - (Amount of Rep) - Thx for any help. |
#2
|
|||
|
|||
Use $post[reputation] to display the number.
|
#3
|
|||
|
|||
Ok I tried this:
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if> <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if> However it displays Outside the box, how can I make it inside? |
#4
|
||||
|
||||
Where in the template did you put it?
|
#5
|
|||
|
|||
Can you explain what you're trying to do?
|
#6
|
|||
|
|||
Quote:
Quote:
The code I posted above, partially works, but the rep displayed permanently appears outside the box next the rep bars. |
#7
|
|||
|
|||
I'm pretty sure that the $post[reputationdisplay] is constructed on the backend and spits out the final result (images + title). I haven't played it it so I can't really tell you how you would alter it to edit the title portion.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|