Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

首页横排美化+最后发表主题(进化)+版主显示依模式不同位置 for Dz6.0 (1/4 更新一樓)

[复制链接]
s36376149 发表于 2008-3-15 23:37:37 | 显示全部楼层
安装后没有横排的版面太大了
应该怎么解决,
我的地址是www.546800.com

图片在下面

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

s36376149 发表于 2008-3-16 12:01:55 | 显示全部楼层
怎么楼主不来回答的????
回复

使用道具 举报

zyafei 发表于 2008-3-16 15:39:30 | 显示全部楼层

回复 343# s36376149 的帖子

楼主欠你的!
回复

使用道具 举报

kinki_chen 发表于 2008-3-17 19:32:48 | 显示全部楼层
咋看挺复杂的,我需要时间慢慢研究一下
我是新手><"
回复

使用道具 举报

s36376149 发表于 2008-3-18 19:09:52 | 显示全部楼层
原帖由 zyafei 于 2008-3-16 15:39 发表
楼主欠你的!


这个倒是没有,不过楼主说过了,要是有什么问题就在这里提出的,现在我提出来,还没回家我才再问一次的
回复

使用道具 举报

8783 发表于 2008-3-18 20:08:29 | 显示全部楼层
有問題....
http://8783main.hkhostcity.com/index.php?showforumlist=default

用了後版面出現1個沒有修改的版塊+已經修改好了的版塊

