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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[Discuz!7.0美化] [DisHack.Com资源站出品]Discuz!7.0首页美化 -- 最后回复美化

 关闭 [复制链接]
体无完肤 发表于 2008-11-25 02:08:01 | 显示全部楼层 |阅读模式
插件发布
插件名称: 首页美化 -- 最后回复美化
插件来源:
适用版本: Discuz! 7.0
语言编码: GBK简体 
最后更新时间:
插件作者: 体无完肤
插件简介: 首页美化 -- 最后回复美化
本帖最后由 体无完肤 于 2008-12-16 00:23 编辑

Www.DisHack.Com
做最好的Discuz!7.0资源站


演示:http://www.efangbbs.com

效果:

┌回复:艺纺网络电台(11.24)直 ...
├作者:唐殇君
└时间:2 小时前

修改方法:

打开:templates/default/discuz.htm

查找:
  1. <!--{elseif is_array($forum['lastpost'])}-->
  2. <p><a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{echo cutstr($forum[lastpost][subject], 30)}</a></p>
  3. <cite><!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--> - $forum[lastpost][dateline]</cite>
  4. <!--{else}-->
  5. {lang never}
  6. <!--{/if}-->
  7. <!--{/if}-->
  8. </td>
复制代码
替换为:
  1. <!--{elseif is_array($forum['lastpost'])}-->
  2. <p>┌回复:<a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{echo cutstr($forum[lastpost][subject], 22)}</a></p>
  3. <cite>├作者:<!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--> <br>└时间:$forum[lastpost][dateline]</cite>
  4. <!--{else}-->
  5. {lang never}
  6. <!--{/if}-->
  7. <!--{/if}-->
  8. </td>
复制代码
注意:<p>┌回复:<a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{echo cutstr($forum[lastpost][subject], 22)}</a></p>
这句里面的“"{echo cutstr($forum[lastpost][subject], 22)}”22是标题字数限制,可以根据自己模板风格自己制定!


更新缓存,OK!







++++++++++++++++++++插件++++++++++++++++++

[Discuz!7.0边栏插件] [DisHack.Com资源站出品] Flash 时钟
https://discuz.dismall.com/thread-1096410-1-1.html

[Discuz!7.0边栏插件] [DisHack.Com资源站出品] 我的帖子动态
https://discuz.dismall.com/thread-1096399-1-1.html

[Discuz!7.0边栏插件] [DisHack.Com资源站出品]帖子Now
https://discuz.dismall.com/thread-1096774-1-1.html

[Discuz!7.0边栏插件] [DisHack.Com资源站出品]站内搜索
https://discuz.dismall.com/thread-1098382-1-1.html

[Discuz!7.0插件] [DisHack.Com资源站出品] 左邻右舍插件For7.0_Beta
https://discuz.dismall.com/thread-1099771-1-1.html

[Discuz!7.0插件] [DisHack.Com资源站出品] DisBox 1.6.0版本For Dz7.0 Beta
https://discuz.dismall.com/thread-1100839-1-1.html

[Discuz!7.0插件] [DisHack.Com资源站出品]只允许中文名注册
https://discuz.dismall.com/thread-1100362-1-1.html

[Discuz!7.0插件] [DisHack.Com资源站出品]S.H.Y ModReg V1.0 版主申请插件
https://discuz.dismall.com/thread-1107835-1-1.html

[Discuz!7.0插件] [DisHack.Com资源站出品] 帖子列表显示作者头像

[Discuz!7.0边栏插件] [DisHack.Com资源站出品]倒计时工具

[Discuz!7.0边栏插件] [DisHack.Com资源站出品]Alexa 走势图
https://discuz.dismall.com/thread-1121719-1-1.html
++++++++++++++++++++模板++++++++++++++++++

[Discuz!7.0模板] [DisHack.Com资源站出品] 水色7 (Discuz! 7 第一个风格) [11.3正式版发布]
https://discuz.dismall.com/thread-1096324-1-3.html

[Discuz!7.0模板] [DisHack.Com资源站出品] Thinkpad 风格(黑、红、白)
https://discuz.dismall.com/thread-1099297-1-1.html

[Discuz!7.0模板] [DisHack.Com资源站出品] QQ 11月金秋风格
https://discuz.dismall.com/thread-1100331-1-1.html

[Discuz!7.0模板] [DisHack.Com资源站出品] BlackM 深色7.0模板新鲜出炉!
https://discuz.dismall.com/thread-1101350-1-1.html

[Discuz!7.0模板] [DisHack.Com资源站出品] 清爽绿色模板,免费下载
https://discuz.dismall.com/thread-1101364-1-1.html

[Discuz!7.0模板] [DisHack.Com资源站出品]Water [水2] 发布

本帖子中包含更多资源

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

x

评分

3

查看全部评分

php娃娃 发表于 2008-11-25 02:11:57 | 显示全部楼层
干嘛用动网官方的那些板块LOGO
回复

使用道具 举报

piaomiao163 发表于 2008-11-25 02:14:58 | 显示全部楼层
:o
回复

使用道具 举报

°o° 发表于 2008-11-25 02:21:33 | 显示全部楼层
回复

使用道具 举报

beien 发表于 2008-11-25 08:22:04 | 显示全部楼层
看帖要顶!看到好贴更要顶!
Www.DisHack.Com
做最好的Discuz!7.0资源站

本帖子中包含更多资源

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

x
回复

使用道具 举报

abcnic1 发表于 2008-11-25 08:44:08 | 显示全部楼层
谢谢分享
回复

使用道具 举报

生产力 发表于 2008-11-25 09:10:05 | 显示全部楼层
感谢分享,收藏备用
回复

使用道具 举报

 楼主| 体无完肤 发表于 2008-11-25 09:48:04 | 显示全部楼层
谢谢支持!   ((mk13))
回复

使用道具 举报

威客 发表于 2008-11-25 10:01:57 | 显示全部楼层
备用
回复

使用道具 举报

我是王峰 发表于 2008-11-25 10:03:15 | 显示全部楼层
谢谢分享哈
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-18 07:09 , Processed in 0.117733 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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