身份美化(特别喜欢)
viewthread.htm查找:
[code]<td valign="top" width="21%"><a name="pid$post[pid]"></a>
<!--{if $ismoderator && $allowviewip}--><a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]"><img src="{IMGDIR}/ip.gif" border="0" align="right" alt="{lang admin_getip}"></a><!--{/if}-->
[/code]
修改为:
[code]<td valign="top" width="165">
<!--美化开始-->
[/code]
查找:
[code]<!--{if $vtonlinestatus && $post['authorid']}-->
<!--{if $timestamp - $post['lastactivity'] <= 10800}-->
{lang online_status} <b>{lang online}</b>
<!--{else}-->
{lang online_status} {lang offline}
<!--{/if}-->
<!--{/if}-->
</span>
[/code]
替换为:
[code]<!--美化结束-->[/code]
将<!--美化开始-->和<!--美化结束-->结束之间的内容用以下内容替换:
[code] <table cellspacing="0" cellpadding="0" border="0" align="center" height=* width=155 style="table-layout:fixed; word-break:break-word">
<tr bgcolor="$post[thisbg]">
<td valign="top" align=center background="images/left/photo_bg1.gif" height=40>
<img src="images/left/null.gif" width=2 height=13 border=0><br><!--{if $ismoderator && $allowviewip}--><a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]"><img src="{IMGDIR}/ip.gif" border="0" align="right" alt="{lang admin_getip}"></a><!--{/if}-->
<!--{if $post['authorid']}-->
<a title="$post[authortitle]"><span class="bold">$post[author]</span><a>
<!--{else}-->
<span class="bold">{lang guest}</span> <span class="smalltxt">$post[useip]</span><br><span class="smalltxt">{lang unregistered}
<!--{/if}--></td></tr>
<tr>
<td align=center background="images/left/photo_bg2.gif">
<!--{if $post['avatar']}-->
<table width="95%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed">
<tr><td align="center">$post[avatar]</td></tr></table><br>
<!--{else}-->
<br>
<!--{/if}-->
{eval showstars($post['stars']);}
<br><!--{if $post[customstatus]}-->头衔:$post[customstatus]<!--{/if}-->
</td></tr>
<tr><td><img src=images/left/photo_bg4.gif border=0></td></tr><tr><td>
<table align=center width=155 cellspacing=0 cellpadding=0 style="table-layout:fixed; word-break:break-all" background="images/left/photo_bg2.gif">
<tr><td width=8></td><td><table align=center width="155" cellspacing=0 cellpadding=3 style="table-layout:fixed; word-break:break-all">
<tr><td class=leftbeautiful><img src=images/left/qianmian.gif> {lang credit_title}:$post[credit]</td></tr>
<tr><td class=leftbeautiful><img src=images/left/qianmian.gif> {lang postnum}:$post[postnum]</td></tr>
<tr><td class=leftbeautiful><img src=images/left/qianmian.gif> {lang regtime}:$post[regdate]</td></tr>
<!--{if $post['location']}--><tr><td class=leftbeautiful><img src=images/left/qianmian.gif> {lang location}:$post[location]</td></tr><!--{/if}-->
<tr><td class=leftbeautiful><img src=images/left/qianmian.gif><!--{if $vtonlinestatus && $post['authorid']}-->
<!--{if $timestamp - $post['lastactivity'] <= 10800}-->
{lang online_status}:<b>{lang online}</b>
<!--{else}-->
{lang online_status}:{lang offline}
<!--{/if}-->
<!--{/if}--></td></tr>
</table></td>
<td width=8></td></tr></table></td></tr><tr><td><img src=images/left/photo_bg3.gif></td></tr></table>
[/code]
CSS.htm
查找</style>,在上面一行添加(注意前面有个点):
[code].leftbeautiful { border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #FFFFFF;
border-right-color: #9D9DA1;
border-bottom-color: #9D9DA1;
border-left-color: #FFFFFF;
table-layout:fixed;
word-break:break-all;
width:135px;
overflow:hidden;
text-align:left;
}[/code]
然后将附件上传到images目录下,注意保持目录结构 演示就在本站了..
有问题上这里..
[url]http://www.freediscuz.net/bbs/viewthread.php?tid=33329&fpage=1###[/url] 晕了,你做的BBS好好哦~~能帮我做一个吗?太喜欢你的界面了 呵呵。。。这个,我也是在学习哦。 麻烦小问一下.
美化是美化好了.
可是头衔为何找不到了...
可以帮忙解答下么? 对呀,我也是改了没有的,再加上就有了, 具体些可以吗?
编辑那块可以把头衔加上呢
第1次用DZ这个BBS,对很多都不太清楚。
而且在官方那里已经停止了注册,想求助也写不了贴。郁闷。
还望这里的站长多多指点下。你的BBS做的很好的。 請問怎樣加性別一欄? 去找裝性別的插件咯。~
好帖!值得
*** 作者被禁止或删除 内容自动屏蔽 ***我也想了解
*** 作者被禁止或删除 内容自动屏蔽 ***页:
[1]