男的舔女的下面视频在线播放-少妇愉情理仑片高潮日本-久久久久久国产一区二区三区-麻豆精品一区二区综合-国产精品超碰在线观看-网红极品女神精品视频在线-国产亚洲综合777-高清性视频一区二区播放-中文字幕第一页亚洲天堂

返回列表 發(fā)帖
查看: 3123|回復(fù): 6

[求助] 怎樣讓首頁(yè)版塊顯示簡(jiǎn)介而不是帖子

8

主題

8

回帖

1

粉絲

初學(xué)乍練

貢獻(xiàn)
0 點(diǎn)
金幣
1 個(gè)
樓主
發(fā)表于 2023-4-13 14:23:01 |廣西| 只看樓主 |倒序?yàn)g覽 |閱讀模式

如圖,想顯示成版塊簡(jiǎn)介。

我知道答案 回答被采納將會(huì)獲得1 貢獻(xiàn) + 1 金幣 已有6人回答
回復(fù)

使用道具 舉報(bào)

21

主題

494

回帖

3

粉絲

應(yīng)用開發(fā)者

貢獻(xiàn)
29 點(diǎn)
金幣
193 個(gè)
QQ
沙發(fā)
發(fā)表于 2023-4-13 14:30:01 |江蘇| 只看Ta
discuz.php把這里的代碼替換成下面的
  1. <!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
復(fù)制代碼
回復(fù)

使用道具 舉報(bào)

5

主題

206

回帖

3

粉絲

爐火純青

貢獻(xiàn)
4 點(diǎn)
金幣
20 個(gè)
QQ
板凳
發(fā)表于 2023-4-13 14:31:40 |廣西| 只看Ta
修改上面代碼
回復(fù)

使用道具 舉報(bào)

8

主題

8

回帖

1

粉絲

初學(xué)乍練

貢獻(xiàn)
0 點(diǎn)
金幣
1 個(gè)
地板
 樓主| 發(fā)表于 2023-4-13 15:36:55 |廣西| 只看Ta
onetheme 發(fā)表于 2023-4-13 14:30
discuz.php把這里的代碼替換成下面的

這里的代碼,是哪段呀?
回復(fù)

使用道具 舉報(bào)

21

主題

494

回帖

3

粉絲

應(yīng)用開發(fā)者

貢獻(xiàn)
29 點(diǎn)
金幣
193 個(gè)
QQ
5#
發(fā)表于 2023-4-13 17:42:03 |江蘇| 只看Ta
wh8630193 發(fā)表于 2023-4-13 15:36
這里的代碼,是哪段呀?
  1. <!--{if $forum['permission'] == 1}-->
  2.                                                                                 {lang private_forum}
  3.                                                                         <!--{else}-->
  4.                                                                                 <!--{if $forum['redirect']}-->
  5.                                                                                         <a href="$forumurl" class="xi2">{lang url_link}</a>
  6.                                                                                 <!--{elseif is_array($forum['lastpost'])}-->
  7.                                                                                         <!--{if $cat['forumcolumns'] < 3}-->
  8.                                                                                                 <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  9.                                                                                         <!--{else}-->
  10.                                                                                                 <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
  11.                                                                                         <!--{/if}-->
  12.                                                                                 <!--{else}-->
  13.                                                                                         {lang never}
  14.                                                                                 <!--{/if}-->
  15.                                                                         <!--{/if}-->
復(fù)制代碼
回復(fù)

使用道具 舉報(bào)

8

主題

8

回帖

1

粉絲

初學(xué)乍練

貢獻(xiàn)
0 點(diǎn)
金幣
1 個(gè)
6#
 樓主| 發(fā)表于 2023-4-13 20:15:32 |廣西| 只看Ta
discuz.php是下面這些,沒(méi)有你寫的那些代碼:
<?php
if(!defined('IN_DISCUZ')) {
        exit('Access Denied');
}
include loadarchiver('common/header');
?>
<div id="nav">
        <a href="./"><strong><?php echo $_G['setting']['bbname']; ?></strong></a>
</div>
<div id="content">
        <?php foreach($catlist as $key => $cat): ?>
        <h3><?php echo $cat['name']; ?></h3>
        <?php if(!empty($cat['forums'])): ?>
        <ul>
                <?php foreach($cat['forums'] as $fid): ?>
                <li><a href="?fid-<?php echo $fid; ?>.html"><?php echo $forumlist[$fid]['name']; ?></a></li>
                <?php endforeach; ?>
        </ul>
        <?php endif; ?>
        <?php endforeach; ?>
</div>
<div id="end">
        <?php echo lang('forum/archiver', 'full_version'); ?>:
        <a href="../forum.php" target="_blank"><strong><?php echo $_G['setting']['bbname']; ?></strong></a>
</div>
<?php include loadarchiver('common/footer'); ?>
回復(fù)

使用道具 舉報(bào)

7

主題

838

回帖

2

粉絲

已臻大成

貢獻(xiàn)
145 點(diǎn)
金幣
90 個(gè)
7#
發(fā)表于 2023-4-13 21:01:24 |馬來(lái)西亞| 只看Ta
wh8630193 發(fā)表于 2023-4-13 20:15
discuz.php是下面這些,沒(méi)有你寫的那些代碼:

你用的是默認(rèn)模板嗎?如果是那就打開 template\default\forum\discuz.htm ,搜索結(jié)果有2段樓上給的代碼,如圖:


回復(fù)

使用道具 舉報(bào)

本版積分規(guī)則

  • 關(guān)注公眾號(hào)
  • 有償服務(wù)微信
  • 有償服務(wù)QQ

手機(jī)版|小黑屋|Discuz! 官方交流社區(qū) ( 皖I(lǐng)CP備16010102號(hào) |皖公網(wǎng)安備34010302002376號(hào) )|網(wǎng)站地圖|star

GMT+8, 2026-4-18 06:40 , Processed in 0.048317 second(s), 14 queries , Redis On.

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

關(guān)燈 在本版發(fā)帖
有償服務(wù)QQ
有償服務(wù)微信
返回頂部
快速回復(fù) 返回頂部 返回列表