![]() |
Allow users to see all their reputation in UserCP
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 --> Open usercp.php Find: Code:
// ############################### start reputation ############################### Code:
$repcount=$_POST['repcount']; Code:
ORDER BY reputation.dateline DESC Code:
LIMIT 0, $repcount |
Nice idea, thanks for the hack !
|
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. |
You can change it from 5 to whatever you like in the reputaion options in the ACP - we use 100 :)
|
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. ;)
|
Nice one, thanks for sharing.
|
This looks promising, but following your instructions gives me this error:
Quote:
|
Would this work in 3.6.x?
If not, is there a port of this mod somewhere? |
Can anyone upgrade this to work in 3.6.x?
|
Has anyone done this in 3.6.x yet? This looks like exactly what my users are requesting.
|
All times are GMT. The time now is 02:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|