免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[版型教學] 横排下提示暂无版主,申请版主

111.jpg
2017-6-13 11:57


找到:discuz.htm
  1. <th width="$cat[forumcolwidth]"{$forum[folder]}>
  2. <h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if}>$forum[name]</a><!--{if $forum[todayposts]}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>
  3. <!--{if !$forum[redirect]}-->
  4. <p>{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]</p>
  5. <!--{if $forum['permission'] == 1}-->
  6. <p>{lang private_forum}
  7. <!--{else}-->
  8. <p>{lang forum_lastpost}:
  9. <!--{if is_array($forum['lastpost'])}-->
  10. <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="{echo cutstr($forum[lastpost][subject], 30)} {lang forum_lastpost_by} {if $forum['lastpost']['author']}$forum['lastpost']['authorusername']{else}{lang anonymous}{/if} ">$forum[lastpost][dateline]</a>
  11. <!--{else}-->
  12. {lang never}
  13. <!--{/if}-->
  14. </p>
  15. <!--{/if}-->
  16. <!--{else}-->
  17. <p>{lang url_link}</p>
  18. <!--{/if}-->
  19. </th>
複製代碼
替换为:
  1. <th width="$cat[forumcolwidth]"{$forum[folder]}><a href="forumdisplay.php?fid=$forum[fid]">{$forum[icon]}</a>
  2. <h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if}>$forum[name]</a><!--{if $forum[todayposts]}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>
  3. <!--{if $forum[description]}--><p>$forum[description]</p><!--{/if}-->
  4. <!--{if $forum['moderators']}--><!--{if $moddisplay == 'flat'}-->
  5. </th>
複製代碼
增加显示版主,没有版主时候显示点击申请

上面刚才替换的代码</th>前面加入下面代码:

本帖隱藏的內容需要回復才可以瀏覽


原贴:http://oocn.258club.com/thread-5406-1-1.html
4

評分人數

前排学生佔了沙发来学习楼主的教学楼!

TOP

前來上一課

TOP

收藏了,感谢分享!

TOP

這個教學非常有用。

TOP

非常感谢你的分享

TOP

支持支持

TOP

留個言來學習下

TOP

這個教學非常有用。

TOP

感谢分享!
啥都不会的小萌新

TOP

返回列表