Nutella!
10-03-2009, 01:34 AM
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,
<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>
thanks,
<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>