[ 本帖最后由 8783 于 2008-3-18 20:14 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

marco608 发表于 2008-3-20 00:46:20 | 显示全部楼层
继续来支持一下。

很强大的。
回复

使用道具 举报

 楼主| jillyz 发表于 2008-3-22 06:13:39 | 显示全部楼层
原帖由 8783 于 2008-3-18 20:08 发表
有問題....
http://8783main.hkhostcity.com/index.php?showforumlist=default

用了後版面出現1個沒有修改的版塊+已經修改好了的版塊


您的情況... 您之前有安裝過直排插件吧?
那可能要把我這個橫排, 安裝到 forumlist_default.htm 這個模板去了吧?
---------------------------------------------------------------------

總之你的問題是  出現兩次,如下

<!--{if $gid || $showforumlist == 'default'}-->
{template forumlist_default}  --------------這裡出現過一次橫排
<!--{elseif empty($gid) && $showforumlist == 'straightdisplay'}-->
{template forumlist_straightdisplay}
<!--{/if}-->


<!--{loop $catlist $key $cat}-->
        <!--{if $cat['forumscount']}-->
                <div class="mainbox forumlist">
                        <span class="headactions">
                                <!--{if $cat['moderators']}-->{lang forum_category_modedby}: $cat[moderators]<!--{/if}-->
                                <img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_$cat[fid]');" />
                        </span>
                        <h3><a href="$indexname?gid=$cat[fid]">$cat[name]</a></h3>
                        <table id="category_$cat[fid]" summary="category$cat[fid]" cellspacing="0" cellpadding="0" style="$collapse['category_'.$cat[fid]]">

                        <!--{if !$cat['forumcolumns']}-->

                                <thead class="category">
                                        <tr>
                                                <th>{lang forum_name}</th>
                                                <td class="nums">{lang forum_threads}
                                                  /  {lang forum_posts}</td>
                                                <!--{if $moddisplay == 'flat'}--><!--{else}--><td width="50px">{lang forum_moderators}</td><!--{/if}-->
                                                <td class="lastpost">{lang forum_lastpost}</td>
                                        </tr>
                                </thead>

                                <!--{loop $cat[forums] $forumid}-->
                                        <!--{eval $forum=$forumlist[$forumid];}-->
                                        <tbody id="forum$forum[fid]">
                                                <tr>
                                                        <th$forum[folder]>
                                                        <div style="clear: both; width:100%">
                                                                <div style="float:left">$forum[icon]</div>
                                                                <h2><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em> ({lang index_today}: $forum[todayposts])</em><!--{/if}--></h2>
                                                                <div style="color:{LIGHTTEXT}; overflow:hidden;">
                                                                        <!--{if $forum[description]}--><p>$forum[description]</p><!--{/if}-->
                                                                        <!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
                                                                        <!--{if $moddisplay == 'flat'}-->
                                                                                <!--{if $forum['moderators']}--><p class="moderators">{lang forum_moderators}: $forum[moderators]</p><!--{else}--><!--{/if}-->
                                                                        <!--{else}-->
                                                                        <!--{/if}-->
                                                                </div>
                                                        </div>
                                                        </th>
                                                        <td class="nums">
                                                                <span style="color:{NOTICETEXT}">{if $forum['redirect']}--{else}$forum[threads]{/if}</span>
                                                                  /  
                                                                {if $forum['redirect']}--{else}$forum[posts]{/if}
                                                        </td>

                                                        <!--{if $moddisplay == 'flat'}-->
                                                        <!--{else}-->
                                                                <td>
                                                                <!--{if $forum['moderators']}-->
                                                                        <span class="dropmenu" id="mod$forum[fid]" onmouseover="showMenu(this.id)">{lang forum_moderators}</span>
                                                                                <ul class="moderators popupmenu_popup" id="mod$forum[fid]_menu" style="display: none; width: 80px">$forum[moderators]</ul>
                                                                <!--{else}-->
                                                                        <span style="color:{LIGHTTEXT}">無版主</span>
                                                                <!--{/if}-->
                                                                </td>
                                                        <!--{/if}-->

                                                        <td class="lastpost" style="margin-top:5px">
                                                        <!--{if $forum['permission'] == 1}-->
                                                                {lang private_forum}
                                                        <!--{else}-->
                                                                <!--{if $forum['redirect']}-->
                                                                        --
                                                                <!--{elseif is_array($forum['lastpost'])}-->
                                                                        <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{echo cutstr($forum[lastpost][subject], 40)}</a>
                                                                        <cite>{lang forum_lastpost_by} <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--> - $forum[lastpost][dateline]</cite>
                                                                <!--{else}-->
                                                                        {lang never}
                                                                <!--{/if}-->
                                                        <!--{/if}-->
                                                        </td>
                                                </tr>
                                        </tbody>
                                <!--{/loop}-->

                        <!--{else}-->   -----------------------這裡以下又出現過一次橫排美化

                                <thead class="category" align="center">
                                        <tr>
                                                <th>{lang forum_name} / 最新主題</th>
                                                <th>{lang forum_name} / 最新主題</th>
                                                <th>{lang forum_name} / 最新主題</th>

                                        </tr>
                                </thead>
   
                                        <!--{loop $cat['forums'] $forumid}-->
                                                <!--{eval $forum=$forumlist[$forumid];}-->
                                                <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
                                                        </tr></tbody>
                                                        <!--{if $forum['orderid'] < $cat['forumscount']}-->
                                                                <tbody><tr>
                                                <!--{/if}-->
                                                <!--{/if}-->

                                        <th width="$cat[forumcolwidth]" style="vertical-align: top; background-image: none; padding:10px !important;">

                                                <div style="overflow: hidden; height:25px; width:100%; display:block">      
                                                        <div style="float:left; height: 20px; width:90%; overflow:hidden;">
                                                                <h2 style="margin: 0 0 3px 0; "><a href="forumdisplay.php?fid=$forum[fid]" title="$forum[name]">$forum[name]</a></h2>
                                                        </div>
                                                        <div style="float:right;">
                                                                <a href="forumdisplay.php?fid=$forum[fid]&filter=0&orderby=dateline&ascdesc=DESC" title="依發布時間排序主題"><img src="images/common/notice.gif"></a>
                                                        </div>
                                                </div>
                                                <div style="clear: both; width:100%">
                                                        <div style="float:left">$forum[icon]</div><div style="color:{LIGHTTEXT}; overflow:hidden;">$forum[description]<!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}--></div>
                                                </div>

                                                <ul class="list" style="background-image: url(images/listbg_li.gif); padding:1px 2px 0 10px; list-style-type: none; line-height: 20px; margin:6px 0 4px 0; clear: both;">
                                                        <!--{loop ${"new_no".$forum[fid]."_threadlist"} $row}-->
        <!--{if $forum['permission'] == 1}-->
        {lang private_forum}, 您的權限無法查閱本版主題及內容
        <!--{else}-->

                                                                <div style="overflow: hidden; height:20px; width:100%"><small style="float:right; color:#9C8B88; margin: 0 0 0 5px">$row['date']</small><a href="viewthread.php?tid=$row[tid]" title="$row[subject]" target='_self'>$row[view_subject]</a></div>
