PHPBB Install 1.2.4
PHPBB Install 1.2.4
v1.2.4
1
Index
1. Before installing............................................................................................................ 3
2. Installing the phpBB component...................................................................................... 4
2.1.Unzip package......................................................................................................... 4
2.2.Upload phpBB component......................................................................................... 4
2.3.Install phpBB component.......................................................................................... 5
2.3.1.Unpack zip package........................................................................................... 5
2.3.2.Create database................................................................................................ 5
2.3.3.Create basic configuration.................................................................................. 6
2.3.4.Installation succesfull......................................................................................... 6
2.4.Install phpBB login module........................................................................................ 7
2.5.Publish phpBB login module....................................................................................... 7
2.6.Create menu item.................................................................................................... 8
3. Importing an existing phpBB forum.................................................................................. 9
3.1.Unzip package......................................................................................................... 9
3.2.Upload phpBB component......................................................................................... 9
3.3.Install phpBB component......................................................................................... 10
3.3.1.Unpack zip package......................................................................................... 10
3.3.2.Create database.............................................................................................. 10
3.3.3.Create basic configuration................................................................................. 10
3.4.Installation succesfull.......................................................................................... 11
3.5.Install phpBB login module...................................................................................... 11
3.6.Publish phpBB login module..................................................................................... 12
3.7.Create menu item.................................................................................................. 12
3.8.Upgrade database to component version.................................................................... 13
3.9.Import phpbb users................................................................................................ 13
4. Upgrading................................................................................................................... 15
4.1.Upgrade from phpBB component 1.2.4 RC1 to 1.2.4 RC2............................................. 15
4.2.Upgrade from phpBB component 1.2.3 to 1.2.4.......................................................... 15
4.3.Upgrade from phpBB component 1.x to 1.2.3............................................................. 15
5. Common questions....................................................................................................... 16
5.1. Installing new templates........................................................................................ 16
5.2. Adding a language................................................................................................. 18
5.3. Running this component outside mambo................................................................... 19
5.4. Installed mods...................................................................................................... 19
5.5. How can i stay updated?......................................................................................... 20
5.6. Internal server errors............................................................................................. 20
5.7. Support............................................................................................................... 20
2
1. Before installing
This component will add a phpBB forum to your mambo site. Users will have to register through
the phpBB forum, and will be inserted into mambo as well.
Within mambo you will be able to change userrights as you were used to, but the add users
function in mambo can't be used. If you wish to add users, you'll have to register them though the
phpBB registration form.
3
2. Installing the phpBB component
2.1.Unzip package
Unzip the phpbbb_component1.2.4 package locally so you can see which files are in it.
The login modules are in the modules directory. The SQL directory provides the update sql queries
when you are upgrading from a previous version of this component.
If you are unable to use this function due to server limits or safe_mode issues. Please use the
install from directory option. You can read more about this in the mambo manual.
4
2.3.Install phpBB component
The first step in the installation wizard is the step where mambo tries to extract the zip file that
contains all forum files.
You will need the Zlib library for this, but since you were able to install this component, your
shouldn't be too concerned about this.
2.3.2.Create database
Here you'll have the choice to create a new phpBB database, or to import an existing phpBB
database.
Alter the table prefix if you want to run more than one phpbb installation in one table.
Since this part of the manual is for a new installation, choose the “Create Database” button.
5
Confirm that you are creating a new database.
When mambo finishes creating the tables, it will export all existing mambo users to phpBB so that
the merge will be complete.
Leave the box checked if you wish to run phpBB inside mambo (with the mambo template around
it) or uncheck the box if you want it to open in a new window.
2.3.4.Installation succesfull
At this moment, the component installation is finished. The phpBB configuration mentioned in the
popup is the phpBB configuration in the admin panel. You can find a link to the admin area on the
bottom of every forum page when you are signed in with a user that has administrator rights.
6
2.4.Install phpBB login module
If you've chosen to run phpBB inside mambo select the phpbb_login.zip, if you want to run phpbb
outside phpbb then choose the phpbb_login_nw.zip
Go into the "Manage Modules" option, and unpublish the default login module. Publish the phpbb
login module.
7
2.6.Create menu item
Now head into the menu manager, and create a new menu item.
If you've chosen to run phpBB inside mambo, create a MOS Component link, if you wish to run it
outside mambo, create a URL link menu item. The url to link to will have to be
http://www.mysite.ext/index2.php?option=com_forum
Don't forget to
publish the menu
item when you're
done.
8
3. Importing an existing phpBB forum
It's important that no database related mods have been installed. I won't be able to give support
when you have mods installed.
Make sure your phpBB and mambo tables are in the same database.
Always make a backup before doing this!
3.1.Unzip package
Unzip the phpbbb_component1.2.4 package locally so you can see which files are in it.
The login modules are in the modules directory. The SQL directory provides the update sql queries
when you are upgrading from a previous version of this component.
When mambo finishes the upload, it tells you upload has been succesfull
If you are unable to use this function due to server limits or safe_mode issues. Please use the
install from directory option. You can read more about this in the mambo manual.
9
3.3.Install phpBB component
After clicking the install link from the previous screen you will enter the installation wizard.
The first step in the installation wizard is the step where mambo tries to extract the zip file that
contains all forum files.
You will need the Zlib library for this, but since you were able to install this component, your
shouldn't be too concerned about this.
3.3.2.Create database
Here you'll have the choice to create a new phpBB database, or to import an existing phpBB
database.
Since this part of the manual is about importing an existing database, choose the “Import phpbb
posts and users” button.
10
When mambo finishes creating the tables, it will export all existing mambo users to phpBB so that
the merge will be complete.
Leave the box checked if you wish to run phpBB inside mambo (with the mambo template around
it) or uncheck the box if you want it to open in a new window.
3.4.Installation succesfull
At this moment, the component installation is finished. The phpBB configuration mentioned in the
popup is the phpBB configuration in the admin panel. You can find a link to the admin area on the
bottom of every forum page when you are signed in with a user that has administrator rights.
If you've chosen to run phpBB inside mambo select the phpbb_login.zip, if you want to run phpbb
outside phpbb then choose the phpbb_login_nw.zip
11
3.6.Publish phpBB login module
Go into the "Manage modules" item, and unpublish the default login menu. Publish the phpbb
module.
Now head into the menu manager, and create a new menu item.
If you've chosen to run phpBB inside mambo, create a MOS Component menu item, if you wish to
run it outside mambo, create a URL link menu item. The url to link to will have to be
http://www.mysite.ext/index2.php?option=com_forum
12
Select the phpBB Component, give it a name.
Accesslevel MUST be public if you want other people to be able to register at your site.
If you allready have the attachment_mod installed, remove everything between line 65 and 178
from the "upgrade_phpbb2.0.x_to_component1.2.3.sql".
Run the file "upgrade_phpbb2.0.x_to_component1.2.3.sql" that came with the package though
phpMyAdmin or any other mySQL tool.
(and no, this is not a type, there were no database changes between 1.2.3. and 1.2.4)
13
Read it carefully and if you want to continue, click “Click here to continue” to continue.
The script will begin importing all users and will create a list of all users that have been imported
with the userlevel behind it.
If no errors appear, user conversion has been successfull. If you get any errors in this step. Please
report them at my forum.
14
4. Upgrading
15
5. Common questions
I can't really tell which files i've edited since it was quite a while ago.
I can provide a list of edited and added files. With a program like Winmerge you'll be able to
compare those files agains the original.
Added files:
16
Changed files:
You will also have to remove the <html> and <body> tags from overall_header.tpl and
overall_footer.tpl. If you don't do this, you will have them double in your page, 1 time from
mambo, one time from phpbb.
If you managed to convert a template, you could post your package at the section dedicated to
this:
http://www.tim-online.nl/redirect.php?custom_mt
17
5.2. Adding a language
If you want to add a language to this component, you'll have to change the files a bit.
Added files:
Changed files:
lang_admin.php:
// FLAGHACK-start
$lang['Flags'] = 'Flags';
// FLAGHACK-end
// FLAGHACK-start
//
// Flags admin
//
$lang['Flags_title'] = 'Flag Administration';
$lang['Flags_explain'] = 'Using this form you can add, edit, view and delete flags. You can also
create custom flags which can be applied to a user via the user management facility';
18
$lang['Click_return_flagadmin'] = 'Click %sHere%s to return to Flag Administration';
// FLAGHACK-end
lang_main.php
// FLAGHACK-start
$lang['Country_Flag'] = 'Country Flag';
$lang['Select_Country'] = 'SELECT COUNTRY' ;
// FLAGHACK-end
If you want to change the way phpBB is related to mambo (inside the layout or outside) you can
change this value in /components/com_forum/config.php
– attachment mod
– global announcement mod
– country flags mod
19
5.5. How can i stay updated?
http://www.tim-online.nl/redirect.php?phpbb_mailing
if this doesn't fix your problems, try CHMOD-ing the /components/com_forum/admin/ directory to
755.
5.7. Support
You can get support by posting at our forum. In this way, your question will also help others with
the same question.
Our forum can be found at:
http://www.tim-online.nl/redirect.php?forum
20