The Arcive of vBulletin Modifications Site. |
|
Allow users to see all their reputation in UserCP Details »»
|
|||||||||||||||||||||||||||
|
Allow users to see all their reputation in UserCP
Developer Last Online: Feb 2009
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] 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> Open usercp.php Find: Code:
// ############################### start reputation ############################### Code:
$repcount=$_POST['repcount'];
if ($repcount=="")
{
$repcount=5;
}
Code:
ORDER BY reputation.dateline DESC Code:
LIMIT 0, $repcount Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Nice idea, thanks for the hack !
|
|
#3
|
|||
|
|||
|
Here's a pic of how it looks in the UserCP
It was only knocked up in minutes, but if someone wants to convert it to use phrases and use a bit more error checking/security on the $repcount variable, feel free. |
|
#4
|
||||
|
||||
|
You can change it from 5 to whatever you like in the reputaion options in the ACP - we use 100
|
|
#5
|
|||
|
|||
|
Yeah, but that's a static figure all users have to have. This way allows any user to quickly change it themselves without having to ask an admin to change the figure for the whole board.
|
|
#6
|
|||
|
|||
|
Nice one, thanks for sharing.
|
|
#7
|
|||
|
|||
|
This looks promising, but following your instructions gives me this error:
Quote:
|
|
#8
|
|||
|
|||
|
Would this work in 3.6.x?
If not, is there a port of this mod somewhere? |
|
#9
|
|||
|
|||
|
Can anyone upgrade this to work in 3.6.x?
|
|
#10
|
|||
|
|||
|
Has anyone done this in 3.6.x yet? This looks like exactly what my users are requesting.
|
![]() |
|
|