通行證
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">
新聞熱點
疑難解答