久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线

Discuz! 官方交流社區(qū)

標題: 請問這里要怎么修改? [打印本頁]

作者: ruanlinwu1987    時間: 2022-8-23 15:04
標題: 請問這里要怎么修改?
(, 下載次數(shù): 5)

作者: 人工智能實驗室    時間: 2022-8-23 18:16
修改文件:
template\default\forum\forumdisplay_list.htm(這個是默認模板,如果你用的第三方模板,先看看有無template\第三方模板\forum\forumdisplay_list.htm文件,有的話改第三方模板文件)

  1. <div class="auth cl">

  2.         <cite class="xg1 y">

  3.                         {lang like}: <!--{if $thread[recommends]}-->$thread[recommends]<!--{else}-->0<!--{/if}-->

  4.                            {lang reply}: <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" title="$thread[replies] {lang reply}">$thread[replies]</a>

  5.         </cite>

  6.         <!--{hook/forumdisplay_author $key}-->

  7.         <!--{if $thread['authorid'] && $thread['author']}-->

  8.                         <a href="home.php?mod=space&uid=$thread[authorid]">$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->

  9.         <!--{else}-->

  10.                         $_G[setting][anonymoustext]

  11.         <!--{/if}-->

  12. </div>
復制代碼

1、$thread[author]是用戶名
需要改成頭像的話,改成
<img src="uc_server/avatar.php?uid={$thread['authorid']}&size=small" alt="">
2、文字“喜歡”對應{lang like},文字“回復”對應{lang reply},改成你想要的內容即可;



作者: 人工智能實驗室    時間: 2022-8-23 18:21
以上教程只能幫你顯示你想要的內容,具體樣式你要根據(jù)你頁面的情況再調整。




歡迎光臨 Discuz! 官方交流社區(qū) (http://www.9999xn.com/) Powered by Discuz! W1.0