AL8 Forum
   登錄註冊幫助


標題: [D5.0 & D5.5] 首頁直排上下顯示八行版(單查詢版)
 牙俊〞
 0075473
Rank: 4Rank: 4Rank: 4Rank: 4

頭銜: Lord

帖子: 341

精華: 0

積分: 3740 點

現金: 0 元

存款: 28 元

閱讀權限: 25

註冊: 2007-5-5

狀態: 離線
 
發表於 2008-10-8 19:46  資料  個人空間  短消息  加為好友 
首頁直排上下顯示八行版(單查詢版)

請先裝

插件名稱:首頁直排上下顯示八行版
適用版本:dz5.0 & 5.5
直排作者:ntf
單查詢版:cambyliverson、邊個
本版修改:牙俊〞
修  改:forumlist_straightdisplay3.htm、straightdisplay_admin.htm
用  途:增加直排顯示行數
演示網站:http://sunding.co.cc/index.php


用途:增加風排排數
風格3改法:
打開/templates/default/forumlist_straightdisplay3.htm
找到:
<DIV class=spacer><IMG height=5 src="images/home/spacer.gif" width="100%"></DIV>

下加:
<script type="text/javascript" src="images/home/index.js"></script>  
<TABLE cellSpacing=0 cellPadding=0 width="920" align=center border=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
            border=0>
              <TBODY>
              <TR>
                <TD width=13></TD>
                <TD vAlign=top align=left width=176>

<!--{loop $catlist $key $cat}-->
<!--{if $cat['straightdisplay']==5}-->
        <!--{if $cat['forumscount']}-->
                              <TABLE cellSpacing=0 cellPadding=0 width=160 border=0 id='group_{$cat[fid]}'>
                                <TBODY>
                                <TR>
                                <TD vAlign=top align=left><A name=group_{$cat[fid]}><IMG height=73 src="images/forum/style3/gid$cat[fid].png" onerror="this.src=('images/forum/style3/logo.gif')" width="176" border="0"></A></TD></TR>
                                <TR>
                                <TD id=tbl_g{$cat[fid]} class=content vAlign=top align=left>
                                <UL>
<!--{loop $cat[forums] $forumid}-->
<!--{eval $forum=$forumlist[$forumid];}-->
<LI STYLE="MARGIN-TOP: 10px; FONT-SIZE: 12px">
<a href="forumdisplay.php?fid=$forum[fid]" title="今日帖數:$forum[todayposts] {LF}主題數目:$forum[threads] {LF}帖子數目:$forum[posts]" class=orangelink>$forum[name]</a>
<!--{if $forum[todayposts] > 9}-->
<img src="images/home/hot.gif" alt="總共帖數:$forum[todayposts]">
<!--{elseif $forum[todayposts] >0 &&  $forum[todayposts] <10}-->
<span class="todayposts"><img src="images/home/new.gif" alt="此版今日有$forum[todayposts]帖" width="24" height="12" border="0"></span>
<!--{/if}-->
<!--{if $forum['subforums']}-->
<a onclick="toggle_collapse_home('pfid$forum[fid]');"><img id='pfid$forum[fid]_img' src="images/home/collapsed_yes.gif" border='0'></a>
<SPAN id=pfid$forum[fid] style="display: none">
<div id="sublistgroup">
<UL>
$forum['subforums']
</UL>
</div>
</SPAN>
<!--{/if}-->
</LI>
<div></div>
<!--{/loop}-->
</UL>
<DIV align=right><A href="#top"><IMG src="images/home/back_to_top.gif" border=0></A></DIV></TD></TR>
<TR>
<TD height=11><IMG height=11 src="images/home/box_bottom.jpg" width=176></TD>
</TR>
</TBODY></TABLE><BR>
<!--{/if}-->
<!--{/if}-->
<!--{/loop}-->


</td>
<TD width=15></TD>
<TD vAlign=top align=left width=176>
<!--{loop $catlist $key $cat}-->
<!--{if $cat['straightdisplay']==6}-->
        <!--{if $cat['forumscount']}-->
                              <TABLE cellSpacing=0 cellPadding=0 width=160 border=0 id='group_{$cat[fid]}'>
                                <TBODY>
                                <TR>
                                <TD vAlign=top align=left><A name=group_{$cat[fid]}><IMG height=73 src="images/forum/style3/gid$cat[fid].png" onerror="this.src=('images/forum/style3/logo.gif')" width="176" border="0"></A></TD></TR>
                                <TR>
                                <TD id=tbl_g{$cat[fid]} class=content vAlign=top align=left>
                                <UL>
