蓝雨 发表于 2009-11-9 17:57:11

Discuz7.1帖内显示评分理由明细列表

找到/template/default/viewthread_node.htm
找到:

<!--{else}-->

<div id=\"post_rate_div_$post\"></div>

<!--{/if}-->


在上面加一段:
<!--[评分文字显示]-->
<style>
.ratebox { border-top:1px solid #D3E8F2;border-bottom:1px solid #D3E8F2; background:#EBF2F8; width:790px; padding-left:10px; }
.ratebox span { width:790px; display:block; padding-left:10px; }
.ratebox span em {clear:both;}
</style>
<div class=\"ratebox\">
<H2>本帖评分记录</H2>
<!--{loop $post $uid $ratelog}-->
<span>
<!--{loop $ratelog $id $score}-->
<!--{if $score > 0}-->
<font color=\"red\"><strong>{$extcredits[$id]} +$score $extcredits[$id]</strong></font>
<!--{else}-->
<strong>{$extcredits[$id]} $score $extcredits[$id]</strong>
<!--{/if}-->
<!--{/loop}-->
评分人:<a href=\"space.php?uid=$uid\" target=\"_blank\">$ratelog</a>理由:$ratelog
</span><br />
<!--{/loop}-->
</div>
<!--/end-->
更新一下缓存
页: [1]
查看完整版本: Discuz7.1帖内显示评分理由明细列表