Back to vBulletin 3.0 Add-Ons

Allow users to see all their reputation in UserCP
Mod Version: 1.00, by The Keeper

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 9
Released: 31 Oct 2004 Last Update: Never Downloads: 0
Not Supported  

This is a remarkably simple hack that takes minutes to install and allows users the option of seeing more than the default 5 repuation entries in their User CP.

First, edit the USERCP template.

Find:
Code:
$vbphrase[latest_reputation_received]
Immediately after it, add:
Code:
<!-- User Rep Options -->
<form name="rep" action="usercp.php" method="post">
<select name="repcount"
onchange="this.form.submit()" 
style="font-size:x-small">
<option>Show how many comments...</option>
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
<option value="25">25</option>
<option value="30">30</option>
<option value="40">40</option>
</select>
</form>
Then save.

Open usercp.php

Find:

Code:
// ############################### start reputation ###############################
Add below:

Code:
$repcount=$_POST['repcount'];
if ($repcount=="")
{
$repcount=5;
}
At the bottom of the query a few lines down, find:
Code:
ORDER BY reputation.dateline DESC
And replace the line below that with:
Code:
LIMIT 0, $repcount

Download

No files for download.

Similar Mods

Major Additions Reputation Points in USERCP vBulletin 3.6 Template Modifications
Display Reputation Given in UserCP Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024