<!--{loop $cat[forums] $forumid}-->
<!--{eval $forum=$forumlist[$forumid];}-->
<LI STYLE="MARGIN-TOP: 10px; FONT-SIZE: 12px">
<a href="forumdisplay.php?fid=$forum[fid]" title="今日帖數:$forum[todayposts] {LF}主題數目:$forum[threads] {LF}帖子數目:$forum[posts]" class=orangelink>$forum[name]</a>
<!--{if $forum[todayposts] > 9}-->
<img src="images/home/hot.gif" alt="總共帖數:$forum[todayposts]">
<!--{elseif $forum[todayposts] >0 &&  $forum[todayposts] <10}-->
<span class="todayposts"><img src="images/home/new.gif" alt="此版今日有$forum[todayposts]帖" width="24" height="12" border="0"></span>
<!--{/if}-->
<!--{if $forum['subforums']}-->
<a onclick="toggle_collapse_home('pfid$forum[fid]');"><img id='pfid$forum[fid]_img' src="images/home/collapsed_yes.gif" border='0'></a>
<SPAN id=pfid$forum[fid] style="display: none">
<div id="subboardlist">
<UL STYLE="MARGIN-TOP: 10px">
$forum['subforums']
</UL>
</div>
</SPAN>
<!--{/if}-->
<div></div>
</LI>
<!--{/loop}-->
</UL>
<DIV align=right><A href="#top"><IMG src="images/home/back_to_top.gif" border=0></A></DIV></TD></TR>
<TR>
<TD height=11><IMG height=11 src="images/home/box_bottom.jpg" width=176></TD>
</TR>
</TBODY></TABLE><BR>
<!--{/if}-->
<!--{/if}-->
<!--{/loop}-->

</td>
<TD width=15></TD>
<TD vAlign=top align=left width=176>
<!--{loop $catlist $key $cat}-->
<!--{if $cat['straightdisplay']==7}-->
        <!--{if $cat['forumscount']}-->
                              <TABLE cellSpacing=0 cellPadding=0 width=160 border=0 id='group_{$cat[fid]}'>
                                <TBODY>
                                <TR>
                                <TD vAlign=top align=left><A name=group_{$cat[fid]}><IMG height=73 src="images/forum/style3/gid$cat[fid].png" onerror="this.src=('images/forum/style3/logo.gif')" width="176" border="0"></A></TD></TR>
                                <TR>
                                <TD id=tbl_g{$cat[fid]} class=content vAlign=top align=left>
                                <UL>
<!--{loop $cat[forums] $forumid}-->
<!--{eval $forum=$forumlist[$forumid];}-->
<LI STYLE="MARGIN-TOP: 10px; FONT-SIZE: 12px">
<a href="forumdisplay.php?fid=$forum[fid]" title="今日帖數:$forum[todayposts] {LF}主題數目:$forum[threads] {LF}帖子數目:$forum[posts]" class=orangelink>$forum[name]</a>
<!--{if $forum[todayposts] > 9}-->
<img src="images/home/hot.gif" alt="總共帖數:$forum[todayposts]">
<!--{elseif $forum[todayposts] >0 &&  $forum[todayposts] <10}-->
<span class="todayposts"><img src="images/home/new.gif" alt="此版今日有$forum[todayposts]帖" width="24" height="12" border="0"></span>
<!--{/if}-->
<!--{if $forum['subforums']}-->
<a onclick="toggle_collapse_home('pfid$forum[fid]');"><img id='pfid$forum[fid]_img' src="images/home/collapsed_yes.gif" border='0'></a>
<SPAN id=pfid$forum[fid] style="display: none">
<div id="subboardlist">
<UL STYLE="MARGIN-TOP: 10px">
$forum['subforums']
</UL>
</div>
</SPAN>
<!--{/if}-->
<div></div>
</LI>
<!--{/loop}-->
</UL>
<DIV align=right><A href="#top"><IMG src="images/home/back_to_top.gif" border=0></A></DIV></TD></TR>
<TR>
<TD height=11><IMG height=11 src="images/home/box_bottom.jpg" width=176></TD>
</TR>
</TBODY></TABLE><BR>
<!--{/if}-->
<!--{/if}-->
<!--{/loop}-->
</td>
<TD width=15></TD>
<TD vAlign=top align=left width=176>
<!--{loop $catlist $key $cat}-->
<!--{if $cat['straightdisplay']==8}-->
        <!--{if $cat['forumscount']}-->
                              <TABLE cellSpacing=0 cellPadding=0 width=160 border=0 id='group_{$cat[fid]}'>
                                <TBODY>
                                <TR>
                                <TD vAlign=top align=left><A name=group_{$cat[fid]}><IMG height=73 src="images/forum/style3/gid$cat[fid].png" onerror="this.src=('images/forum/style3/logo.gif')" width="176" border="0"></A></TD></TR>
                                <TR>
                                <TD id=tbl_g{$cat[fid]} class=content vAlign=top align=left>
                                <UL>
