手动修改方法:打开 template/default/forum/forumdisplay_list.htm
搜索:

  1. <tbody id="$thread[id]">

在它上面,添加下面的代码

  1. <!--{if $tr != $thread['displayorder']}-->
  2. <!--{if $thread['displayorder'] == 1}-->
  3. <tbody>
  4. <tr >
  5. <td> </td>
  6. <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td> </td><!--{/if}-->
  7. <td colspan="4"> <font color=Green><b> 本版置顶</b></font></td>
  8. </tr>
  9. </tbody>
  10. <!--{elseif $thread['displayorder'] == 2}-->
  11. <tbody>
  12. <tr >
  13. <td> </td>
  14. <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td> </td><!--{/if}-->
  15. <td colspan="4"> <font color=Blue><b> 分区置顶</b></font></td>
  16. </tr>
  17. </tbody>
  18. <!--{elseif $thread['displayorder'] == 3}-->
  19. <tbody>
  20. <tr >
  21. <td> </td>
  22. <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td> </td><!--{/if}-->
  23. <td colspan="4"> <font color=red><b> 全局置顶</b></font></td>
  24. </tr>
  25. </tbody>
  26. <!--{/if}-->
  27. <!--{eval $tr = $thread['displayorder'];}-->
  28. <!--{/if}-->

修改好后,保存,然后上传覆盖本文件,然后更新缓存即可