PDA

View Full Version : End-User Options - Show rep given in usercp


Carnage
06-13-2007, 10:00 PM
Searched for this mod on vborg but couldn't find it; i did have something similar to this installed on vb 3.0.x but not for 3.6 So i threw this together by modifying the existing rep display code and adding it as a plugin.

Hasn't been tested with any version other than the one i'm currently running however since its made up from slightly modified vb code i dont anticipate there being any issues.

Installation:

1) Import the product file.

2) in USERCP template find:

<!-- ############## END NEW REPUTATION ############## -->
</if>

Add above:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="5">
<span class="smallfont" style="float:$stylevar[right]">
&nbsp; &nbsp;
<a href="#top" onclick="return toggle_collapse('usercp_reputation')"><img id="collapseimg_usercp_reputation" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reputation].gif" alt="" border="0" /></a>
</span>
Latest Reputation Given
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reputation" style="$vbcollapse[collapseobj_usercp_reputation]">
<tr>
<td class="thead" colspan="2">&nbsp; &nbsp; $vbphrase[thread]</td>
<td class="thead">$vbphrase[date]</td>
<if condition="$vboptions['showuserraters']">
<td class="thead" nowrap="nowrap">Given To</td>
</if>
<td class="thead">$vbphrase[comment]</td>
</tr>
$reputationcommentbits2
</tbody>
</table>

Support:

i will try to support this mod but i dont check vborg that often so its best to contact me via my own forums (link in sig)

testebr
06-14-2007, 06:08 AM
Read:

Display Reputation Comments Given

https://vborg.vbsupport.ru/showthread.php?t=122592

FreshFroot
06-14-2007, 06:16 AM
I don't get the point of this hack?

aren't rep comments displayed by default?

Carnage
06-14-2007, 12:54 PM
Read:

Display Reputation Comments Given

https://vborg.vbsupport.ru/showthread.php?t=122592

weird... that didn't turn up when i searched for this...

I don't get the point of this hack?

aren't rep comments displayed by default?

This shows the ones given by the user as well as the ones recieved