Seite 2 von 4

Verfasst: 06.04.2008 17:43
von Boecki91
Wo ran verzweifelst du denn?

und was genau willst du machen?

kostenlosen ICQ Live Support :roll:

Du kannst aber in den phpbb.de IRC Chat kommen

Verfasst: 06.04.2008 17:49
von CrackHack
Okay also ich habe nun eine Datei erstellt wie gesagt z.b. neue_seite.php
Nun soll ich diesen Code einfügen stimmts?
<?php
//Benötigte Dateien und Variablen von phpBB
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);


//Session auslesen und Benutzer-Informationen laden
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);


//Dieser Block kann weggelassen werden, wenn du nur den die Userdaten brauchst und auf den phpBB-Header verzichen möchtest
$page_title = 'Meine Seite';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);



/***** Inhaltsbereich ******/



//Footer - nur dann weglassen, wenn du auch den Header weglässt
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
So ich verstehe nicht wie ich weiter machen muss um es so einzustellen das ich eine bestimmte Seite in mein Template einfügen kann.

Gruß Ghost

Verfasst: 06.04.2008 17:57
von Jan500
es steht doch groß da
/***** Inhaltsbereich ******/
und am besten das template system benutzen (siehe beitrag von Boecki91)

aber so wie es mir scheint hjast du keine ahnung von html und php wäre dann ein eintrag in der Jobbörse nicht besser?
bzw sag erst einmal _genau_ was du auf der seite anzeigen lassen willst evtl kann man dir dann genauer helfen

Jan

Verfasst: 06.04.2008 18:00
von CrackHack
Hiho
ja ich geb zu bin kein experte auf dem gebiet html und php. Aber wenn ich es könnte bräuchte ich ja keinen Post in dieses Forum verfasse. Ich möchte in mein Template eine Account-Erstellungs Seite integrieren.

Verfasst: 06.04.2008 18:03
von Jan500
von welchem dienst ist die "account-erstellung" ?
lass dir doch nicht alles aus der nase ziehen :-?
hast du dazu schon code?
wie sieht der aus?

Jan

Verfasst: 06.04.2008 18:06
von CrackHack
Die Account Erstellung ist soweit ich weiß auf/von unserem Root aus. Für die Account Erstellung habe ich einen Link.

Gruß Ghost

Verfasst: 06.04.2008 18:34
von Boecki91
Bitte genauer. willst du "einfach" eine Seite mit einem Link in der Mitte oder was?

Verfasst: 06.04.2008 18:53
von CrackHack
Okay sry also dies ist die Seite--> http://87.230.91.8/accpage/
Ich möchte diese Seite in meinem Template einbinden sprich eine neue Seite erstellen.

Gruß Ghost

Verfasst: 06.04.2008 18:56
von Jan500
erstell ne seite wie oben und eine tpl dazu (siehe link von Boecki91)

und füg in die tpl das form ein
http://87.230.91.8/accpage/ hat geschrieben:<form action="anmeldung.php" method="post">
<strong><span class="Stil1">A</span><span class="Stil4">ccountname:</span></strong><br>

<span class="Stil4">&laquo;</span>
<input type="text" name="account">
<span class="Stil4">&raquo;</span><br>
<strong><span class="Stil1">P</span><span class="Stil4">asswort:</span></strong><br>
<span class="Stil4">&laquo;</span>
<input type="password" name="passwort">
<span class="Stil4">&raquo;</span><br>
<strong><span class="Stil1">P</span><span class="Stil4">asswort:</span></strong><br>
<span class="Stil4">&laquo;</span>
<input type="password" name="repasswort">
<span class="Stil4">&raquo;</span><br>

<strong><span class="Stil1">E</span><span class="Stil4">mailadresse:</span></strong><br>
<span class="Stil4">&laquo;</span>
<input type="text" name="email">
<span class="Stil4">&raquo;</span><br>
<span class="Stil6">M&ouml;chten sie Burning Crusade aktivieren? </span><br>
<span class="Stil1">J</span><span class="Stil4">a</span>
<input type="radio" name="bc" value="8">
<span class="Stil1">N</span><span class="Stil4">ein</span>
<input type="radio" name="bc" value="0"> <br>

<input type="submit" value="Account erstellen!">
<br>
</form>
natürlich noch etwas grafisch anpassen und den pfad zu anmeldung.php

Jan

Verfasst: 06.04.2008 19:02
von CrackHack
Sry ich stehe etwas auf dem Schlauch
erstell ne seite wie oben und eine tpl dazu (siehe link von Boecki91)
Ich erstelle eine neue datei z.b. account_erstellung.tpl und füge den Text den du mir eben gegeben hast ein und lade es anschließend ins template hoch?

oder soll ich anstelle von
/***** Inhaltsbereich ******/
deinen Code einsetzen

Gruß Ghost