生活在常宁,爱上常宁论坛! 广告服务

 找回密码
 免费注册

手机号码,快捷登录

20095查看|3回复

[Discuz!安装使用] Discuzx2.0 X2.5 x3.0首页美化之最后发表显示标题、作者、回复时间 !

[Discuz!安装使用] [复制链接]
发表于 2013-8-18 00:51:00 | 显示全部楼层 |阅读模式
演示地址:http://bbs.52cnw.net(不想去论坛的直接看效果图)

0131448uu89k7sofb808fb.png
效果-1

下面的具体的修改方法:

找到根目录: /www/template/default/forum/discuz.htm 用记事本格式打开;

搜索代码:
  1. <!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
  2. </td>
  3. <td class="fl_by">
  4. <div>
  5. <!--{if $forum['permission'] == 1}-->
  6. {lang private_forum}
  7. <!--{else}-->
  8. <!--{if $forum['redirect']}-->
  9. <a href="$forumurl" class="xi2">{lang url_link}</a>
  10. <!--{elseif is_array($forum['lastpost'])}-->
  11. <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}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  12. <!--{else}-->

复制代码
替换成:
游客,如果您要查看本帖隐藏内容请回复

---------------------------------------------------------------------------


QQ截图20130817042308.png
效果-2
下面的具体的修改方法:

找到根目录: /www/template/default/forum/discuz.htm 用记事本格式打开;

搜索代码:
  1. <!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
  2. </td>
  3. <td class="fl_by">
  4. <div>
  5. <!--{if $forum['permission'] == 1}-->
  6. {lang private_forum}
  7. <!--{else}-->
  8. <!--{if $forum['redirect']}-->
  9. <a href="$forumurl" class="xi2">{lang url_link}</a>
  10. <!--{elseif is_array($forum['lastpost'])}-->
  11. <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}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  12. <!--{else}-->

复制代码
替换成:
游客,如果您要查看本帖隐藏内容请回复


发表于 2014-7-3 17:25:32 | 显示全部楼层
还是效果2的好看些        
发表于 2014-8-17 14:04:44 | 显示全部楼层
Discuzx2.0 X2.5 x3.0首页美化之最后发表显示标题、作者、回复时间 !
发表于 2015-1-14 16:03:05 | 显示全部楼层
查看,学习一下
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

b6广告位招商
快速回复 返回顶部 返回列表