久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线
Discuz! 官方交流社區
標題:
3.5手機論壇首頁,可以開N格么
[打印本頁]
作者:
amw111
時間:
2023-11-19 09:25
標題:
3.5手機論壇首頁,可以開N格么
類似這樣子,在公告下面添加
(, 下載次數: 23)
上傳
點擊文件名下載附件
作者:
amw111
時間:
2023-11-19 09:27
N格里面內容最好可以自定義那種,只要手機版的
作者:
湖中沉
時間:
2023-11-19 09:30
默認自帶的手機版是基于電腦版開啟的前提下的,是自帶了的。如果不喜歡那種效果,那就需要自己選購第三方N格插件了
作者:
onetheme
時間:
2023-11-19 10:47
后臺開啟論壇首頁四格,然后打開template\你的模板\forum\discuz.htm(或者是discuz.php)刪掉下面代碼
<!--{if !empty($_G['setting']['grid']['showgrid'])}-->
<!-- index four grid -->
<div class="fl bm">
<div class="bm bmw cl">
<div id="category_grid" class="bm_c" >
<table cellspacing="0" cellpadding="0"><tr>
<!--{if !$_G['setting']['grid']['gridtype']}-->
<td valign="top" class="category_l1">
<div class="newimgbox">
<h4><span class="tit_newimg"></span>{lang latest_images}</h4>
<!--{if $_G['setting']['forumallowside']}-->
<!--{eval $slide_width = 220;}-->
<!--{else}-->
<!--{eval $slide_width = 278;}-->
<!--{/if}-->
<div class="module cl slidebox_grid" style="width:{$slide_width}px">
<script type="text/javascript">
var slideSpeed = 5000;
var slideImgsize = [{$slide_width},200];
var slideBorderColor = '{$_G['style']['specialborder']}';
var slideBgColor = '{$_G['style']['commonbg']}';
var slideImgs = new Array();
var slideImgLinks = new Array();
var slideImgTexts = new Array();
var slideSwitchColor = '{$_G['style']['tabletext']}';
var slideSwitchbgColor = '{$_G['style']['commonbg']}';
var slideSwitchHiColor = '{$_G['style']['specialborder']}';
{eval $k = 1;}
<!--{loop $grids['slide'] $stid $svalue}-->
slideImgs[<!--{echo $k}-->] = '$svalue[image]';
slideImgLinks[<!--{echo $k}-->] = '{$svalue[url]}';
slideImgTexts[<!--{echo $k}-->] = '$svalue[subject]';
{eval $k++;}
<!--{/loop}-->
</script>
<script language="javascript" type="text/javascript" src="{$_G[setting][jspath]}forum_slide.js?{VERHASH}"></script>
</div>
</div>
</td>
<!--{/if}-->
<td valign="top" class="category_l2">
<div class="subjectbox">
<h4><span class="tit_subject"></span>{lang collection_lastthread}</h4>
<ul class="category_newlist">
<!--{loop $grids['newthread'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</td>
<td valign="top" class="category_l3">
<div class="replaybox">
<h4><span class="tit_replay"></span>{lang show_newthreads}</h4>
<ul class="category_newlist">
<!--{loop $grids['newreply'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']}tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</td>
<td valign="top" class="category_l3">
<div class="hottiebox">
<h4><span class="tit_hottie"></span>{lang hot_thread}</h4>
<ul class="category_newlist">
<!--{loop $grids['hot'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</td>
<!--{if $_G['setting']['grid']['gridtype']}-->
<td valign="top" class="category_l4">
<div class="goodtiebox">
<h4><span class="tit_goodtie"></span>{lang post_digest_thread}</h4>
<ul class="category_newlist">
<!--{loop $grids['digest'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</td>
<!--{/if}-->
</table>
</div>
</div>
</div>
<!-- index four grid end -->
<!--{/if}-->
復制代碼
這樣電腦端就不顯示自帶的論壇首頁四格,只讓觸屏版顯示
作者:
科站網
時間:
2024-8-23 09:17
我只是看到拿金幣的
作者:
文強
時間:
2024-8-23 09:40
科站網 發表于 2024-8-23 09:17
我只是看到拿金幣的
差點走寶了,原來還有金幣拿
作者:
風亂流年
時間:
2024-8-23 09:59
拿完走人
作者:
qzuser1212
時間:
2024-8-23 21:04
我只是看到拿金幣的
歡迎光臨 Discuz! 官方交流社區 (http://www.9999xn.com/)
Powered by Discuz! W1.0