记事狗整合ucenter修改步骤
1.注册时修改 \modules\member.mod.php,
修改处代码
复制代码 代码如下:
$this->Messager(null,’index.php?mod=member&code=step1′,0);
//将null修改成$message,即输出同步登录UC代码
$message[]=”您已经注册成功,现在系统将在10秒后自动为您转入<A HREF=’index.php?mod=profile&code=face’>设置个人资料和头像的页面</A>。”;
$message[]=”或者<A HREF=’{$referer}’ target=_blank>点此在新窗口中访问刚才的页面</A>。”;
$this->Messager($message,’index.php?mod=profile&code=face’,10);
2.修改upload\api\uc.php
复制代码 代码如下:
修改方法function synlogin($get, $post) {
{
If{
}
Else{
添加免激活代码,源代码看文件
}
}
Hi, this is a comment. To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard. Commenter avatars come from Gravatar.