參考Dedecms整合Discuz完全攻略實現最新的結合_dedecms

來源:互聯網
上載者:User
安裝目錄如下:
1.dede安裝在首頁目錄,即可用 127.0.0.1訪問
2.phpwind 5.3(以下簡稱pw)安裝bbs目錄,127.0.0.1/bbs訪問
3.都安裝在同一資料庫裡,dede_,PW_為首碼,以方便區分

安裝過程,
1.安裝dede,得到cookie密碼,如果不記得,也可以在通行證下看到,如我的:RfGZu6711L

2.安裝pw,通行證不需要任何設定
3.進入dede後台,啟用通行證,配置如圖,(注,我的機子名稱為ma1,你可把它改為你的網域名稱或者本機用127.0.0.1)
cookie
'700')this.width='700';" border=0>

通行證
'700')this.width='700';" border=0> 
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">
<tr>
<td width="100%" align="center">
<input type="submit" name="loginsubmit" value="登入">
        <input type="reset" name="reset" value="重設">
        <input type="button" value="註冊" onclick="javascript: this.form.action='bbs/register.php';this.form.submit();">
        <input type="button" value="遊客" onclick="javascript: this.form.action='bbs/index.php';this.form.submit();">

</td>
<td></td>
</tr>
</table></td>
</tr>
</form>


最後,按圖將原論壇使用者匯入dede


完成後,慢慢享受dede,pw帶來的方便,成功後,別忘了帶個IP給我
使用者匯入設定

'700')this.width='700';" border=0> 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.