联系官方销售客服
1835022288
028-61286886
插件 | 用户系统 V2.17 |
应用作者 | 迅睿官方团队 |
发布时间 | 2021-08-23 15:54:58 |
更新时间 | 2024-10-18 11:03:41 |
会员中心,调用自定义字段和用户组,不显示内容。
后台用户自定义段:
部门->bumen
身份->dengji
<li class="list-group-item text-right"> <span class="pull-left"><strong>身份</strong></span> {$member.group} </li> <li class="list-group-item text-right"> <span class="pull-left"><strong>部门</strong></span> {$member.bumen} </li> <li class="list-group-item text-right"> <span class="pull-left"><strong>身份</strong></span> {$member.dengji} </li>
/index.php?s=member
/www/wwwroot/work_modeng/template/pc/guild/member/index.html
会员 - 自定义字段(没有说明是什么字段类别)
<div class="col-xs-12 col-sm-4 text-center"> <ul class="list-group"> <li class="list-group-item text-center"> <a href="{dr_member_url('account/avatar')}"> <img src="{$member.avatar}" alt="{$member.name}" class="img-circle img-responsive img-profile"> </a> </li> <li class="list-group-item text-right"> <span class="pull-left"> <strong>入职</strong> </span>{php echo round(((SYS_TIME - $t['_regtime']))/1000/3600/24);}天</li> <li class="list-group-item text-right"> <span class="pull-left"> <strong>身份</strong> </span>{$member.group}</li> <li class="list-group-item text-right"> <span class="pull-left"> <strong>部门</strong> </span>{$member.ssbm}</li> <li class="list-group-item text-right"> <span class="pull-left"> <strong>等级</strong> </span>{$member.dengji}</li> </ul> </div>
判断值:{if $member['dengji'] == "填写值"} 表示条件成功 {/if}
选择的名称:{php $field = dr_field_options(79);} {$field[$member['dengji']]}没有任何显示