如果論壇不唯一郵箱太多,又不能挨個修改,只能通過程序解決,防止修改的密碼的時候報錯。具體修改如下:
找到:
$ucresult = uc_user_edit($discuz_user, $oldpassword, $newpassword, $emailnew, 0, $questionidnew, $answernew);
在上面增加
if($emailnew==$member[email]){$emailnew="";$emailnew1=$member[email];}else{$emailnew1=$emailnew;}
找到:
if($regverify == 1 && $adminid == 0 && $emailnew != $email && (($grouptype == 'member' && $adminid == 0) || $groupid == 8)) {
將其中的
$emailnew改為$emailnew1