MOD Title: Blank Page Mod
MOD Version: BETA 1.0.1
Author: Gamemaniak
MOD Description: Met deze mod is het mogelijk een extra pagina te creëren
phpBB Version: 3.0.RC7
Jouwpagina.php
Code: Selecteer alles
<?php
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('viewforum'); //viewforum is you use the viewforum language file
// Output page
page_header($user->lang['INDEX']);
$template->set_filenames(array(
'body' => 'yourpage.html') //Change yourpage in the name you would like to use
);
page_footer();
?>
Code: Selecteer alles
<!-- INCLUDE overall_header.html -->
//Here you can place your stuff
<!-- INCLUDE overall_footer.html -->