<!--{loop $cat[forums] $forumid}-->
<!--{eval $forum=$forumlist[$forumid];}-->
<LI STYLE="MARGIN-TOP: 10px; FONT-SIZE: 12px">
<a href="forumdisplay.php?fid=$forum[fid]" title="今日帖數:$forum[todayposts] {LF}主題數目:$forum[threads] {LF}帖子數目:$forum[posts]" class=orangelink>$forum[name]</a>
<!--{if $forum[todayposts] > 9}-->
<img src="images/home/hot.gif" alt="總共帖數:$forum[todayposts]">
<!--{elseif $forum[todayposts] >0 &&  $forum[todayposts] <10}-->
<span class="todayposts"><img src="images/home/new.gif" alt="此版今日有$forum[todayposts]帖" width="24" height="12" border="0"></span>
<!--{/if}-->
<!--{if $forum['subforums']}-->
<a onclick="toggle_collapse_home('pfid$forum[fid]');"><img id='pfid$forum[fid]_img' src="images/home/collapsed_yes.gif" border='0'></a>
<SPAN id=pfid$forum[fid] style="display: none">
<div id="subboardlist">
<UL STYLE="MARGIN-TOP: 10px">$forum['subforums']
</UL>
</div>
</SPAN>
<!--{/if}-->
<div></div>
<LI>
<!--{/loop}-->
</UL>
<DIV align=right><A href="#top"><IMG src="images/home/back_to_top.gif" border=0></A></DIV></TD></TR>
<TR>
<TD height=11><IMG height=11 src="images/home/box_bottom.jpg" width=176></TD>
</TR>
</TBODY></TABLE><BR>
<!--{/if}-->
<!--{/if}-->
<!--{/loop}-->

</td>
<TD width=15></TD>
<!--{if $adv}-->
<TD vAlign=top align=left>
$adv
</td>
<!--{/if}-->
                      <TD width=13></TD></TR></TBODY></TABLE>
             </TD></TR>
     </TBODY></TABLE>

用途:修改直排設置系統
打開/templates/default/straightdisplay_admin.htm
找到:
<option value="1" $markselect[1]>第1行</option>
<option value="2" $markselect[2]>第2行</option>
<option value="3" $markselect[3]>第3行</option>
<option value="4" $markselect[4]>第4行</option>

加:
<option value="5" $markselect[5]>第5行</option>
<option value="6" $markselect[6]>第6行</option>
<option value="7" $markselect[7]>第7行</option>
<option value="8" $markselect[8]>第8行</option>

最後回到「社區直排版區顯示行數設置」
修改「顯示在」的行數便行

第1行至第4行為上排的1-4行

第5行至第8行為下排的1-4行

[ 本帖最後由 牙俊〞 於 2008-10-12 20:04 編輯 ]




 AL8 Forum © All rights reserved.
頂部
 KwanServerHK
 0098557
Rank: 4Rank: 4Rank: 4Rank: 4
點擊查看 KwanServerHK 的詳細資料

頭銜: Lord

帖子: 498

精華: 0

積分: 6170 點

現金: 100 元

存款: 0 元

閱讀權限: 25

註冊: 2008-3-24

來自: Mars

狀態: 離線
 
發表於 2008-10-8 19:51  資料  個人空間  主頁 短消息  加為好友 
演示@@....




 AL8 Forum © All rights reserved.
頂部
 銘milo
 0062172
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

暱稱: 會員已被

