Typically, Ucenter is used as a mediator, adding multiple applications and then allowing multiple sites to have a synchronous logon Exit function.
Ucenter Add the application is not difficult, Destoon official web also has related tutorials.
But a lot of friends in several applications after the completion of the registration of an account test, the problem appears, after registration, registration page did not jump, there is no hint, but this member is registered successfully. Why didn't you jump?
The breakpoint test found that this is because in line 83rd of Destoon's api/ucenter/control/user.php file, a function that writes the DSCUZ system database is executed by default: function Onregbbs (). This function is to add a registration information to the DZ Forum. There is a section of code in the Destoon registration information Processing file module/member/register.inc.php (about 125 lines) found in the Registration submission page
if ($MOD [' passport '] = = ' UC ') {
$uid = Uc_user_register ($passport, $post [' Password '], $post [' email ']);
if ($uid > 0 && $MOD [' Uc_bbs ']) Uc_user_regbbs ($uid, $passport, $post [' Password '], $post [' email ']);
}
Directly mask the second statement:
if ($uid > 0 && $MOD [' Uc_bbs ']) Uc_user_regbbs ($uid, $passport, $post [' Password '], $post [' email ']);
The problem is solved.