Ich suche leider aber keine Fertigen Mods.
Ich habe mir die genannten 3 Dateinen erstellt aber vermute einen Fehler in der mod.php.
Mir ist es nicht möglich diese Datei in die index_body.html zu includen.
Mir wird leider der Inhalt nicht ausgegeben. Und wollte daher den Inhalt noch einmal überprüfen.
Das ist mein derzeitiger Inhalt.
Code: Alles auswählen
<?php
/**
*
* @author Original Author Username webmaster@souls-of-fire.net - http://souls-of-fire.net
* @author Another Author Username webmaster@souls-of-fire.net - http://souls-of-fire.net
*
* @package {PACKAGENAME}
* @version $Id$
* @copyright (c) 2007 Devil
* @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);
// specify styles and/or localisation
// in this example, we specify that we will be using the file: my_language_file.php
$user->setup('mods/linksleft_lang');
// Page title, this language variable should be defined in the language file you setup at the top of this page.
page_header($user->lang['LINKSLEFT_SITETITLE']);
// 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' => 'linksleft_temp.html',
));
// Completing the script and displaying the page.
page_footer();
?>