自述: 禁止訪問

帖子: 1010

精華: 0

積分: 11660 點

現金: 0 元

存款: 935 元

閱讀權限: 70

註冊: 2006-12-27

來自: Macaufocus

狀態: 離線
 
發表於 2008-10-8 19:57  資料  個人空間  主頁 短消息  加為好友  添加 銘milo 為MSN好友 通過MSN和 銘milo 交談 Yahoo!
支持~~




放Macaus.net 令域名一個~!
 AL8 Forum © All rights reserved.
頂部
 牙俊〞
 0075473
Rank: 4Rank: 4Rank: 4Rank: 4

頭銜: Lord

帖子: 341

精華: 0

積分: 3740 點

現金: 0 元

存款: 28 元

閱讀權限: 25

註冊: 2007-5-5

狀態: 離線
 
發表於 2008-10-8 20:13  資料  個人空間  短消息  加為好友 
QUOTE:
原帖由 KwanServerHK 於 2008-10-8 19:51 發表
演示@@....

唔記得左添
已補上




 AL8 Forum © All rights reserved.
頂部
 HKZZA
 0103265
Rank: 3Rank: 3Rank: 3

頭銜: Conqueror

帖子: 239

精華: 0

積分: 2456 點

現金: 92 元

存款: 0 元

閱讀權限: 20

註冊: 2008-6-15

來自: 香港_新界西

狀態: 離線
 
發表於 2008-10-8 20:52  資料  個人空間  主頁 短消息  加為好友  添加 HKZZA 為MSN好友 通過MSN和 HKZZA 交談 Yahoo!
好野
有人發佈啦




Rz Forum
網址:http://hkorz.hk.vg/bbs/
簡介:新一代以年青人題材為主既論壇
 AL8 Forum © All rights reserved.
頂部
 kkt54321
 0081517
Rank: 2Rank: 2

頭銜: Member

帖子: 67

精華: 0

積分: 720 點

現金: 100 元

存款: 0 元

閱讀權限: 15

註冊: 2007-7-11

狀態: 離線
 
發表於 2008-10-8 20:53  資料  個人空間  短消息  加為好友 
真係幾靚下,十卜十卜!!




 AL8 Forum © All rights reserved.
頂部
 牙俊〞
 0075473
Rank: 4Rank: 4Rank: 4Rank: 4

頭銜: Lord

帖子: 341

精華: 0

積分: 3740 點

現金: 0 元

存款: 28 元

閱讀權限: 25

註冊: 2007-5-5

狀態: 離線
 
發表於 2008-10-8 21:20  資料  個人空間  短消息  加為好友 
QUOTE:
原帖由 HKZZA 於 2008-10-8 20:52 發表
好野
有人發佈啦

因為見到人地有但又搵唔到教學
所以就去問人之後開始整

要係呢度多謝邊個




 AL8 Forum © All rights reserved.
頂部
 傻丁
 0050456
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

帖子: 2456

精華: 0

積分: 26763 點

現金: 8 元

存款: 0 元

閱讀權限: 70

註冊: 2006-8-22

狀態: 離線
 
發表於 2008-10-8 22:52  資料  個人空間  短消息  加為好友  QQ
安裝ntf的直版可以進行安裝嗎?




FlyerSKY 飛揚: http://flyersky.com
 AL8 Forum © All rights reserved.
頂部
 牙俊〞
 0075473
Rank: 4Rank: 4Rank: 4Rank: 4

頭銜: Lord

帖子: 341

精華: 0

積分: 3740 點

現金: 0 元

存款: 28 元

閱讀權限: 25

註冊: 2007-5-5

狀態: 離線
 
發表於 2008-10-9 16:25  資料  個人空間  短消息  加為好友 
QUOTE:
原帖由 傻丁 於 2008-10-8 22:52 發表
安裝ntf的直版可以進行安裝嗎?

唔可以  因為邊個果個直排改過黎
個分析唔同




 AL8 Forum © All rights reserved.
頂部
 frankiemak
 0096853
Rank: 5Rank: 5Rank: 5Rank: 5Rank: 5

頭銜: King

帖子: 942

精華: 0

積分: 10188 點

現金: 1 元

存款: 77 元

閱讀權限: 30

註冊: 2008-2-24

狀態: 離線
 
