通行证
4.修改pp_dederemote_interface.php,在下载安装包中, 1)cookie密码 CODE: $cfg_cookie_encode = "RfGZu6711L"; //这里请填写DedeCms系统的cookie加密码 2)域标识 CODE: $domain = ""; 注:如果本地机为空,否则放域名,不带www,如:fs119.net 3) CODE: $DedeAPI_Url = "http://你的域名/member/passport/pp_dederemote.php"; 注:一定要修改这个,安装包里是http://localhost/,如果不修改,则出现远程通信错误,如为本机,则可以不动 4.操作后跳转地址 CODE: $cfg_loginJumpUrl = "/member/index.php"; //登录成功后跳转的网址 (空按第三方系统默认) $cfg_regJumpUrl = "/member/index.php"; //注册成功后跳转的网址 (空按第三方系统默认) 看需要设置,没关系的 5.将api的四个文件上传到bbs目录下,一定要上传,老柏加了代码进去了,具体大家打开比较 6.修改首页登陆模板代码,替换成以下: CODE: <form name='form1' method='POST' action='/bbs/logging.php?action=login'> <input type='hidden' name='jumpurl' value='/'> <input type='hidden' name='step' value=2> <input type='hidden' name=cookietime value='31536000'> <tr> <td height="28"> </td> <td width="30%">用户名:</td> <td width="63%"><input type="text" name="username" style="width:120px;height:20px;border:1px solid #cccccc"></td> </tr> <tr> <td height="28"></td> <td>密 码:</td> <td><input type="password" name="password" style="width:120px;height:20px;border:1px solid #cccccc"></td> </tr> <tr> <td width="4%" height="57"> </td> <td height="57" colspan="2" align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
新闻热点
疑难解答