History of phpBB Edits
Version 5
This is the current phpBB 2.0.6 edits required for user integration to TikiPro. Remeber to make a backup of everything before you start editing!
Files: That need to be created and/or edited.
- ./common.php
- ./tiki_setup_inc.php #Needs to be created!
- ./admin/schema_inc.php
- ./includes/sessions.php
- ./templates/menu_phpbb_admin.tpl
- ./templates/tiki_phpbb.tpl #Needs to be created!
In ./common.php:
Find:
{CODE(colors=>'php')}$board_config = array();
$userdata = array();
$theme = array();
$images = array();
$lang = array();
$gen_simple_header = FALSE;{CODE}
Add After:
{CODE(colors=>'php')}// {{{ TIKI_MOD
if( file_exists( $phpbb_root_path . 'config.'.$phpEx ) ) {
include($phpbb_root_path . 'config.'.$phpEx);
}
if( !defined("PHPBB_INSTALLED") )
{
header("Location: install/install.$phpEx");
exit;
}
require_once( $phpbb_root_path.'/../tiki_setup_inc.php' );
//phpBB is not as clean as tiki. errors only
error_reporting ( E_ALL & ~E_NOTICE );
// }}} TIKI_MOD{CODE}
Save and upload the file.
Create a new file called tiki_setup_inc.php in your phpBB root folder.
Add this into the file:
{CODE(colors=>'php')}{CODE}