Demo

討論

保持飢餓,保持愚笨 (Stay hungry, stay foolish)。 史蒂夫·賈伯斯

公告

本網站已取消討論區的討論方式,如果您有問題請至LINE群行動條碼圖片網址,或Facebook社團

在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3

  • brightman
  • brightman 的個人頭像 Topic Author
  • Offline
  • 專家會員
  • 專家會員
More
2008-07-18 00:50 #10618 來自 brightman
brightman created the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
假設您已安裝完成 phpBB3 而資料夾名稱也設定為 phpBB3

一.下載橋接器 rokbridge-RC5b2_erst_entpacken.zip
http://www.rocketwerx.com/products/rokbridge/downloads

解壓 rokbridge-RC5b2_erst_entpacken.zip
得到以下四個檔案:
joomla15-bridge
手動安裝
phpBB3-authentication
手動安裝
joomla15-authentication
後台安裝
joomla15-user
後台安裝

二.手動安裝:
joomla15-bridge 解壓得到 forum 資料夾,直接上傳到主機根目錄 /var/www/html/forum
phpBB3-authentication 解壓得到 includes 資料夾, 將裡面的檔案 auth_joomla.php 上傳到 phpBB3 目錄
/var/www/html/phpBB3/includes/auth/auth_joomla.php

三.後台安裝plugin
joomla15-authentication
joomla15-user

plugin 安裝完成後點選啟動

四.修改 forum/configuration.php
15行
var $phpbb_path = 'distribution';
改為
var $phpbb_path = 'phpBB3'; ---->您安裝的 phpBB3 資料夾名稱,您也可以改成其他名稱

五.修改 plugin/user/phpbb3.php 336行
$where = "login_name='" . $username . "'";
改為
$where = "username_clean='" . $username . "'";

六.修改 plugin/authentication/phpbb3.php 93行
."\n WHERE login_name = ". $db->Quote($credentials['username']);
改為
."\n WHERE username_clean = ". $db->Quote($credentials['username']);

七.登入 phpBB3 管理員控制台 (ACP) 一般 / 認證設定 --->設定為 joomla

完成

如下測試皆成功:
* 在 phpbb 登入, 在 phpbb 登出
* 在 phpbb 登入, 在 joomla 登出
* 在 joomla 登入, 在 phpbb 登出
* 在 joomla 登入, 在 joomla 登出
* 在 phpbb 註冊新會員

Please 登入 to join the conversation.

  • brightman
  • brightman 的個人頭像 Topic Author
  • Offline
  • 專家會員
  • 專家會員
More
2008-07-31 12:09 #10717 來自 brightman
brightman replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
使用到目前為止都正常
在 joomla! 註冊在 phpBB3 能登入登出
在 phpBB3 註冊在 joomla! 能登入登出
原在 joomla! 已註冊的在 phpBB3 一樣能登入登出
用 IE 7 在 joomla! 註冊在 phpBB3 能登入登出
用 IE 7 在 phpBB3 註冊在 joomla! 能登入登出
用 Firefox 在 joomla! 註冊在 phpBB3 能登入登出
用 Firefox 在 phpBB3 註冊在 joomla! 能登入登出
資料庫是分開的
>上篇未提及
我是使用 Linux Server
不知 Window Server 是否能運作正常 ?

Please 登入 to join the conversation.

  • Brent
  • Brent 的個人頭像
  • 訪客
  • 訪客
2008-08-01 02:24 #10729 來自 Brent
Brent replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
非常感謝你的說明,但可否說明一下phpBB 3使用的版本?是最新的phpBB 3.0.2還是舊的phpBB 3.0.1?感謝。 :grin:

Please 登入 to join the conversation.

  • brightman
  • brightman 的個人頭像 Topic Author
  • Offline
  • 專家會員
  • 專家會員
More
2008-08-01 09:18 #10730 來自 brightman
brightman replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
目前 phpBB3 我使用的版本是最新的 3.0.2
您如果是用 3.0.1 您可先升級再做橋接
升級請參考:
http://phpbb-tw.net/phpbb/viewtopic.php?f=116&t=51043

