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> |
#2
|
|||
|
|||
anyone know? I'm guessing i need to some how have it refresh when a user gives reputation.
|
#3
|
||||
|
||||
Most likely the mod needs a new plugin that gets evaled when the ajax posts the postbit so that the variable is available for use. You are going to have to ask about this in the modification thread and see if the developer is willing to write it/add it to the modification.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|