The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
"circle repping"
// 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 This is from the circle rep hack. https://vborg.vbsupport.ru/showthread.php?t=118770 Anybody able to tweak this so it works with 3.6.7? Currently it doesn't seem to allow the reverse rep..in other words if I give a member 5 points, I cannot deduct 5 points afterwards and visa versa. The attempt appears to have been successful, but no change to their totals. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|