资源名称: | 版块横排时显示版块简介、版主、最后发表 | 适用版本: | DiscuzX1.5(其他版本同理可改) | 语言编码: | GBK(其他编码同理可改) | 插件作者: | cntx | 版权所属: | cntx | 原帖地址: | http://www.12345.la/thread-10228-1-1.html | 资源简介:
| 版块横排时显示版块简介、版主、最后发表 | 友情提示: | 文件修改需谨慎,最好做到要备份!(本站发现原帖存在错误并进行了修改,现已成功在本站使用,如本帖无法解决你的问题请回帖提出,或查看原帖。。。) |
修改后显示:版块简介,版主,最后发表!
效果图:
打开\template\default\forum\discuz.htm文件,查找:- <!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: $forum[threads]</em>, <em>{lang forum_posts}: $forum[posts]</em></dd><!--{/if}-->
复制代码 替换为:- <!--{if $forum[description]}--> $forum[description]<!--{/if}-->
- <p><!--{if $forum['moderators']}--> {lang forum_moderators}:<span class="xi2">$forum[moderators]</span><!--{/if}--></p>
复制代码 再查找:- <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], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--></cite>
复制代码 |
上一篇: 有多少人同意用QQ登入discuz?下一篇: 【DiscuzX1.5】首页在线会员列表不能默认展开的解决教程
|