

Code: Alles auswählen
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
$gen_simple_header = true;
$page_title = 'Mein Forum ohne Lycos-Werbeframe';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
'body' => 'start.tpl')
);
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Wieso? Dann kommt doch der Lycos-Werbeframe.Acid hat geschrieben:...hast du denn mal versucht, das Forum mit /index.php anstatt mit /start.php aufzurufen ?...
Ich will doch nur, dass die start.php nicht auf die page_header.php zugreift. Wie geht das denn?Acid hat geschrieben:...Lösche erstmal die ganzen JavaScripts aus der start.tpl, und baue sie dann nach und nach wieder ein, dann weisst du woran es liegt.
Code: Alles auswählen
include($phpbb_root_path . 'includes/page_header.'.$phpEx);