This simple template modification allows you to show the numerical user reputation inside the alternative text that you see when overing the reputation bar just above said avatar.
You can also choose to diplay the reputation power instead, or both.
I'm sure the picture below will explain it much more simply.
Postbit Templates >> postbit_reputation
Actually this is the only change needed.
- Find:
HTML Code:
<img class="repimg" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw posneg}.png" alt="{vb:raw post.username} {vb:raw post.level}" />
- To have shown the reputation replace with:
HTML Code:
<img class="repimg" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw posneg}.png" alt="{vb:raw post.username} {vb:raw post.level} ({vb:raw post.reputation})" />
- To have shown the reputation power replace with:
HTML Code:
<img class="repimg" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw posneg}.png" alt="{vb:raw post.username} {vb:raw post.level} ({vb:raw post.reppower})" />
- To have shown the reputation AND the reputation power replace with:
HTML Code:
<img class="repimg" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw posneg}.png" alt="{vb:raw post.username} {vb:raw post.level} ({vb:raw post.reputation} - {vb:raw post.reppower})" />
[*]
Postbit Templates >> postbit_legacy
If you installed the 1.00 mod version you can revert this one to the default, it was a my mistake to ask you to modify this
If you are newly installing the mod ignore this part.
If you fear that you may have changed anything else in that template, this was the modification I previously suggested, so you can reverse it. This modification is not necessary. To not diplay the reputation power as a line simply go to:
Admin CP >> Settings >> Options >> Thread Display Option >> Post Element
and there you can select wheter to display or not that line.
- Find:
HTML Code:
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
- Replace with:
HTML Code:
<vb:if condition="$show['infraction']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
</dl>
</vb:if>