Please 登入 to join the conversation.

  • brightman
  • brightman 的個人頭像 Topic Author
  • Offline
  • 專家會員
  • 專家會員
More
2008-08-02 21:27 #10743 來自 brightman
brightman replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
升級到 joomla 1.5.5 stable 使用 rokbridge-RC5b2 橋接 phpBB3 測試結果:
在 joomla! 使用 firefox & IE7 登入登出註冊皆正常
在 phpBB3 使用 firefox & IE7 登入登出註冊皆正常
joomla & phpBB3 交叉登入登出註冊及刪除會員也皆正常

Please 登入 to join the conversation.

  • master3866
  • master3866 的個人頭像
  • 訪客
  • 訪客
2008-08-04 22:26 #10761 來自 master3866
master3866 replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3

brightman 寫了道:: 使用到目前為止都正常
在 joomla! 註冊在 phpBB3 能登入登出
在 phpBB3 註冊在 joomla! 能登入登出
原在 joomla! 已註冊的在 phpBB3 一樣能登入登出
用 IE 7 在 joomla! 註冊在 phpBB3 能登入登出
用 IE 7 在 phpBB3 註冊在 joomla! 能登入登出
用 Firefox 在 joomla! 註冊在 phpBB3 能登入登出
用 Firefox 在 phpBB3 註冊在 joomla! 能登入登出
資料庫是分開的


>上篇未提及
我是使用 Linux Server
不知 Window Server 是否能運作正常 ?


請問:
1.資料庫可以合用嗎 0.o? 還是一定要分開 0.o?
2.為什麼資料庫是分開的,卻可以個別的登入登出呢 0.o? 是因為有「橋接」的關係嗎 0.o?

