[hack]美观发帖人性化-FOR Discuz!
代码由twins爱我提供。本人只是修改了美化楼层.颜色和大小的部分的代码。安装条件:安装过发帖引言美化框[漫画发言框]PS:不安装达不到美化的效果
开始:
打开版模: viewthread.htm
找到:
[code]</span></span></span>$post[ljl_karma][/code]
下面加上:
[code]<!--{if $post[gender] == 1}--> <img src="images/male1.gif"> <!--{elseif $post[gender] == 2}-->
<img src="images/female1.gif">
<!--{else}-->
<img src="images/regular_smile.gif">
<!--{/if}-->
<!--{if $post['postcount'] == 0}--> <font color=red>『 楼 主 』</font> <!--{elseif $post['postcount']==1}--> <font color=blue>『 沙 发 』</font>:
<!--{elseif $post['postcount']==2}-->
<font color=orange>『 板 凳 』</font>:
<!--{else}--><font color=green>第</font> <font size="5" color="blue">$post['postcount'] </font><font color=green>楼</font><font color=red>$post[author] </font><!--{/if}--><font color=green>说</font>[/code]
最后把附件上传到images文件夹内
OK!完毕
[color=red]
没有安装过漫画发言框的请找到:[/color]
[code]#$post['postcount'][/code]
修改为:
[code]<!--{if $post[gender] == 1}--> <img src="images/male1.gif"> <!--{elseif $post[gender] == 2}-->
<img src="images/female1.gif">
<!--{else}-->
<img src="images/regular_smile.gif">
<!--{/if}-->
<!--{if $post['postcount'] == 0}--> <font color=red>『 楼 主 』</font> <!--{elseif $post['postcount']==1}--> <font color=blue>『 沙 发 』</font>:
<!--{elseif $post['postcount']==2}-->
<font color=orange>『 板 凳 』</font>:
<!--{else}--><font color=green>第</font> <font size="5" color="blue">$post['postcount'] </font><font color=green>楼</font><font color=red>$post[author] </font><!--{/if}--><font color=green>说</font>[/code] 有意思
页:
[1]