The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Displaying reputation disappears when a user gives reps
I added this modification to postbit and postbit_legacy so that it would show the reputation amount along with the power bars. But when a user gives reputation it disappears and you have to refresh to see the reputation amount again. What do I have to fix so it always shows the reputation amount?
thanks, Code:
<if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span><br /></if> <span id="repdisplay_$post[postid]_$post[userid]">$vbphrase[reputation]: <if condition="$post[showreputation]"><font color=<if condition="$post[reputation]>0">"green"<else /><if condition="$post[reputation]<0">"red"<else />"gray"</if></if> title="$post[username] $post[level]">$post[reputation]</font><else />hidden</if><br /> $post[reputationdisplay]</span> </div> </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|