织梦会员中心限制必须通过邮件验证后方可进入,没验证成功的一律禁止进去会员中心操作任何动作




- 教程
打开/member/config.php 找到,大概在109行
$myurl = $cfg_memberurl
在它上面加入
//必须邮件验证方可登陆成功if($cfg_mb_spacesta == '-10'){if($cfg_ml->M_Spacesta == '-10' && $fmdo != 'sendMail' && $fmdo != 'checkMail'){$msg="您尚未进行邮件验证,请到邮箱查阅...</br>重新发送邮件验证 <a href='{$cfg_cmspath}/member/index_do.php?fmdo=sendMail'><font color='red'>点击此处</font></a>";ShowMsg($msg,"{$cfg_cmspath}/",0,10000);exit();}}
- 图解
