Ich habe gerade einfach mal eine Infoseite in mein phpBB3 intigieren wollen und habe einfach 2 dateien hinzugefügt:
/welcome.php (abgeleitet von faq.php)
Code: Alles auswählen
<?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);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
page_header($l_title);
$template->set_filenames(array(
'body' => 'welcome_body.htm')
);
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>
Code: Alles auswählen
<!-- INCLUDE overall_header.html -->
<div id="pagecontent">
<!-- Content wegen "Keine Werbung" entfernt! -->
</div>
<!-- INCLUDE breadcrumbs.html -->
<!-- INCLUDE overall_footer.html -->
phpBB Version: 3.0.1
Style: subsilver2
mfg Alex59