把图片红圈里面的去掉,把 「作者」 现在的位置移到 「最后发表」 这个位置。
修改方法如下:
1. 打开 template/default/forum/forumdisplay_list.htm
2. 查找 43 行刪除
- {lang author}
3. 查找 44 行刪除
- {lang replies}
4. 查找 45 行
- {lang lastpost}
替换为
- {lang author}
5. 查找 231-239 行刪除
- <!--{hook/forumdisplay_author $key}-->
- <cite>
- <!--{if $thread['authorid'] && $thread['author']}-->
- <a href="home.php?mod=space&uid=$thread[authorid]" c="1"{if $groupcolor[$thread[authorid]]} style="color: $groupcolor[$thread[authorid]];"{/if}>$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
-  
; <!--{else}--> - $_G[setting][anonymoustext]
- <!--{/if}-->
- </cite>
- <em><span{if $thread['istoday']} {/if}>$thread[dateline]</span></em>
6. 查找 233 行刪除
- <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" >$thread[allreplies]</a><em><!--{if $thread['isgroup'] != 1}-->$thread2,009 views<!--{else}-->{$groupnames[$thread[tid]]2,009 views}<!--{/if}--></em>
查找 235-236 行
- <cite><!--{if $thread['lastposter']}--><a href="{if%20$thread[digest]%20!=%20-2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo%20max(1,%20$thread[pages]);}{/if}" c="1">$thread[lastposter]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
- <em><a href="{if%20$thread[digest]%20!=%20-2%20&&%20!$thread[ordertype]}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]{if%20!$thread[ordertype]}&page={echo%20max(1,%20$thread[pages]);}{/if}{/if}">$thread[lastpost]</a></em>
替换为
- <!--{hook/forumdisplay_author $key}-->
- <cite>
- &
nbsp; <!--{if $thread['authorid'] && $thread['author']}--> - <a href="home.php?mod=space&uid=$thread[authorid]" c="1"{if $groupcolor[$thread[authorid]]} style="color: $groupcolor[$thread[authorid]];"{/if}>$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
- <!--{else}-->
- $_G[setting][anonymoustext]
- <!--{/if}-->
- </cite>
- <em><span{if $thread['istoday']} {/if}>$thread[dateline]</span></em>
修改好后上传覆盖,后台更新缓存。