Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 论坛主题列表页去掉 回复查看

[复制链接]
勇敢面对8 发表于 2016-12-10 15:39:19 | 显示全部楼层 |阅读模式
下面是我在论坛找到的(论坛主题列表页去掉 回复查看和最后发表!)
但是我只想去掉回复|查看,保留最后发表~作者位置不移动~应该怎么修改~大侠帮帮忙~
还有首页竖版分类导航后面显示的主题数和总贴数统计我也想去掉~~大侠帮帮忙~


把图片红圈里面的去掉,把“作者”现在的位置移到“最后发表”这个位置。
修改方法如下:
1.打开template/default/forum/forumdisplay_list.htm
2.查找43行刪除
  • {lang author}

[color=rgb(51, 102, 153) !important]复制代码


3.查找44行刪除
  • {lang replies}

[color=rgb(51, 102, 153) !important]复制代码


4.查找45行
  • {lang lastpost}

[color=rgb(51, 102, 153) !important]复制代码


替换为
  • {lang author}

[color=rgb(51, 102, 153) !important]复制代码


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']} class="xi1"{/if}>$thread[dateline]</span></em>

[color=rgb(51, 102, 153) !important]复制代码


6.查找233行刪除
  • <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>

[color=rgb(51, 102, 153) !important]复制代码


查找235-236行
  • <cite><!--{if $thread['lastposter']}--><a href="{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  •                                                                                 <em><a href="{if $thread[digest] != -2 && !$thread[ordertype]}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]{if !$thread[ordertype]}&page={echo max(1, $thread[pages]);}{/if}{/if}">$thread[lastpost]</a></em>

[color=rgb(51, 102, 153) !important]复制代码


替换为
  • <!--{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']} class="xi1"{/if}>$thread[dateline]</span></em>

[color=rgb(51, 102, 153) !important]复制代码


修改好后上传覆盖,后台更新缓存。






 楼主| 勇敢面对8 发表于 2016-12-10 15:43:37 | 显示全部楼层
主页想去掉的是这里

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

mandy~ 发表于 2016-12-11 21:19:54 | 显示全部楼层
https://discuz.dismall.com/forum. ... 88&pid=29194616

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

 楼主| 勇敢面对8 发表于 2016-12-11 22:02:30 | 显示全部楼层
mandy~ 发表于 2016-12-11 21:19
https://discuz.dismall.com/forum.php?mod=redirect&goto=findpost&ptid=3628288&pid=29194616

谢谢~很神奇,按照你的方法几分钟帖子列表和帖内都去掉了~请问竖版主页导航列表显示的主题数和总贴数可以去掉吗?
回复

使用道具 举报

mandy~ 发表于 2016-12-12 14:15:59 | 显示全部楼层
勇敢面对8 发表于 2016-12-11 22:02
谢谢~很神奇,按照你的方法几分钟帖子列表和帖内都去掉了~请问竖版主页导航列表显示的主题数和总贴数可以 ...

具体是哪个位置,截图标示一下。
回复

使用道具 举报

 楼主| 勇敢面对8 发表于 2016-12-13 16:39:43 | 显示全部楼层
mandy~ 发表于 2016-12-12 14:15
具体是哪个位置,截图标示一下。

回复

使用道具 举报

 楼主| 勇敢面对8 发表于 2016-12-13 16:43:12 | 显示全部楼层
mandy~ 发表于 2016-12-12 14:15
具体是哪个位置,截图标示一下。

6/7
92/92
0/0
0/0
0/0
就主页的这些文字统计
回复

使用道具 举报

mandy~ 发表于 2016-12-16 14:34:34 | 显示全部楼层
本帖最后由 mandy~ 于 2016-12-16 14:41 编辑
用官方的源文件覆盖,重新修改。
你看这个修改就可以了!(不要点上面的连结修改)
https://discuz.dismall.com/forum.php? ... 628288&pid=29194616
不要按照这个修改!
https://discuz.dismall.com/forum.php? ... 628138&pid=29193460
修改好后就是你要的!
https://discuz.dismall.com/forum.php? ... 628288&pid=29196136
回复

使用道具 举报

 楼主| 勇敢面对8 发表于 2017-1-2 17:25:05 | 显示全部楼层
mandy~ 发表于 2016-12-16 14:34
用官方的源文件覆盖,重新修改。
你看这个修改就可以了!(不要点上面的连结修改)
https://discuz.dismall.com/ ...

我是按照你的修改的~主题列表页已经修改成功,我还要修改的是主页的导航的统计~
回复

使用道具 举报

 楼主| 勇敢面对8 发表于 2017-1-2 17:27:14 | 显示全部楼层
就是这主页的导航页统计

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-12 14:01 , Processed in 0.027647 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表