Log in

View Full Version : How do I show the rep points in the postbit?


Darkrai
06-12-2014, 09:57 AM
In VB5, only the green bars for the reputation is shown. How do show the actual number of the rep point power? Is there some sort of mod for it?

DisasterDotCom
07-23-2014, 02:28 PM
See https://vborg.vbsupport.ru/showthread.php?t=297041 to set up the foundation of adding additional fields to the postbit.

And then add {vb:raw conversation.reputation} into conversation_fields (created from that last link)

My conversation fields:

{vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}}
<p>Rep Points: <font style="color:green">{vb:raw conversation.reputation}</font></p>
<vb:if condition="$userInfo['field5']"><a href="{vb:raw userInfo.customFields.category1_title.field5_title .val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/facebook.png" alt="Facebook" title="Facebook"></a></vb:if>
<vb:if condition="$userInfo['field6']"><a href="{vb:raw userInfo.customFields.category1_title.field6_title .val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/twitter.png" alt="Twitter" title="Twitter"></a></vb:if>
<vb:if condition="$userInfo['field7']"><a href="{vb:raw userInfo.customFields.category1_title.field7_title .val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/googleplus.png" alt="Google+" title="Google+"></a></vb:if>
<vb:if condition="$userInfo['field8']"><a href="{vb:raw userInfo.customFields.category1_title.field8_title .val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/linkedin.png" alt="LinkedIn" title="LinkedIn"></a></vb:if>
<vb:if condition="$userInfo['field9']"><a href="{vb:raw userInfo.customFields.category1_title.field9_title .val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/pinterest.png" alt="Pinterest" title="Pinterest"></a></vb:if>
<vb:if condition="$userInfo['field10']"><a href="{vb:raw userInfo.customFields.category1_title.field10_titl e.val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/youtube.png" alt="YouTube"></a></vb:if>

kehindelawal
07-26-2014, 09:58 PM
In VB5, only the green bars for the reputation is shown. How do show the actual number of the rep point power? Is there some sort of mod for it?

See https://vborg.vbsupport.ru/showthread.php?t=297041 to set up the foundation of adding additional fields to the postbit.

And then add {vb:raw conversation.reputation} into conversation_fields (created from that last link)

My conversation fields:

{vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}}
<p>Rep Points: <font style="color:green">{vb:raw conversation.reputation}</font></p>
<vb:if condition="$userInfo['field5']"><a href="{vb:raw userInfo.customFields.category1_title.field5_title .val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/facebook.png" alt="Facebook" title="Facebook"></a></vb:if>
<vb:if condition="$userInfo['field6']"><a href="{vb:raw userInfo.customFields.category1_title.field6_title .val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/twitter.png" alt="Twitter" title="Twitter"></a></vb:if>
<vb:if condition="$userInfo['field7']"><a href="{vb:raw userInfo.customFields.category1_title.field7_title .val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/googleplus.png" alt="Google+" title="Google+"></a></vb:if>
<vb:if condition="$userInfo['field8']"><a href="{vb:raw userInfo.customFields.category1_title.field8_title .val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/linkedin.png" alt="LinkedIn" title="LinkedIn"></a></vb:if>
<vb:if condition="$userInfo['field9']"><a href="{vb:raw userInfo.customFields.category1_title.field9_title .val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/pinterest.png" alt="Pinterest" title="Pinterest"></a></vb:if>
<vb:if condition="$userInfo['field10']"><a href="{vb:raw userInfo.customFields.category1_title.field10_titl e.val}" target="_blank" rel="nofollow"><img src="/forums/images/pb/youtube.png" alt="YouTube"></a></vb:if>

You didnt really answer his questions at all.

DisasterDotCom
07-27-2014, 02:46 PM
Ummm... I gave him step by step instructions on how to add the rep points into his postbit.. how is that not answering his question (which was.. how do I add rep points into the postbit)?