Is there a hack avavilable that will show the Admin who has given reputation to who? It would be nice to have that ability in the Admin CP. Maybe a listing or in the user's profile. Who they have given reputation to and who they have received it from.
In admin/user.php find: (note this code is from vB3 Gamma, however its probably still the same):
PHP Code:
$quicklinks = array_merge(
$quicklinks,
array(
Add above:
PHP Code:
// EDIT ########################################################################
// reputation edit link
if ($bbuserinfo['userid'] == X) {
$quicklinks["../$modcpdir/user.php?action=reputation&userid=$userid"] = $vbphrase['edit_reputation'];
}
You either need to remove the if statement if you want it for all admins or replace X with your userid. The link then appears in the drop down with the others like Email Password Reminder.
Yeah, I was going to do it that way but I went ahead and copied the code for the reputation stuff from the modcp/user.php to the admincp/user.php and chnaged a couple of the links to bring it back to the Admin CP when I clicked on the username's link. Otherwise it did it all from the modcp which is kindof restricted for Admins. I put the link in where you said but I linked it to the admincp/user.php instead. Noiw, how do we go about finding out who the user has given reputation to (now that we have who they got it from)?
Well, I got this far but I can't get it to pull the names of the people the user has given reutation to. Can anyone tell me why this code isn't working?
PHP Code:
$recipients=$DB_site->query(" SELECT reputation.userid,user.username FROM " . TABLE_PREFIX . "reputation LEFT JOIN " . TABLE_PREFIX ."user ON user.userid=reputation.userid WHERE reputation.whoadded='".$reputation['userid']."' ORDER BY username ASC ");
$recipients=$DB_site->query("
SELECT reputation.userid,user.username
FROM " . TABLE_PREFIX . "reputation
LEFT JOIN " . TABLE_PREFIX ."user ON(user.userid=reputation.userid)
WHERE reputation.whoadded='".$reputation['userid']."'
ORDER BY username ASC
");
same here, I already have members abusing my rep system. Right now I have them believing that I can see what everyone is doing with the rep system but I doubt I can fool them forever. If this isn't something I can control then I will have to take it down because its only going to cause problems on my site without regulation.