## Title: phpBB3 - Joomla1.5 Bridge
## Author: IOsetting (N/A) http://www.phpbbchina.com
## Description:
## Integrate Joomla1.5 with phpBB3. Joomla becomes the add-on CMS of phpBB, share the user data.
## This bridge is for the already running forum -- Joomla will share the user data from phpBB
##
##
## Version: 1.2 - Build 20081108, for Joomla 1.5.7 and phpBB3.0.2
##
## New Features
## 1. Allow Joomla and phpBB being installed in different databases
## 2. Login/Logout sync from both sides
##
## Install: Easy
## Time: 10 Minutes
## Download Mirror 1 Mirror 2
##
## DEMO
#######################################################
Install:
Joomla and phpBB should be installed under the same space (same domain)
1. Install Joomla and phpBB(or use existing phpBB).
2. Copy <package>/libraries/phpbbtools to <joomla1.5 root>/libraries/phpbbtools
Open <joomla1.5 root>/libraries/phpbbtools/configuration.php, change the values according to your environment
- Code: Select all
var $dbhost = 'localhost'; // phpbb database server, localhost by default
var $dbport = '3306'; // phpbb database server port, 3306 by default
var $dbuser = 'root'; // database user name
var $dbpasswd = 'root'; // database user password
var $dbname = 'phpbb_db'; // phpbb database name
var $prefix = 'phpbb_'; // phpbb table prefix
3. Login joomla as admin, Install <package>/plugin/authentication.zip and user.zip
In Plugin management panel, enable Authentication - phpBB3 and User - phpbb3, disable Authentication - joomla and User - joomla
Open joomla front page, login joomla with a phpBB account. You can continue if it works. If error occurs please check the the setting in Step2. If you can not solve the problem, please reverse the operation in this step and stop, otherwise you won't be able to log into joomla any more.
Disable the registration from joomla: Global Configuration -> System -> Allow User Registration => No
4. Copy <package>/phpbb_files/includes/auth/auth_joomla_pbc.php to <phpbb3 root>/includes/auth/auth_joomla_pbc.php
Open auth_joomla_pbc.php, Find
- Code: Select all
define( 'JPATH_BASE', $phpbb_root_path.'/../joomla');
Replace the '../joomla' with the relative path of joomla. ( if joomla is installed under <root>/jos/ while phpbb installed under <root>/phb/, the relative path is '../jos')
Login phpbb ACP as admin, General -> Authentication, select joomla_pbc and submit
5. Test
Open 2 browsers, open joomla and phpbb in each.
Register a new phpbb account and login, refresh joomla in another browser, is the login status changed? Logout phpbb, and see if the joomla is logout too.
Login joomla, the refresh phpbb, see if you are logged, then logout joomla, refresh phpbb to see if you are logged out too.
The joomla style rhuk_milkyway for phpBB3.0.2 is also included in this package.
If you have any questions, please feel free to ask in the forum:
viewforum.php?f=4



