论坛列表页去掉 回复查看和最后发表 的问题-建站教程下载

论坛列表页去掉 回复查看和最后发表 的问题

来自版块: 建站教程 发表于: 2015-9-11 18:55:04
41244
如本资源下载地址失效,请点击此处进行反馈
185456k5esls8scsce5rll.jpg.thumb.jpg
之前有修改过这份文件,先用官方源文件覆盖后再修改。
template/default/forum/forumdisplay_list.htm
查找43行刪除
  1. {lang author}
复制代码
查找44行刪除
  1. {lang replies}
复制代码
查找45行
  1. {lang lastpost}
复制代码
替换为
  1. {lang author}
复制代码
查找231-239行刪除
  1. <!--{hook/forumdisplay_author $key}-->
  2.                                                                                 <cite>
  3.                                                                                 <!--{if $thread['authorid'] && $thread['author']}-->
  4.                                                                                         <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}-->
  5.                                                                                 <!--{else}-->
  6.                                                                                         $_G[setting][anonymoustext]
  7.                                                                                 <!--{/if}-->
  8.                                                                                 </cite>
  9.                                                                                 <em><span{if $thread['istoday']} class="xi1"{/if}>$thread[dateline]</span></em>
复制代码
查找233行刪除
  1. <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" class="xi2">$thread[allreplies]</a><em><!--{if $thread['isgroup'] != 1}-->$thread[views]<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></em>
复制代码
查找235-236行
复制代码
替换为
  1. <!--{hook/forumdisplay_author $key}-->
  2.                                                                                 <cite>
  3.                                                                                 <!--{if $thread['authorid'] && $thread['author']}-->
  4.                                                                                         <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}-->
  5.                                                                                 <!--{else}-->
  6.                                                                                         $_G[setting][anonymoustext]
  7.                                                                                 <!--{/if}-->
  8.                                                                                 </cite>
  9.                                                                                 <em><span{if $thread['istoday']} class="xi1"{/if}>$thread[dateline]</span></em>
复制代码

广告
大象广告联盟AD 大象广告联盟AD
返回顶部