Crei un file prova.php con questo contenuto:
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);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
page_header('prova pagina phpbb');
$template->set_filenames(array(
'body' => 'prova_body.html')
);
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>Nel template crei un file prova_body.html di questo tipo:
Codice: Seleziona tutto
<!-- INCLUDE overall_header.html -->
<div>Prova di funzionamento phpbb</div>
<!-- INCLUDE overall_footer.html -->Una pagina bianca può essere colpa di una semplice virgola.


