Cms技巧
分享创造价值 合作实现共赢

Cms技巧

当前位置: 首页 > 新闻动态 > Cms技巧

dz论坛QQ互联注册必填密码侯方法

发布时间:2019-12-16 11:17:16作者:admin点击:

修改文件:

source\module\member\member_connect.php

$ctl_obj->setting['ignorepassword'] = 1;
$ctl_obj->setting['checkuinlimit'] = 1;
$ctl_obj->setting['strongpw'] = 0;
$ctl_obj->setting['pwlength'] = 0;

修改成

$ctl_obj->setting['ignorepassword'] = 0;
$ctl_obj->setting['checkuinlimit'] = 0;
//$ctl_obj->setting['strongpw'] = 0;
//$ctl_obj->setting['pwlength'] = 0;

source/plugin/qqconnect/template|module.htm

$(‘{$_G['setting']['reginput']['password']}’).parentNode.parentNode.parentNode.parentNode.parentNode.style.display = ‘none’;
$(‘{$_G['setting']['reginput']['password']}’).required = 0;
$(‘{$_G['setting']['reginput']['password2']}’).parentNode.parentNode.parentNode.parentNode.parentNode.style.display = ‘none’;
$(‘{$_G['setting']['reginput']['password2']}’).required = 0;

修改成

//$(‘{$_G['setting']['reginput']['password']}’).parentNode.parentNode.parentNode.parentNode.parentNode.style.display = ‘none’;
//$(‘{$_G['setting']['reginput']['password']}’).required = 0;
//$(‘{$_G['setting']['reginput']['password2']}’).parentNode.parentNode.parentNode.parentNode.parentNode.style.display = ‘none’;
//$(‘{$_G['setting']['reginput']['password2']}’).required = 0;

TOP

QQ客服

18910140161