手动修改方法:打开 template/default/forum/forumdisplay_list.htm
搜索:
- <tbody id="$thread[id]">
在它上面,添加下面的代码
- <!--{if $tr != $thread['displayorder']}-->
- <!--{if $thread['displayorder'] == 1}-->
- <tbody>
- <tr >
- <td> </td>
- <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td> </td><!--{/if}-->
- <td colspan="4"> <font color=Green><b> 本版置顶</b></font></td>
- </tr>
- </tbody>
- <!--{elseif $thread['displayorder'] == 2}-->
- <tbody>
- <tr >
- <td> </td>
- <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td> </td><!--{/if}-->
- <td colspan="4"> <font color=Blue><b> 分区置顶</b></font></td>
- </tr>
- </tbody>
- <!--{elseif $thread['displayorder'] == 3}-->
- <tbody>
- <tr >
- <td> </td>
- <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td> </td><!--{/if}-->
- <td colspan="4"> <font color=red><b> 全局置顶</b></font></td>
- </tr>
- </tbody>
- <!--{/if}-->
- <!--{eval $tr = $thread['displayorder'];}-->
- <!--{/if}-->
修改好后,保存,然后上传覆盖本文件,然后更新缓存即可