Log in

View Full Version : unlimited reputation


skiseiju
08-20-2010, 04:52 PM
Hi,Does anyone knows how to create a un-limited reputation system?
I want to : reputation my post / reputation same post / reputation more than one time

Thnaks a lot.

skiseiju
10-21-2010, 03:32 PM
Hi,Does anyone can help?

BirdOPrey5
10-21-2010, 05:30 PM
If you edit reputation.php you can "edit out" the checks... taking a quick look at vb 3.8.6 reputation.php you want to "comment out" lines 124-132 inclusive- that will let you give reputation to the same post more than once.

for me those lines are:
if ($repeat = $db->query_first("
SELECT postid
FROM " . TABLE_PREFIX . "reputation
WHERE postid = $postid AND
whoadded = " . $vbulletin->userinfo['userid']
))
{
eval(standard_error(fetch_error('reputationsamepos t')));
}
They may be different lines in different versions of 3.8.x.

To "comment out" a line ad two slashes "//" to the front of the line so it's ignored.

To be able to rep yourself it looks like it may need a javascipt edit, not something I can look into right now.

This was just a quick look- not sure if this will cause other problems down the line so backup first.