免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
设为首页收藏本站开启辅助访问站点地图

美化代码新人必看赚取圈币

返回列表 发帖
查看: 2229|回复: 4 收起左侧
开启左侧收起左侧开启左侧
上一主题 下一主题 打印

[修改模板] 横排下提示暂无版主,申请版主   [复制链接]

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

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

x
111.jpg
2017-6-13 11:46


找到:discuz.htm
  1. 搜索下面的代码 ,大概在86行到101行之间

  2. <th width="$cat[forumcolwidth]"{$forum[folder]}>
  3. <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>
  4. <!--{if !$forum[redirect]}-->
  5. <p>{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]</p>
  6. <!--{if $forum['permission'] == 1}-->
  7. <p>{lang private_forum}
  8. <!--{else}-->
  9. <p>{lang forum_lastpost}:
  10. <!--{if is_array($forum['lastpost'])}-->
  11. <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>
  12. <!--{else}-->
  13. {lang never}
  14. <!--{/if}-->
  15. </p>
  16. <!--{/if}-->
  17. <!--{else}-->
  18. <p>{lang url_link}</p>
  19. <!--{/if}-->
  20. </th>
复制代码
  1. 替换为:

  2. <th width="$cat[forumcolwidth]"{$forum[folder]}><a href="forumdisplay.php?fid=$forum[fid]">{$forum[icon]}</a>
  3. <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>
  4. <!--{if $forum[description]}--><p>$forum[description]</p><!--{/if}-->
  5. <!--{if $forum['moderators']}--><!--{if $moddisplay == 'flat'}-->
  6. </th>
复制代码
增加显示版主,没有版主时候显示点击申请

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

本帖隐藏的内容需要回复才可以浏览


把里面的链接地址换成你的申请地址即可。

最近看过此主题的圈友

桑小玉
访问时间:2021-10-27 21:10
九七
访问时间:2021-08-05 12:06
啊这
访问时间:2021-07-30 22:10
东窗凝月
访问时间:2020-07-18 14:13
爱谁谁
访问时间:2020-04-06 20:58
源分
访问时间:2019-11-24 16:23
恒小杰
访问时间:2019-09-14 23:34
天使小小
访问时间:2019-07-11 11:11
伊斯皇帝
访问时间:2018-09-10 00:25

点评
B Color Link Smilies

您还可以输入:个字符
X

 X

今天你帮助了别人,明天别人帮助你.
感謝分享
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

他[她]看完这篇文章说:
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

他[她]看完这篇文章说:

获得 大怪兽卡 一张

卡片说明:我又要害人了~线条你要倒霉了

卡片效果:-8

点评
B Color Link Smilies

您还可以输入:个字符
X

 X

他[她]看完这篇文章说:
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

返回列表 发帖
快速
返回顶部
返回首页