Home > Backend Development > PHP Tutorial > Solution to discuz email has been registered_PHP tutorial

Solution to discuz email has been registered_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 10:54:38
Original
1184 people have browsed it

If the forum has too many unique mailboxes and cannot modify them one by one, it can only be solved through a program to prevent errors when changing the password. The specific modifications are as follows:

Found:


$ucresult = uc_user_edit($discuz_user, $oldpassword, $newpassword, $emailnew, 0, $questionidnew, $answernew);

Add

above


if($emailnew==$member[email]){$emailnew="";$emailnew1=$member[email];}else{$emailnew1=$emailnew;}

Found:


if($regverify == 1 && $adminid == 0 && $emailnew != $email && (($grouptype == 'member' && $adminid == 0) || $groupid == 8)) {

Replace

$emailnew changed to $emailnew1

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632311.htmlTechArticleIf the forum has too many unique mailboxes and cannot modify them one by one, it can only be solved through a program to prevent the password from being changed. time error. The specific modifications are as follows: Found: $ucresult = uc_user_ed...
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php - discuz single sign-on problem
From 1970-01-01 08:00:00
0
0
0
How to install discuz in phpStudy
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template