發表於 2008-10-9 20:22  資料  個人空間  短消息  加為好友 
其實forumlist_straightdisplay3.htm果段野有冇喺邊道cut出黎?




暫時定居6.1
=========
有大大可以做到dz搜索時繁簡像google一樣搜埋嗎?
 AL8 Forum © All rights reserved.
頂部
 牙俊〞
 0075473
Rank: 4Rank: 4Rank: 4Rank: 4

頭銜: Lord

帖子: 341

精華: 0

積分: 3740 點

現金: 0 元

存款: 28 元

閱讀權限: 25

註冊: 2007-5-5

狀態: 離線
 
發表於 2008-10-9 21:13  資料  個人空間  短消息  加為好友 
QUOTE:
原帖由 frankiemak 於 2008-10-9 20:22 發表
其實forumlist_straightdisplay3.htm果段野有冇喺邊道cut出黎?

其實就係用番1-4行
只係改左個數字




 AL8 Forum © All rights reserved.
頂部
 frankiemak
 0096853
Rank: 5Rank: 5Rank: 5Rank: 5Rank: 5

頭銜: King

帖子: 942

精華: 0

積分: 10188 點

現金: 1 元

存款: 77 元

閱讀權限: 30

註冊: 2008-2-24

狀態: 離線
 
發表於 2008-10-9 21:45  資料  個人空間  短消息  加為好友 
咁啫係ntf都可能用到?

其實單查詢版係咪比ntf原本果個好?

[ 本帖最後由 frankiemak 於 2008-10-9 21:46 編輯 ]




暫時定居6.1
=========
有大大可以做到dz搜索時繁簡像google一樣搜埋嗎?
 AL8 Forum © All rights reserved.
頂部
 傻丁
 0050456
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

帖子: 2456

精華: 0

積分: 26763 點

現金: 8 元

存款: 0 元

閱讀權限: 70

註冊: 2006-8-22

狀態: 離線
 
發表於 2008-10-9 22:33  資料  個人空間  短消息  加為好友  QQ
QUOTE:
原帖由 frankiemak 於 2008-10-9 21:45 發表
咁啫係ntf都可能用到?
其實單查詢版係咪比ntf原本果個好?


NTF 最新版可做到~
但方法不同~




FlyerSKY 飛揚: http://flyersky.com
 AL8 Forum © All rights reserved.
頂部
 frankiemak
 0096853
Rank: 5Rank: 5Rank: 5Rank: 5Rank: 5

頭銜: King

帖子: 942

精華: 0

積分: 10188 點

現金: 1 元

存款: 77 元

閱讀權限: 30

註冊: 2008-2-24

狀態: 離線
 
發表於 2008-10-9 22:50  資料  個人空間  短消息  加為好友 
係我知
加返同樣既野z_z




暫時定居6.1
=========
有大大可以做到dz搜索時繁簡像google一樣搜埋嗎?
 AL8 Forum © All rights reserved.
頂部
 牙俊〞
 0075473
Rank: 4Rank: 4Rank: 4Rank: 4

頭銜: Lord

帖子: 341

精華: 0

積分: 3740 點

現金: 0 元

存款: 28 元

閱讀權限: 25

註冊: 2007-5-5

狀態: 離線
 
發表於 2008-10-10 17:36  資料  個人空間  短消息  加為好友 
QUOTE:
原帖由 傻丁 於 2008-10-9 22:33 發表

NTF 最新版可做到~
但方法不同~

不過最新版好似係for6.x




 AL8 Forum © All rights reserved.
頂部
 傻丁
 0050456
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

帖子: 2456

精華: 0

積分: 26763 點

現金: 8 元

存款: 0 元

閱讀權限: 70

註冊: 2006-8-22

狀態: 離線
 
發表於 2008-10-10 19:44  資料  個人空間  短消息  加為好友  QQ
QUOTE:
原帖由 牙俊〞 於 2008-10-10 17:36 發表

不過最新版好似係for6.x


嗯,無錯...
我用ntf的方法, 6.0成功了




FlyerSKY 飛揚: http://flyersky.com
 AL8 Forum © All rights reserved.
頂部
 牙俊〞
 0075473
Rank: 4Rank: 4Rank: 4Rank: 4

頭銜: Lord

帖子: 341

精華: 0

積分: 3740 點

現金: 0 元

存款: 28 元

閱讀權限: 25

註冊: 2007-5-5

狀態: 離線