File cần sửa: 02 (viewthread.php ; templates/default/viewthread_note.htm)
#01: mở file viewthread.php
tìm
if($_DCACHE['usergroups'][$post['groupid']]['userstatusby'] == 1) {
$post['authortitle'] = $_DCACHE['usergroups'][$post['groupid']]['grouptitle'];
$post['stars'] = $_DCACHE['usergroups'][$post['groupid']]['stars'];
} elseif($_DCACHE['usergroups'][$post['groupid']]['userstatusby'] == 2) {
foreach($_DCACHE['ranks'] as $rank) {
if($post['posts'] > $rank['postshigher']) {
$post['authortitle'] = $rank['ranktitle'];
$post['stars'] = $rank['stars'];
break;
}
}
}
Thay bằng
//Start display Post-rank
$post['authortitle'] = $_DCACHE['usergroups'][$post['groupid']]['grouptitle'];
$post['stars'] = $_DCACHE['usergroups'][$post['groupid']]['stars'];
foreach($_DCACHE['ranks'] as $rank)
{
if($post['posts'] > $rank['postshigher'])
{
$post['authortitle'] = $rank['ranktitle'];
$post['stars'] = $rank['stars'];
break;
}
}
//end Post-rank
#02: Mở file templates/default/viewthread_note.htm
Tìm
<p><em>$post[authortitle]</em></p>
Thêm ngay bên dưới
<!--Start Show PostRank!-->
<p><em>$post[authortitle1]</em></p>
<p>{eval showstars($post['stars1']);}</p>
<!--End Show PostRank!-->
Update Cache & Done