列印

作者欄位美化 ( 2 種) for Discuz! 6.0.0 by Linux0911

作者欄位美化 ( 2 種) for Discuz! 6.0.0 by Linux0911

名稱:作者欄位美化 ( 2 種)
適用版本:Discuz! 6.0.0
作者:Linux0911
說明:兩種如展示圖所示,其中一種是仿 AL8 Forum 的,兩種美化任你切換。
模板全部採用 Div + CSS 編寫, 加快執行速度
本人技術不佳, 如有不完善之處請見諒~
轉載請註明來源:http://linux0911.no-ip.info/Discuz/
最後更新:2007-08-31 20:00
修改檔案:viewthread.htm
難易程度:幼稚園


開始安裝


1. 修改 viewthread.htm

找到
複製內容到剪貼簿
代碼:
                                        <cite><!--{if $forum['ismoderator']}-->
                                                <!--{if $allowviewip && ($thread['digest'] >= 0 || !$post['first'])}--><label><a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]" id="ajax_getip_$post[count]" onclick="ajaxmenu(event, this.id, 10000, null, 0)" title="{lang admin_getip}">IP</a></label><!--{/if}-->
                                        <!--{/if}-->
                                        <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
                                                <a href="space.php?uid=$post[authorid]" target="_blank" id="userinfo$post[pid]" class="dropmenu" onmouseover="showMenu(this.id)">$post[author]</a></cite>
                                                <!--{if $post['nickname']}--><p>$post[nickname]</p><!--{/if}-->
                                                <!--{if $post['avatar'] && $showavatars}-->
                                                        $post[avatar]
                                                <!--{/if}-->
                                                <p><em>$post[authortitle]</em></p>
                                                <p>{eval showstars($post['stars']);}</p>
                                                <!--{if $post['customstatus']}--><p class="customstatus">$post[customstatus]</p><!--{/if}-->
                                                <!--{if $customauthorinfo[1]}--><dl class="profile">{eval @eval('echo "'.$customauthorinfo[1].'";');}</dl><!--{/if}-->
                                                <!--{if $post['medals']}--><p>
                                                        <!--{loop $post['medals'] $medal}-->
                                                        <img src="images/common/$medal[image]" alt="$medal[name]" />
                                                        <!--{/loop}--></p>
                                                <!--{/if}-->

                                                <ul>
                                                <!--{if $spacestatus}-->
                                                        <li class="space">
                                                        <!--{if !empty($post[spacename])}-->
                                                                <a href="space.php?uid=$post[authorid]" target="_blank" title="$post[spacename]">
                                                        <!--{else}-->
                                                                <a href="space.php?uid=$post[authorid]" target="_blank" title="{$post[username]}{lang space_userspace}">
                                                        <!--{/if}-->
                                                        {lang space}</a></li>
                                                <!--{elseif $supe['status']}-->
                                                        <li class="space"><a href="$supe[siteurl]/?uid/$post[authorid]" target="_blank">{lang space}</a></li>
                                                <!--{/if}-->
                                                <li class="pm"><a href="pm.php?action=send&uid=$post[authorid]" target="_blank" id="ajax_uid_$post['pid']" onclick="ajaxmenu(event, this.id, 9000000, null, 0)">{lang send_pm}</a></li>
                                                <li class="buddy"><a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" onclick="ajaxmenu(event, this.id, null, 0)">{lang add_to_buddylist}</a></li>

                                                <!--{if $vtonlinestatus && $post['authorid']}-->
                                                        <!--{if ($vtonlinestatus == 2 && $onlineauthors[$post[authorid]]) || ($vtonlinestatus == 1 && ($timestamp - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->
                                                                <li class="online">{lang online}
                                                        <!--{else}-->
                                                                <li class="offline">{lang offline}
                                                        <!--{/if}-->
                                                        </li>
                                                <!--{/if}-->

                                                </ul>
                                        <!--{else}-->
                                                <!--{if !$post['authorid']}-->
                                                        <a href="javascript:;">{lang guest} <em>$post[useip]</em></a></cite>
                                                        {lang unregistered}
                                                <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
                                                        <!--{if $forum['ismoderator']}--><a href="space.php?uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}--></cite>
                                                        {lang member_anonymous}
                                                <!--{else}-->
                                                        $post[author]</cite>
                                                        {lang member_deleted}
                                                <!--{/if}-->
                                        <!--{/if}-->
替換為

(1)
複製內容到剪貼簿
代碼:
{template membercard6}


(2)
複製內容到剪貼簿
代碼:
{template imgauthor}
按結構上傳檔案即可
附件: 您所在的用戶組無法下載或查看附件
Hack 安裝錯誤, 80% 來自粗心, 請專心安裝
Linux0911 打造您的個性論壇

本人現在忙於研究所, 沒多的時間管論壇, 有問題別發 pm 給我, 謝謝~
Linux0911 Forum © 2004-2009 All Rights Reserved.

TOP

支持大大
Linux0911 Forum © 2004-2009 All Rights Reserved.

TOP

回覆 #1 Linux0911 的帖子

高手 呵呵 利害 支持一下 推推

很美.
時尚論壇Fashion forum..http://twkym.com/car/bbs/
讓自己休息專心上班~...空間時間到給他爛嚕^^..
Linux0911 Forum © 2004-2009 All Rights Reserved.

TOP

可不可以 弄到5.5的= = 好想用喔><
時尚論壇Fashion forum..http://twkym.com/car/bbs/
讓自己休息專心上班~...空間時間到給他爛嚕^^..
Linux0911 Forum © 2004-2009 All Rights Reserved.

TOP

引用:
原帖由 hijkl321 於 2007-9-20 01:23 AM 發表
可不可以 弄到5.5的= = 好想用喔>
每個版本應該都有發, search 一下
Hack 安裝錯誤, 80% 來自粗心, 請專心安裝
Linux0911 打造您的個性論壇

本人現在忙於研究所, 沒多的時間管論壇, 有問題別發 pm 給我, 謝謝~
Linux0911 Forum © 2004-2009 All Rights Reserved.

TOP

回覆 5# 的帖子

有看到仿6.0

5.5可用後台選擇 顯示不顯示的

可是 它的外觀 沒有銀色的@@
時尚論壇Fashion forum..http://twkym.com/car/bbs/
讓自己休息專心上班~...空間時間到給他爛嚕^^..
Linux0911 Forum © 2004-2009 All Rights Reserved.

TOP

引用:
原帖由 hijkl321 於 2007-9-20 05:36 PM 發表
有看到仿6.0

5.5可用後台選擇 顯示不顯示的

可是 它的外觀 沒有銀色的@@
自己 DIY 看看, 其實懂 HTML 就可以改的

要會運用, 程式碼是死的, 但裡面的變數可以改
Hack 安裝錯誤, 80% 來自粗心, 請專心安裝
Linux0911 打造您的個性論壇

本人現在忙於研究所, 沒多的時間管論壇, 有問題別發 pm 給我, 謝謝~
Linux0911 Forum © 2004-2009 All Rights Reserved.

TOP

回覆 7# 的帖子

我打算 升級6.0了= = 不過好怕喔 好怕又 全部重來 唉唉 跟它拼了ˋˊ
時尚論壇Fashion forum..http://twkym.com/car/bbs/
讓自己休息專心上班~...空間時間到給他爛嚕^^..
Linux0911 Forum © 2004-2009 All Rights Reserved.

TOP

大致上是沒啥問題  附件圖片上 有一條白白的 不知道是哪出問題 每個風格都是 這樣
請看附件↓
附件: 您所在的用戶組無法下載或查看附件
時尚論壇Fashion forum..http://twkym.com/car/bbs/
讓自己休息專心上班~...空間時間到給他爛嚕^^..
Linux0911 Forum © 2004-2009 All Rights Reserved.

TOP

你可能改過 membercard6.htm

而且可能使用 fontpage or dreamweaver or SPDesign 圖形介面改

基本上若沒改過都不會出錯的

請使用文字編輯檔案, 否則很容易出錯

你那個情況可能是 <div> 之間多了 & nbsp;
Hack 安裝錯誤, 80% 來自粗心, 請專心安裝
Linux0911 打造您的個性論壇

本人現在忙於研究所, 沒多的時間管論壇, 有問題別發 pm 給我, 謝謝~
Linux0911 Forum © 2004-2009 All Rights Reserved.

TOP



論壇聲明
  • 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
    如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
    請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!
最佳瀏覽解析度:不低於 1024 (最佳 1280 以上).(支援 IE 7, Mozilla Firefox, Safari, Chrome)
The Best Surfing Resolution: No Lower than 1024 (Best: above 1280).(IE 7, Mozilla Firefox, Safari, Chrome Supported)