·设为首页收藏本站📧邮箱修改🎁免费下载专区🔐设置/修改密码👽群雄群聊
返回列表 发布新帖

Discuz X2帖子美化框

631 9
发表于 2020-7-8 10:21:52 | 显示全部楼层 阅读模式

马上注册,免费下载更多dz插件网资源。

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

×
找到template/default/forum/打开viewthread_node_body.htm文件
找到第54行
  1. <table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_$post[pid]"><!--{if !$_G['inajax']}--><!--{if $ad_a_pr}-->$ad_a_pr<!--{/if}--><!--{/if}-->$post[message]</td></tr></table>
复制代码
替换为:
  1. <table cellspacing="0" cellpadding="0" border="0"><tr><td width="40"></td><td width:=auto background="static/image/mh/td_02.gif"></td><td width="40"></td></tr><tr><td valign="top" background="static/image/mh/td_04.gif"></td><td background="static/image/mh/td_05.gif"><div id="postmessage_$post[pid]" class="t_f">$post[message]</div><br /></td><td valign="top" width="40" background="static/image/mh/td_06.gif"></td></tr><tr><td vAlign="top" width="40"></td><td background="static/image/mh/td_08.gif"></td><td align="right" width="40"></td></tr></table><SCRIPT language="JavaScript"><!--today=new Date();jran=today.getTime();function rnd() {ia=9301;ic=49297;im=233280;jran = (jran*ia+ic) % im;return jran/(im*1.0);};function rand(number) {return Math.ceil(rnd()*number);};document.write("<div>");for(i=1;i<=1;i++) {myNum=(rand(10)); //改成你要随机显示的图片数;if(myNum == 1) document.write(""); if(myNum == 2) document.write(""); //图片路径,可用http://if(myNum == 3) document.write(""); if(myNum == 4) document.write(""); if(myNum == 5) document.write(""); if(myNum == 6) document.write(""); if(myNum == 7) document.write(""); if(myNum == 8) document.write(""); if(myNum == 9) document.write(""); if(myNum == 10) document.write(""); else {document.write();}};document.write(" $post[author]说:</div>");//--></SCRIPT> <br>
复制代码
再找到代码:
  1. <table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_$post[pid]">$post[message]</td></tr></table>
复制代码
替换为:
  1. <table cellspacing="0" cellpadding="0" border="0"><tr><td width="40"></td><td width:=auto background="static/image/mh/td_02.gif"></td><td width="40"></td></tr><tr><td valign="top" background="static/image/mh/td_04.gif"></td><td background="static/image/mh/td_05.gif"><div id="postmessage_$post[pid]" class="t_f">$post[message]</div><br /></td><td valign="top" width="40" background="static/image/mh/td_06.gif"></td></tr><tr><td vAlign="top" width="40"></td><td background="static/image/mh/td_08.gif"></td><td align="right" width="40"></td></tr></table><SCRIPT language="JavaScript"><!--today=new Date();jran=today.getTime();function rnd() {ia=9301;ic=49297;im=233280;jran = (jran*ia+ic) % im;return jran/(im*1.0);};function rand(number) {return Math.ceil(rnd()*number);};document.write("<div>");for(i=1;i<=1;i++) {myNum=(rand(10)); //改成你要随机显示的图片数;if(myNum == 1) document.write(""); if(myNum == 2) document.write(""); //图片路径,可用http://if(myNum == 3) document.write(""); if(myNum == 4) document.write(""); if(myNum == 5) document.write(""); if(myNum == 6) document.write(""); if(myNum == 7) document.write(""); if(myNum == 8) document.write(""); if(myNum == 9) document.write(""); if(myNum == 10) document.write(""); else {document.write();}};document.write(" $post[author]说:</div>");//--></SCRIPT> <br>
复制代码
下载图片附件并解压,上传到跟目录
附件下载:
我要说一句 收起回复
一花一世界,一叶一追寻。一曲一场叹,一生为一人。

评论9

TyCodingLv.8 发表于 2020-7-8 10:21:57 | 显示全部楼层
怎么个美化法呢
我要说一句 收起回复
浅生Lv.8 发表于 2020-7-8 10:22:07 | 显示全部楼层
具体看哈图示再说!!!!
我要说一句 收起回复
浅生Lv.8 发表于 2020-7-8 10:22:23 | 显示全部楼层
嘿嘿终于搞到邀请码了!
我要说一句 收起回复
独家记忆Lv.8 发表于 2020-7-8 10:22:45 | 显示全部楼层
0000000000000
我要说一句 收起回复
CrystαlLv.8 发表于 2020-7-8 10:23:24 | 显示全部楼层
看看, 也没有图片,是什么样子的
我要说一句 收起回复
浅生Lv.8 发表于 2020-7-8 10:23:36 | 显示全部楼层
需要图片啊!!!
我要说一句 收起回复
独家记忆Lv.8 发表于 2020-7-8 10:23:47 | 显示全部楼层
看看美化到什么程度
我要说一句 收起回复
浅生Lv.8 发表于 2020-7-8 10:24:14 | 显示全部楼层
这个是体无完肤那个升级?
我要说一句 收起回复
浅生Lv.8 发表于 2020-7-8 10:24:43 | 显示全部楼层
楼主真强大
我要说一句 收起回复

回复

 懒得打字嘛,点击右侧快捷回复【查看最新发布】   【应用商城享更多资源】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

投诉/建议联系

discuzaddons@vip.qq.com

未经授权禁止转载,复制和建立镜像,
如有违反,按照公告处理!!!
  • 联系QQ客服
  • 添加微信客服

联系DZ插件网微信客服|最近更新|Archiver|手机版|小黑屋|DZ插件网! ( 鄂ICP备20010621号-1 )|网站地图

您的IP:18.219.95.244,106.225.194.63,GMT+8, 2024-4-26 08:48 , Processed in 0.236853 second(s), 158 queries , Gzip On, Redis On.

Based on Discuz! W1.0 Licensed

© 2001-2024 Discuz! Team.

关灯 在本版发帖
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表