Preventing circle-reps - one member, one score
This modification is in the archives.
On our site we have had alot of problem with small groups of people circle-repping each other to boost their rep power. I came up with a simple code modification (no plugin space for this) that resets all previous rep scores a user has given the user they are repping and then applies the new rep score to their reputation.
Esentially this removes the incentive for circle-repping and only those who get repped positively the most end up with the highest rep score. In reputation.php, at line 160is find: Code:
// Determine this user's reputationlevelid. Code:
// MDP // Reset older rep to 0 and then get new count $db->query_write(" UPDATE " . TABLE_PREFIX . "reputation SET reputation=0 WHERE userid=$userid AND whoadded=" . $vbulletin->userinfo['userid'] ); // Now get current reputation level $newrep = $db->query_first(" SELECT sum(reputation) AS newtotal FROM " . TABLE_PREFIX . "reputation WHERE userid=$userid "); $userinfo['reputation'] = $newrep['newtotal']; // End No more circle-repping. Download No files for download. |
Similar Mods
green circle ranks | vBulletin Rank Sets |
red circle ranks | vBulletin Rank Sets |
orange circle ranks | vBulletin Rank Sets |