Ich habe es nun geschafft das Skript in das vBulletin einzubinden aber wie kann ich nun das Design ändern? Muss ich das Design in der "Skript.php" ändern oder im vBulletin?
PHP-Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
// Hier den Names des Scripts (ohne .php) eintragen
define('THIS_SCRIPT', '');
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'GENERIC_SHELL',
// Falls ein Template verwenden werden soll dieses hier angeben
''
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
// Hier den gewünschten Titel eintragen
$pagetitle = '';
// Falls eine Datei includiert werden soll diese hiner angeben
$includefile = '';
// Falls ein Template verwenden werden soll dieses hier angeben
$template = '';
if (!empty($template))
{
eval('$HTML = "' . fetch_template($template) . '";');
}
else if (!empty($includefile))
{
ob_start();
include($includefile);
$HTML = ob_get_contents();
ob_end_clean();
}
$navbits = construct_navbits(array($pagetitle));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('GENERIC_SHELL') . '");');
?>
Am liebsten wäre mir das Layout von vBulletin.