Seite 3 von 4

Verfasst: 06.01.2008 06:53
von User-Einer
Aber wo?

Muss ich die Datei "meine_seite.html" wieder auf meine festplatte laden und bearbeiten? oder mache ich das im acp?

Verfasst: 06.01.2008 14:10
von Boecki91
Festplatte laden verändern wieder hochladen...

Verfasst: 06.01.2008 14:50
von wolvieh
Das heißt wohl, ich kann ein schönes Design und eine vernünftige Formatierung vergessen, wenn ich kein php beherrsche.

Eine Art "Formular" wie bei Wordpress wär da schön. Dann einfach im ACP "Neue Seite" anklicken, und dann kann man, mit den Formatierungsmöglichkeiten von BBCodes eben eine neue Seite erstellen...

Wie aufwändig ist es wohl für einen php Noob wie mich, eine Seite zu erstellen, die aussieht als gehöre sie zum Forum?
So wie eine Teampage... nur handgemacht.

Verfasst: 06.01.2008 15:37
von User-Einer
Ich habe es geschafft. Nicht ganz Fehlerhaft aber für Gäste eindeutig eine Seite vom Forum. :)

SObald ich näheres über den Fehler weiss, werde ich hier berichten was es ist.

Verfasst: 06.01.2008 20:35
von wolvieh
Bääh.
Ich hab's jetzt probiert.
Folgende Fehlermeldung:
http://austrianunity.ath.cx/about.php
:cookie:

Der Inhalt der about.php

Code: Alles auswählen

<?php
/**
*
* @author wolvieh wolvieh@kaffeeschluerfer.com - http://wolvieh.uttx.net/blog
*
* @package {PACKAGENAME}
* @version $Id$
* @copyright (c) 2007 wolvieh
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
define('IN_PHPBB', true);
// Specify the path to you phpBB3 installation directory.
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
// The common.php file is required.
include($phpbb_root_path . 'common.' . $phpEx);

// since we are grabbing the user avatar, the function is inside the functions_display.php file since RC7
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);

// Page title, this language variable should be defined in the language file you setup at the top of this page.
page_header($user->lang['About']);

// Set the filename of the template you want to use for this file.
// This is the name of our template file located in /styles/<style>/templates/.
$template->set_filenames(array(
    'body' => 'about.html',
));

// Completing the script and displaying the page.
page_footer();

?>
und das Template in /styles/prosilver/template/about.html

Code: Alles auswählen

<!-- INCLUDE overall_header.html -->
Ö
<!-- INCLUDE overall_footer.html -->
Moah...

Verfasst: 07.01.2008 10:14
von NetHunter
So sollte es funktionieren:

Code: Alles auswählen

<?php

// Benötigte Dateien und Variablen von phpBB
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

// Session auslesen und Benutzer-Informationen laden
$user->session_begin();
$auth->acl($user->data);
$user->setup();

         
// Header und Titel der Seite
page_header('TESTSEITE');

// Angabe der Content-Seite
$template->set_filenames(array(
   'body' => 'about.html')
);

// Footer
page_footer();

?>

Verfasst: 07.01.2008 15:15
von wolvieh
Oh, super... danke!

Verfasst: 08.01.2008 10:53
von wolvieh
Ich würd die Seite gerne so anlegen:
http://img132.imageshack.us/my.php?image=konzeptdk9.png

Das heißt, alles im blauen Hintergrund, die Überschrift "Team" so wie die blaue oben... usw., usf.

Ist das machbar?
Derweil hab ich's irgendwie zusammengefrickelt, mit einem Bild statt Text beim Teamabschnitt...

Verfasst: 08.01.2008 11:00
von Dr.Death
Klar ist das machbar, aber das gehört nun nicht mehr in den MOD Bereich, sondern ist wohl eher eine Frage des Stylings, oder ?

Verfasst: 08.01.2008 11:30
von wolvieh
Stimmt, aber für die Version 3 gibt's ja noch kein Style Forum hier...