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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] Discuz!_X2.5 论坛首页不显示版块简介解决方案

[复制链接]
≮朕≯━┅ 发表于 2012-7-14 20:40:39 | 显示全部楼层 |阅读模式
本帖最后由 ≮朕≯━┅ 于 2012-7-14 22:00 编辑

打开文件/template/default/forum/discuz.htm(注意:备份此文件,因为如果不喜欢时再复原)
工具使用DW
1.搜索下面内容(218行):
<!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
替换成:
<!--{if $forum[description]}--><dd>$forum[description]</dd><!--{/if}-->

2.搜索下面内容(229行):
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
替换成:
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 25)}--></a>


如果好用,请回来顶下贴.
如果有别的需要,我会的再帮你改.

本帖子中包含更多资源

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

x
4535 发表于 2012-7-15 01:16:39 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

无效楼层,该帖已经被删除
巴克1982 发表于 2012-7-28 23:37:06 | 显示全部楼层
和X2.5打开的不一样啊
回复

使用道具 举报

任秋野 发表于 2012-10-18 09:30:42 | 显示全部楼层
我按照你发的那个改了,可还是不行啊。哥们
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-2 22:21 , Processed in 0.145296 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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