久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线
Discuz! 官方交流社區(qū)
標題:
如何在帖子頁調(diào)用用戶組和拓展用戶組名稱
[打印本頁]
作者:
ipooqi
時間:
2024-3-14 18:40
標題:
如何在帖子頁調(diào)用用戶組和拓展用戶組名稱
我想在discuz3.5 這個版本的帖子內(nèi)容頁(viewthread),會員個人信息顯示區(qū)域顯示【會員積分】【會員用戶組】【會員擴展用戶組】這三樣,
目前添加了$post['extcredits1'] ,能夠調(diào)用到會員積分, 【會員用戶組】和【會員擴展用戶組】不知道如何寫調(diào)用代碼,麻煩指教下,謝謝
<div class="display pi<!--{if $post['first']}--> pione<!--{/if}-->" href="#replybtn_$post['pid']">
<ul class="authi">
<div class="avatar"><img src="<!--{if !$post['authorid'] || $post['anonymous']}--><!--{avatar(0, 'small', true)}--><!--{else}--><!--{avatar($post['authorid'], 'small', true)}--><!--{/if}-->" /></div>
<li class="mtit">
<span class="y">
總收入:<h>$post['extcredits1']</h><i>|</i>等級:<t>{$_G['group']['grouptitle']} / {$_G['group']['extgroupids']}</t>
</span>
<span class="z">
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
<a href="home.php?mod=space&uid=$post['authorid']">$post['author']</a>
<!--{else}-->
<!--{if !$post['authorid']}-->
<a href="javascript:;">{lang guest} <em>$post['useip']{if $post['port']}:$post['port']{/if}</em></a>
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
<!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post['authorid']">{$_G['setting']['anonymoustext']}</a><!--{else}-->{$_G['setting']['anonymoustext']}<!--{/if}-->
<!--{else}-->
$post['author'] <em>{lang member_deleted}</em>
<!--{/if}-->
<!--{/if}-->
</span>
</li>
復(fù)制代碼
作者:
9527
時間:
2024-3-15 08:13
[groupterms] => 公共用戶組
[groupid] => 用戶組ID
[groupexpiry] => 用戶組有效期
[extgroupids] => 擴展用戶組
[authortitle] => 用戶組名
[groupicon] => 用戶組圖標
歡迎光臨 Discuz! 官方交流社區(qū) (http://www.9999xn.com/)
Powered by Discuz! W1.0