Ich will ins Forum zusätzliche Seiten (in HTML) einbauen.
Ich weiß, dass die Möglichkeit besteht eine php und eine dazu passende tpl zu
erstellen und in die tpl den Code zu setzen!
Leider sind das zu viele Dateien, als dass ich Lust dazu hätte...
Folgende Lösung:
Das funktioniert auf diese Weise ganz gut, NUR....<?php
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
$page_title = 'Kontaktformular';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
echo "<table width=\"100%\" cellspacing=\"2\" cellpadding=\"2\" border=\"0\" align=\"center\">
<tr>
<td align=\"left\"><span class=\"nav\"><a href=\"{U_INDEX}\" class=\"nav\">{L_INDEX}</a></span></td>
</tr>
</table>
<table width=95% cellpadding=3 cellspacing=1 border=0 class=forumline>
<tr>
<td class=catLeft colspan=5><span class=cattitle>Kontaktformular</td>
</tr>
<td class=row1 valign=top><span class=gensmall>
<FORM METHOD=POST ACTION=formmail.php>
<p align=center> <table border=0><tr><td><br>
<tr><td><span class=gensmall>Vor- und Nachname:(*)<td><INPUT style=BACKGROUND-COLOR:#FFFFFF style=font-family:Tahoma;font size:8pt;color=#000000 name=Name>
<tr><td><span class=gensmall>E-Mail Adresse:(*)<td><INPUT style=BACKGROUND-COLOR:#FFFFFF style=font-family:Tahoma;font size:8pt;color=#000000 name=email>
<tr><td><span class=gensmall>Betreff:<td><INPUT style=BACKGROUND-COLOR:#FFFFFF style=font-family:Tahoma;font size:8pt;color=#000000 name=betreff>
<tr><td><td><hr>
<tr><td><span class=gensmall>Dein Kommentar:(*)<td><TEXTAREA style=BACKGROUND-COLOR:#FFFFFF style=font-family:Tahoma;font size:8pt;color=#000000 name=Kommentar cols=50 rows=5></TEXTAREA>
</table>
<div align=center><INPUT type=submit style=font-family:tahoma name=los value=Senden></div>
<div align=center><span class=gensmall>(*) Pflichtfelder</div>
</table>
<br>";
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
...der Link zur Foren-Übersicht klappt nicht:
Wie bekomm ich das noch hin??? Es wird verlinkt zu: "U_INDEX" und da steht halt nicht "Foren-Übersicht" sondern "L_INDEX"...<a href=\"{U_INDEX}\" class=\"nav\">{L_INDEX}</a>
Finds auch blöd, die Links selbst zu schreiben, weil sich vll mal der Ordner des Forums oder so ändern könnte...
Schonmal danke an alle, die mir helfen können
