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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] 首页美化 --- 最后回复 -- 带图标美化版本 【7.2 7.1 7.0 】通用

  [复制链接]
yy1090 发表于 2010-3-2 13:42:48 | 显示全部楼层 |阅读模式
插件发布
插件名称: 首页美化 --- 最后回复 -- 带图标美化版本
插件来源:
适用版本: Discuz! 7.2
语言编码: GBK简体 
最后更新时间:
插件作者: 改自 体无完肤
插件简介: 美化 最后回复 !
本帖最后由 yy1090 于 2010-6-1 15:30 编辑




演示 bbs.souguazhe.com   


简单修改 会点HTM都会的 只是一点点小改动!

因为觉得 老体的 文字不好看 就改弄点小图标代理了  其实没什么技术含量 图片见附件吧 要不直接去我网站 图片右键另存为

没人回复的话 就强行要求回复下




修改方法:
打开: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><font color=blue>┌</font><img src="http://www.souguazhe.com/b/1.gif"/> <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{echo cutstr($forum[lastpost][subject], 22)}</a></p>
  3. <cite><font color=green>├</font><img src="http://www.souguazhe.com/b/2.gif"/> <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--> <br><font color=red>└</font><img src="http://www.souguazhe.com/b/3.gif"/> $forum[lastpost][dateline]</cite>
  4. <!--{else}-->
  5. {lang never}
  6. <!--{/if}-->
  7. <!--{/if}-->
  8. </td>
复制代码
注意:
如果想把图标换到自己服务器上 把www.souguazhe.com/b/*.gif 换成你的图标地址
图标我上传了
<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!

体无完肤原插件地址 https://discuz.dismall.com/viewth ... 8%B4%2B%C3%C0%BB%AF

本帖子中包含更多资源

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

x

评分

1

查看全部评分

 楼主| yy1090 发表于 2010-3-2 21:50:55 | 显示全部楼层
没人回复 也没人要么  只有一个要了
回复

使用道具 举报

laoying45 发表于 2010-3-2 22:14:58 | 显示全部楼层
哎。我也要。我也要哎!谢谢!
回复

使用道具 举报

滚骨碌 发表于 2010-3-2 22:24:26 | 显示全部楼层
楼上的很单纯 被诈骗了一个回复
呵呵
回复

使用道具 举报

都将 发表于 2010-3-2 23:36:18 | 显示全部楼层
不错...不错...
回复

使用道具 举报

bestguphoto 发表于 2010-3-4 14:25:49 | 显示全部楼层
不错...不错...
不错...不错...
回复

使用道具 举报

zhang0406 发表于 2010-3-4 15:43:16 | 显示全部楼层
;a;a;怎能改变首页啊
回复

使用道具 举报

gzasor 发表于 2010-3-4 15:44:13 | 显示全部楼层
我想看看在说话可以吗?
回复

使用道具 举报

daymake 发表于 2010-3-4 16:02:14 | 显示全部楼层
我来支持楼主
回复

使用道具 举报

crabyan 发表于 2010-3-4 16:32:49 | 显示全部楼层
dd
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-19 00:06 , Processed in 0.126731 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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