Sai


disconnected
主题工具

[HACK]两个小小美化~

... 发表于 2005-10-4 15:20  ... 10328 次点击

第一个美化~~

http://www.saicn.com/bbs/forumdisplay.php?fid=27
看偶发的贴~~都用图片代替名字~

打开forumdisplay.htm

查找:
<!--{if $thread['authorid']}--><a href="viewpro.php?uid=$thread[authorid]">$thread[author]</a><!--{else}-->
{lang guest}<!--{/if}-->

替换为
<!--{if $thread['authorid'] == 1}--><a href="viewpro.php?uid=1"><img src="images/saic.gif" /></a>
                <!--{elseif $thread['authorid']}--><a href="viewpro.php?uid=$thread[authorid]">$thread[author]</a><!--{else}-->
{lang guest}<!--{/if}-->

$thread['authorid'] == 1 换成你自己的uid
images/saic.gif 换成你自己的图片


第二个美化~~
http://www.saicn.com/bbs/viewthread.php?tid=2381
自定义头衔那~与众不同哟~~

打开viewthread.htm
查找:
<!--{if $post['customstatus']}-->$post[customstatus]<br><!--{/if}-->

替换为:

这里若要几个人使用的话那就把这个
<!--{if $post['username']== Sai}-->

改为
<!--{if $post['authorid']== 1 || $post['authorid']==2 || $post['authorid']==3 }-->

要用双竖线

;P大家慢慢用哟~~

目前这个主题还没有回复,或许你可以帮楼主加盖一层?

在回复之前你需要先进行登录
用户名 / UID
密码
Project Parasynthesis | Based on Discuz! 5.5.0 | Thanks to Livid
About | Help | Developer | N2Design
清除 Cookies - 联系我们 - 无名杂志 - Archiver - Mobile
Processed in 0.036974 second(s), 6 queries, Gzip enabled