AL8 Forum » Discuz 5.0 及 5.5 插件發佈 » 作者欄位美化 ( 3 種) for Discuz! 5.5.0 by Linux0911


2007-4-12 20:02 Eric03
作者欄位美化 ( 3 種) for Discuz! 5.5.0 by Linux0911

原帖於[url=http://linux0911.no-ip.info/Discuz/viewthread.php?tid=8723]http://linux0911.no-ip.info/Discuz/viewthread.php?tid=8723[/url]
[quote]名稱:作者欄位美化 ( 3 種)
適用版本:[b]Discuz! 5.5.0[/b]
修改者:[url=http://www.alan888.com/Discuz/profile-uid-10277.html]Linux0911[/url]
說明:三種如展示圖所示,其中一種是仿 AL8 Forum 的,三種美化任你切換,增加遊客只能看到部分資料,須成為會員或登錄方可查看完整資料
[color=#009900]轉載請註明來源:[/color][url=http://linux0911.no-ip.info/Discuz/][color=#009900]http://linux0911.no-ip.info/Discuz/[/color][/url]
最後更新:2007-04-04 17:00
修改檔案:viewthread.htm[/quote]

1. 修改 viewthread.htm

找到[code]        <td width="18%" valign="top" class="t_user"><a name="pid$post[pid]"></a> $post[newpostanchor] $post[lastpostanchor]
        <!--{if $forum['ismoderator']}-->
                <!--{if $allowviewip}--><a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]" id="ajax_getip_$post[count]" onclick="ajaxmenu(event, this.id, 10000)"><img src="{IMGDIR}/ip.gif" border="0" align="right" alt="{lang admin_getip}" /></a><!--{/if}-->
        <!--{/if}-->
        <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
                <a href="space.php?uid=$post[authorid]" target="_blank" class="bold">$post[author]</a><!--{if $post['nickname']}--> <span class="smalltxt">($post[nickname])</span><!--{/if}-->
                <br><div class="smalltxt">
                $post[authortitle]
                <br>{eval showstars($post['stars']);}<br><!--{if $post['customstatus']}-->$post[customstatus]<br><!--{/if}--><br>
                <!--{if $post['avatar'] && $showavatars}-->
                        <table width="95%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed; overflow: hidden">
                        <tr><td align="center">$post[avatar]</td></tr></table><br>
                <!--{else}-->
                        <br><br>
                <!--{/if}-->
                <!--{if $post['medals']}-->
                        <!--{loop $post['medals'] $medal}-->
                                <img src="images/common/$medal[image]" border="0" alt="$medal[name]" />  
                        <!--{/loop}-->
                        <br>
                <!--{/if}-->
                {lang uid} $post[uid]<br>
                {lang digest_posts} <!--{if $post['digestposts']}--><a href="digest.php?authorid=$post[authorid]">$post[digestposts]</a><!--{else}-->$post[digestposts]<!--{/if}--><br>
                {lang credits} $post[credits]<br>
                {lang posts} $post[posts]<br>
                <!--{loop $extcredits_thread $key $credit}-->
                        $credit[title] $post[$key] $credit[unit]<br>
                <!--{/loop}-->
                {lang readperm} $post[readaccess]<br>
                {lang regtime} $post[regdate]
                <!--{loop $_DCACHE['fields_thread'] $field}-->
                        <br>$field[title]
                        <!--{if $field['selective']}-->
                                $field['choices'][$post['field_'.$field['fieldid']]]
                        <!--{else}-->
                                $post['field_'.$field['fieldid']]
                        <!--{/if}-->
                <!--{/loop}-->
                <!--{if $post['location']}--><br>{lang location} $post[location]<!--{/if}--><br>
                <!--{if $vtonlinestatus && $post['authorid']}-->
                        <!--{if ($vtonlinestatus == 2 && $onlineauthors[$post[authorid]]) || ($vtonlinestatus == 1 && ($timestamp - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->
                                {lang online_status} <b>{lang online}</b>
                        <!--{else}-->
                                {lang online_status} {lang offline}
                        <!--{/if}-->
                <!--{/if}-->
                </div>
                <!--{if $post['alipay']}--><br><a href="https://www.alipay.com/payto:$post[alipay]?partner=20880020258585430156" target="_blank"><img src="{IMGDIR}/payto.gif" border="0" alt="{lang payto_author}" /></a><!--{/if}-->
        <!--{else}-->
                <!--{if !$post['authorid']}-->
                        <span class="bold">{lang guest}</span> <span class="smalltxt">$post[useip]</span><br><span class="smalltxt">{lang unregistered}
                <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
                        <span class="bold">
                        <!--{if $forum['ismoderator']}--><a href="space.php?uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
                        </span><br>{lang member_anonymous}
                <!--{else}-->
                        <span class="bold">$post[author]</span><br>
                        {lang member_deleted}
                <!--{/if}-->
                <br><br><br><br><br><br><br><br><br><br>
        <!--{/if}-->
        </td>[/code]替換為
[code]{template membercard5}[/code]
[code]{template author5}[/code]
[code]{template imgauthor}[/code]

[[i] 本帖最後由 Eric03 於 2007-4-12 20:25 編輯 [/i]]

2007-4-12 20:03 自我風格
搶個safa ...:em17:

2007-4-12 20:04 jack77
地毯...:(

2007-4-12 20:15 eltonyiu2
我喜歡第三個

2007-4-12 20:38 alex7
第2個好睇d

2007-4-12 20:58 nickyjelly
如果頭像大會否只能顯示頭像的一部分 .. ?

2007-4-12 22:57 zeus
收藏起來 第三個圖下方跟第一個圖相結合好像不錯看呢:(

2007-4-12 23:42 balloon520
經驗值,魔法值,生命值
我唔見左既
有冇方法整番

2007-4-12 23:46 Eric03
[quote][b]原帖由 [i]balloon520[/i] 於 2007-4-12 23:42 發表。&nbsp;[/b][url=http://www.alan888.com/Discuz/viewthread.php?tid=108402&page=1#pid907227][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]
經驗值,魔法值,生命值
我唔見左既
有冇方法整番 [/quote]

你用3forum
我幫你唔到

2007-4-12 23:50 balloon520
我唔係3forum
[url]http://hk-bleach.htcfn.com/index.php[/url]
係呢個

2007-4-13 09:52 balloon520
冇人講俾我知

2007-4-13 11:55 ericb001
鼎力支持^.^

2007-4-13 12:14 lokyiuyau
support:em21:

2007-4-13 12:26 HOIN
支持!! 可不可以顯示虛擬形像??

2007-4-13 13:09 balloon520
裝左之後
經驗值,魔法值,生命值
都唔見左既
-..-
[url]http://hk-bleach.htcfn.com/index.php[/url]

2007-4-13 14:56 kung仔
Eric03:em37:
支持下你啦...

2007-4-13 18:19 xp1
THAT SO GOOD

ps:

佢個壇好有問題下wo

2007-4-13 19:19 nickyjelly
[quote][b]原帖由 [i]balloon520[/i] 於 2007-4-13 13:09 發表。&nbsp;[/b][url=http://www.alan888.com/Discuz/viewthread.php?tid=108402&page=1#pid907719][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]
裝左之後
經驗值,魔法值,生命值
都唔見左既
-..-
[url]http://hk-bleach.htcfn.com/index.php[/url] [/quote]
搵番你用左果個
例如你用左imgauthor,
就係imgauhor改番D代碼

2007-4-13 22:34 balloon520
[url]http://www.alan888.com/Discuz/thread-107833-1-3.html[/url]
我係用呢個
唔知應該點改?

2007-4-14 09:13 balloon520
推推推推推推.........

2007-4-14 21:45 Eric03
回覆 #19 balloon520 的帖子

改author5.htm/membercard5.htm/imgauthor.htm

2007-4-15 15:48 柳生
支持!下載安裝@@:em33:

2007-4-16 22:45 Ricky-HK
:em49: :em49: :em49: thanks for sharing, support

2007-4-16 22:57 笨笨小小子
支持一下
不想看 Discuz 的古版顯示:em21:

2007-4-17 08:50 home260164
這個我覺得很好....支持!!!稍後再裝

2007-4-19 00:04 Eric03
回覆 #14 HOIN 的帖子

虛擬形像必可以顯示

2007-4-20 22:03 翼少爺
GOOD @@:angel:

2007-8-13 12:05 0213231
UID: 1

性別: 男

精華: 13 篇

積分: 212 點

帖子: 58 篇

{loop Array extcredits1 Array} 威望: 192

{loop Array extcredits2 Array} 金錢: 100

{loop Array extcredits3 Array} 現金: 114 金幣

{loop Array extcredits4 Array} 潛水值: 157 米

{loop Array extcredits5 Array} 存款: 8888 金幣

閱讀權限: 200

註冊: 2007-8-6

狀態: 在線
{loop Array extcredits1 Array} ←有呢D咁既野既=0=

2007-8-13 12:44 0213231
推.............

2007-8-14 17:37 葒兒
下載了第2個來看看`謝謝你囉

2007-8-26 02:52 十二少
不錯  謝了

2007-9-8 11:03 terrychan94
改完無反應既-.-!!~

2007-9-8 11:06 terrychan94
可以了 thx!~

2008-7-13 22:00 失億
Warning: include(/home/werty123/domains/sytes.hkteng.com/public_html/./forumdata/templates/1_author5.tpl.php) [function.include]: failed to open stream: No such file or directory in /home/werty123/domains/sytes.hkteng.com/public_html/forumdata/templates/3_viewthread.tpl.php on line 165

Warning: include() [function.include]: Failed opening '/home/werty123/domains/sytes.hkteng.com/public_html/./forumdata/templates/1_author5.tpl.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/werty123/domains/sytes.hkteng.com/public_html/forumdata/templates/3_viewthread.tpl.php on line 165

點解會咁???

:em46:

[[i] 本帖最後由 失億 於 2008-7-16 12:55 編輯 [/i]]

頁: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.