久久久久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文件,有的話改第三方模板文件)
<div class="auth cl">
<cite class="xg1 y">
{lang like}: <!--{if $thread[recommends]}-->$thread[recommends]<!--{else}-->0<!--{/if}-->
{lang reply}: <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" title="$thread[replies] {lang reply}">$thread[replies]</a>
</cite>
<!--{hook/forumdisplay_author $key}-->
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread[authorid]">$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
<!--{else}-->
$_G[setting][anonymoustext]
<!--{/if}-->
</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