<!--{/if}-->
                                                        <!--{/loop}-->
                                                </ul>

                                                <div style="color:{LIGHTTEXT}; overflow: hidden; height:1.5em; width: 100%">
                                                        <!--{if is_array($forum['lastpost'])}-->
        <!--{if $forum['permission'] == 1}-->
        {lang forum_lastpost}:  您的權限無法查閱本版主題及內容

                                                                {lang forum_lastpost}: <a style="color:{LIGHTTEXT}" href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="$forum[lastpost][subject]  ($forum[lastpost][dateline])">{echo cutstr($forum[lastpost][subject], 35)}</a>
                                                                ({lang forum_lastpost_by} <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author'])<!--{else}-->{lang anonymous}<!--{/if}-->
        <!--{/if}-->
                                                        <!--{else}-->
                                                                {lang never}
                                                        <!--{/if}-->
                                                </div>
                                                <div style="color:{LIGHTTEXT}; overflow: hidden; height:1.5em; width: 100%">
                                                        <!--{if $forum['moderators']}-->
                                                        <!--{if $moddisplay == 'flat'}-->
                                                                <span>{lang forum_moderators}: $forum[moderators]</span>
                                                                <!--{else}-->
                                                                <span class="dropmenu" id="mod$forum[fid]" onmouseover="showMenu(this.id)">{lang forum_moderators}</span>
                                                                <ul class="moderators popupmenu_popup" id="mod$forum[fid]_menu" style="display: none; width: 80px;">$forum[moderators]</ul>
                                                                <!--{/if}-->
                                                        <!--{else}-->
                                                                <span style="color:{LIGHTTEXT}">無版主</span>
                                                        <!--{/if}-->
                                                         |
                                                        {lang forum_threads}:{if $forum['redirect']}--{else}$forum[threads]{/if} /
                                                        {lang forum_posts}:{if $forum['redirect']}--{else}$forum[posts]{/if} /
                                                        <!--{if $forum[todayposts] && !$forum['redirect']}--><em style="color:{HIGHLIGHTLINK}">{lang index_today}forum[todayposts]</em><!--{else}-->{lang index_today}:0<!--{/if}-->
                                                </div>

                                        </th>

                                <!--{/loop}-->

                                $cat['endrows']
                        <!--{/if}-->
                        </table>
                </div>
                <div id="ad_intercat_$key"></div>
        <!--{/if}-->
<!--{/loop}-->

------------------------------------

不知道您還要不要用直排插件,如果不要的話,那請試試看刪除下面那段

<!--{if $gid || $showforumlist == 'default'}-->
{template forumlist_default}
<!--{elseif empty($gid) && $showforumlist == 'straightdisplay'}-->
{template forumlist_straightdisplay}
<!--{/if}-->

[ 本帖最后由 jillyz 于 2008-3-22 06:33 编辑 ]
回复

使用道具 举报

 楼主| jillyz 发表于 2008-3-22 06:23:39 | 显示全部楼层
原帖由 s36376149 于 2008-3-15 23:37 发表
安装后没有横排的版面太大了
应该怎么解决,
我的地址是www.546800.com
图片在下面
236417

請試試看,把論壇圖標那附近的代碼
1.  img圖片裡的  align="right"  這句刪掉
2.  包住 圖標連結的  <div style="FLOAT: left"> 這段改成  <div style="FLOAT: right">
回复

使用道具 举报

8783 发表于 2008-3-25 14:09:53 | 显示全部楼层

回复 349# jillyz 的帖子

如果還要使用直排插件,請問要怎樣修改?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-10-5 17:18 , Processed in 0.182178 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表