DISCUZ!X3.1如何去掉注册时填的邮箱?

DISCUZ!X3.1如何去掉注册时填的邮箱?,第1张

首先在后台--全局--注册与访问--注册-"取消注册邮箱必填"选择是提交

然后编辑

template\default\member\registerhtm    

   

删除以下代码即可,如果没改过这个文件,是151-159行。

                                                         <div class="rfm">
                                                                 <table> 
                                                                         <tr>    
                                                                                 <th><!--{if !$_G['setting']['forgeemail']}--><span class="rq"></span><!--{/if}--><label for="{$this->sett
    ing['reginput']['email']}">{lang email}:</label></th>                           
                                                                                 <td><input type="text" id="{$this->setting['reginput']['email']}" name="" autocomplete="off" size="25" tab
    index="1" class="px" value="$hash[0]" {if !$_G['setting']['forgeemail']}required{/if} /><br /><em id="emailmore">&nbsp;</em></td>
                                                                                 <td class="tipcol"><i id="tip_{$this->setting['reginput']['email']}" class="p_tip">{lang register_email_ti
    ps}</i><kbd id="chk_{$this->setting['reginput']['email']}" class="p_chk"></kbd></td>
                                                                         </tr>
                                                                 </table>
                                                         </div>

希望DZ动力能够帮到你

DABAN RP主题是一个优秀的主题,极致后台体验,无插件,集成会员系统
网站模板库 » DISCUZ!X3.1如何去掉注册时填的邮箱?

0条评论

发表评论

提供最优质的资源集合

立即查看 了解详情