Ok, i did following (as it needed for ten point):
Quote:
Open: threadrate.php
Find:
if ($vbulletin->GPC['vote'] < 1 OR $vbulletin->GPC['vote'] > 5)
Replace with:
if ($vbulletin->GPC['vote'] < 1 OR $vbulletin->GPC['vote'] > 10)
--------------------------------------------------------
Open: /includes/class_dm_threadrate.php
Find:
var $max_vote = 5;
Replace with:
var $max_vote = 10;
|
And i test the 10 point system on my forum (ex
http://mixplay.ru/showthread.php?t=1520), so all working good
snowlion, you are edit this string?
PHP Code:
$xml->add_tag('voteavg', process_replacement_vars("$vbphrase[rating]: <img class=\"inlineimg\" src=\"$stylevar[imgdir_rating]/rating_$thread[rating].gif\" alt=\"" . construct_phrase($vbphrase['thread_rating_x_votes_y_average'], $thread['votenum'], $thread['voteavg']) . "\" border=\"0\" />"));
And i test this hack on 3.8.2, same work good. If you has edited templates of hack - revert it.