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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] 怎么删除帖子里 "查看 回复"

[复制链接]
dslt 发表于 2013-2-6 15:24:19 | 显示全部楼层 |阅读模式
本帖最后由 dslt 于 2013-2-6 15:39 编辑

如图

本帖子中包含更多资源

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

x
 楼主| dslt 发表于 2013-2-6 15:27:28 | 显示全部楼层
感觉多余, 想把删除
回复

使用道具 举报

hebghw 发表于 2013-2-6 16:27:20 | 显示全部楼层

  1.                                 <!--{if $_G['page'] > 1}-->
  2.                                 <div id="tath" class="cl">
  3.                                         <!--{if $_G[forum_thread][authorid] && $_G[forum_thread][author]}-->
  4.                                                 <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]"><!--{avatar($_G[forum_thread][authorid],small)}--></a>
  5.                                                 {lang thread_author}: <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]">$_G[forum_thread][author]</a>
  6.                                         <!--{else}-->
  7.                                                 {lang thread_author}:
  8.                                                 <!--{if $_G['forum']['ismoderator']}-->
  9.                                                         <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]">{lang anonymous}</a>
  10.                                                 <!--{else}-->
  11.                                                         {lang anonymous}
  12.                                                 <!--{/if}-->
  13.                                         <!--{/if}-->
  14.                                 </div>
  15.                                 <!--{else}-->
  16.                                 <div class="hm">
  17.                                         <span class="xg1">{lang show}:</span> <span class="xi1">$_G[forum_thread][views]</span><span class="pipe">|</span><span class="xg1">{lang reply}:</span> <span class="xi1">$_G[forum_thread][replies]</span>
  18.                                 </div>
  19.                                 <!--{/if}-->
  20.                        
复制代码
删除template/default/forum/viewthread.htm文件里的以上代码试试   http://www.beimeijie.com
回复

使用道具 举报

 楼主| dslt 发表于 2013-2-6 16:41:39 | 显示全部楼层
hebghw 发表于 2013-2-6 16:27
删除template/default/forum/viewthread.htm文件里的以上代码试试   http://www.beimeijie.com

谢谢, 要删这么多行哇
回复

使用道具 举报

hebghw 发表于 2013-2-6 16:43:47 | 显示全部楼层
你试试吧  应该是没问题的  我自己没有测试  代码多是因为这个调用数据,而且第二页和第一页显示的都不一样  所以php代码大
回复

使用道具 举报

yajn 发表于 2013-2-6 20:21:27 | 显示全部楼层
代码什么的,不懂
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-3 21:20 , Processed in 0.222725 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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