crea un file di nome prova_page.php con il seguente contenuto e lo metti nella root del Forum:
Codice: Seleziona tutto
<?php
/**
*
* @package phpBB3
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewtopic');
page_header('pagina di prova');
$template->set_filenames(array(
'body' => 'prova_page_body.html')
);
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>
Codice: Seleziona tutto
<!-- INCLUDE index_body.html -->
<br />
<!-- INCLUDE overall_footer.html -->Apri la pagina inserendo l'url http://tuo_dominio/tuo_forum/prova_page.php e vedi cosa esce.
Dovresti visualizzare una pagina con la tua testata, un corpo con un messaggio "Non sono presenti Forum" e il footer.
Se la pagina si vede bene i file overall_header.html, index_body.html e overall_footer.html sono a posto.