因為我完全不懂,所以會問這個問題!(希望不是很白的問題 0.0" )

謝謝! m(_ _)m

Please 登入 to join the conversation.

  • brightman
  • brightman 的個人頭像 Topic Author
  • Offline
  • 專家會員
  • 專家會員
More
2008-08-04 23:35 #10762 來自 brightman
brightman replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3

master3866 寫了道:: 請問:
1.資料庫可以合用嗎 0.o? 還是一定要分開 0.o?
2.為什麼資料庫是分開的,卻可以個別的登入登出呢 0.o? 是因為有「橋接」的關係嗎 0.o?

因為我完全不懂,所以會問這個問題!(希望不是很白的問題 0.0" )

謝謝! m(_ _)m

目前我資料庫是joomla! phpBB3各自分開的,且運作都正常,這應該是橋接的關係沒錯.
至於能不能合併使用,這一點我並沒有測試過.
我認為目前資料庫分開應該比較理想吧! 畢竟兩者整合都還沒有達到像 FireBoard 那種支援程度,且不斷的在開發更新中,
以後兩者會走到什麼程度變數仍多,但是最重要的就是 phpBB3 有一群維護正體中文且經驗豐富的管理者在努力著, joomla! 與 phpBB3
互相搭配我認為是最好不過啦!

Please 登入 to join the conversation.

  • iamfunnyqueen
  • iamfunnyqueen 的個人頭像
  • 訪客
  • 訪客
2008-08-05 15:12 #10775 來自 iamfunnyqueen
iamfunnyqueen replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
我想請問一下要在phpbb3放一個連結連結到[網站首頁]要在那裡設置呢?

Please 登入 to join the conversation.

  • brightman
  • brightman 的個人頭像 Topic Author
  • Offline
  • 專家會員
  • 專家會員
More
2008-08-05 23:50 #10780 來自 brightman
brightman replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
以 prosilver 樣版為例 ~
phpBB3/styles/prosilver/template/overall_header.html 及 overall_footer.html 修改需要到管理員控制台 (ACP)後台設定
ACP>風格> 樣板 > prosilver > 編輯 >選 overall_header.html 及 overall_footer.html 檔案

overall_header.html :
125行 <ul class="linklist navlinks">在此加上
<li class="icon-home"> 網站首頁

overall_footer.html :
8行 <ul class="linklist">在此加上
<li class="icon-home"> 網站首頁

並於修改後至管理員控制台 (ACP) -->風格 -->樣版-->對您已啟用的樣版 prosilver 按重新整理
---> 完成回首頁之設定 <---

不過最好的處理方式請參考:
http://www.joomla.org.tw/phpbb3/viewtopic.php?f=26&t=3399

Please 登入 to join the conversation.

  • Brent
  • Brent 的個人頭像
  • 訪客
  • 訪客
2008-08-06 08:17 - 2008-08-06 09:21 #10782 來自 Brent
Brent replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
我來報告一下我遇到的安裝問題,最主要的問題是把forum解開壓縮以後,把檔案複製到 /joomla/ 目錄裡面,拼命的往 /install/ 目錄跑!
就算要重裝 Joolmla 也應該是往 /joomla/installation/ 裡面跑才對啊~拼命往不存在的 /installation/ 跑幹嘛?
只好去爬一下該作者的說明:

http://www.rocketwerx.com/products/rokb ... stallation

phpBB3 MUST be installed inside the Joomla! directory structure. For example if you have Joomla! installed at /public_html/joomla/ you should install the forum in a directory such as /public_html/joomla/distribution/.
The folder name "distribution" can be changed, but the default value is already set as "distribution" in the bridge configuration.
Point your web browser to http://www.mysite.com/joomla/distribution/install where the phpBB3 web based installer will guide you through the rest of the installation.


搞半天 phpBB3 要放在 /joomla/ 底下,變成 /joomla/phpbb3/ 這樣的路徑。但問題是我的 Joomla 不是放在網站的根目錄,而是放在 /joomla/,直接跑去 /installation/ 幹嘛?怪了,這到底是要執行哪種安裝?Joomla的?還是 phpBB3 的? :faint:
另外,我的 phpBB3 也不是放在 Joomla 裡面、旁邊、附近,而是放在另外一台伺服器主機上!要呼叫 phpBB3 頂多只能靠【網路上的芳鄰】或是SAMBA這種東東連結過去,我猜想這個橋接程式大概也辦不到... :sigh:

簡單的說,這是我目前的網站首頁:

http://www.bnw.com.tw/bnw/

這是討論區:

http://bbs.bnw.com.tw/conference/

將來要置換 Joomla 的也是首頁目前這個XOOPS系統,路徑相同,都是 /bnw/。我不太喜歡把系統放在根目錄,以免造成搬移位置的困擾。
但這個橋接程式,不去我安裝 Joomla 系統的 /bnw/ 裡面跑,只要打開 http://www.bnw.com.tw/bnw/ 就給我跑去 http://www.bnw.com.tw/installation/ 這就好笑了~那裡啥都沒有,怎麼可能安裝成功? :cryno:

我檢查一下,發現問題應該是出在 /include/ 裡面的幾個檔案,但不知道是哪個地方出了問題?總之,不但不能安裝,甚至整個 Joomla 網頁都無法開啟!還好我有事先備份檔案,要不然這下就無法還原了!唉~

另外很爆笑的是, rokbridge-RC5b2 提供的檔案明明就是用 Windows 寫的,換行方式與 UNIX 完全不同,卻用 Linux 的 .tar.gz 壓縮,卻不用 .zip 壓縮,不知道在搞什麼... Orz

該作者有提供一個 .htaccess,不用還好,把檔案放在 /joomla/ 目錄裡,只會看到 internet server error,HTTP 500 的嚴重錯誤,猜想該檔案也是僅供參考,不能直接用。但上面的安裝說明,啥都沒寫,只寫了一句話:

- htaccess.txt : contains sample htaccess file for SEF and redirect direct forum access

這是要重新導向到哪? Orz
最後修改原因: 2008-08-06 09:21 來自 .

Please 登入 to join the conversation.

  • Tyler
  • Tyler 的個人頭像
  • 訪客
  • 訪客
2008-08-06 09:19 #10783 來自 Tyler
Tyler replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
最近需要這類的教程,
謝謝分享如此詳細的教程啊,
謝謝! :love:

Please 登入 to join the conversation.

  • brightman
  • brightman 的個人頭像 Topic Author
  • Offline
  • 專家會員
  • 專家會員
More
2008-08-06 10:15 #10784 來自 brightman
brightman replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
Brent 兄: 看了您的發文才知道您經歷了那麼大的苦難! :o
您提到您的首頁路徑是:
http://www.bnw.com.tw/bnw/
那麼我建議您的 phpBB3 路徑應該是:
http://www.bnw.com.tw/bnw/phpBB3
第一次安裝phpBB3的路徑應該是:
http://www.bnw.com.tw/bnw/phpBB3/install
例如:
joomla!台灣的首頁是:
http://www.joomla.org.tw/
那麼joomla!台灣的 phpBB3 路徑應該是:
<!-- l --><a class="postlink-local" href="http://www.joomla.org.tw/phpbb3/"> http://www.joomla.org.tw/phpbb3/ <!-- l -->
路徑對了安裝才能順利
還好您有做備份總算有驚無險!

Please 登入 to join the conversation.

  • brightman
  • brightman 的個人頭像 Topic Author
  • Offline
  • 專家會員
  • 專家會員
More
2008-08-06 10:27 #10785 來自 brightman
brightman replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
更正上篇發文錯誤:

以 prosilver 樣版為例 ~
phpBB3/styles/prosilver/template/overall_header.html 及 overall_footer.html 修改需要到管理員控制台 (ACP)後台設定
ACP>風格> 樣板 > prosilver > 編輯 >選 overall_header.html 及 overall_footer.html 檔案

overall_header.html :
125行 <ul class="linklist navlinks">在此加上
<li class="icon-home">[url=http://主站網址/]網站首頁[/url]

overall_footer.html :
8行 <ul class="linklist">在此加上
<li class="icon-home">[url=http://主站網址/]網站首頁[/url]

並於修改後至管理員控制台 (ACP) -->風格 -->樣版-->對您已啟用的樣版 prosilver 按重新整理
---> 完成回首頁之設定 <---

不過最好的處理方式請參考:
<!-- l --><a class="postlink-local" href="http://www.joomla.org.tw/phpbb3/viewtopic.php?f=26&t=3399">viewtopic.php?f=26&t=3399<!-- l -->

Please 登入 to join the conversation.

  • Brent
  • Brent 的個人頭像
  • 訪客
  • 訪客
2008-08-06 16:16 #10788 來自 Brent
Brent replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3

brightman 寫了道:: Brent 兄: 看了您的發文才知道您經歷了那麼大的苦難! :o


哪裡~感謝 brightman 兄,我猜想橋接的程式碼可能寫得不夠完善,沒有依照他的邏輯就裝不起來...
由於我們的 phpBB3 已經是運作了4年的討論區,不可能重新安裝,如果非要重新安裝增加橋接程式所須的新資料表才能使用,那就沒辦法整合了。
另外我在這篇問的問題,大概也同樣也無解...

請問Joomla台灣是使用哪個模組來整合phpBB3? <!-- l --><a class="postlink-local" href="http://www.joomla.org.tw/phpbb3/viewtopic.php?f=39&t=3355&p=10706">viewtopic.php?f=39&t=3355&p=10706<!-- l -->

改用Jfusion 1.07alpha情況比舊版還慘,不但兩邊各自獨立,而且 Joomla 還無法登入!
看樣子要安裝成功,同樣得依照這個模組的邏輯,否則也是白忙一場... Orz

Please 登入 to join the conversation.

  • master3866
  • master3866 的個人頭像
  • 訪客
  • 訪客
2008-08-06 16:51 #10789 來自 master3866
master3866 replied the topic: 在 joomla 1.5.4 使用 rokbridge-RC5b2 橋接 phpBB3
啊!這個討論串實在是太有價值了!
讓我這個完全不懂程式的人,也有一個依循的範本。
實在是很想感緊去租一個虛擬主機來實際試試看!

Please 登入 to join the conversation.