环境:ECSHOP2.7.3+DISCUZ X3.2+UCENTER1.6
文件路径:/bbs/source/class/class_member.php
在LINE924行处, 将$extra代码改为:
$ucsynlogin = $this->setting['allowsynlogin'] ? uc_user_synlogin($_G['uid']) : '';
$extra = array(
'showid' => 'succeedmessage',
'extrajs' => '<script type="text/javascript">'.
'setTimeout("window.location.href =\''.$href.'\';", '.$refreshtime.');'.
'$(\'succeedmessage_href\').href = \''.$href.'\';'.
'$(\'main_message\').style.display = \'none\';'.
'$(\'main_succeed\').style.display = \'\';'.
'$(\'succeedlocation\').innerHTML = \''.lang('message', $locationmessage).'\';'.
<span style="white-space:pre"> </span>'</script>'.$ucsynlogin,
'striptags' => false,
);