Fragen zur Bedienung von phpBB 3.0.x, Probleme bei der Benutzung und alle weiteren Fragen inkl. Update auf die neuste phpBB 3.0.14 Version
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Die Mathematik
Mitglied
Beiträge: 400 Registriert: 16.04.2011 11:29
Beitrag
von Die Mathematik » 03.08.2011 17:57
hackepeter13 hat geschrieben: Die Mathematik hat geschrieben: ... also fehlt noch 1. Ich bin überzeugt, dass du mir da auch helfen kannst.
Zu 1. war doch das Problem mit den aktiven Tabs?! Schau dir nochmal mein letzten Beitrag an.
Ja ich kann wohl auch nicht lesen. Wie dem auch sei, es hat wunderbar funktioniert. nur die Tabs Gallery, Bugtracker vom Downloadmod und der normale Bugtracker funktionieren nicht.
Bugtracker siehe 4. Das wird sich schon noch legen. Gallery und Downloadmod Bugtracker: Ich sehe im root-Verzeichnis keine Datei aus der ich <!-- IF SCRIPT_NAME == 'xxx' --> machen kann. Na ja ich werde da bestimmt noch was finden. Ich danke dir für deine Hilfe.
hackepeter13
Valued Contributor
Beiträge: 3570 Registriert: 21.04.2004 12:22
Wohnort: Berlin
Kontaktdaten:
Beitrag
von hackepeter13 » 03.08.2011 20:51
Die Mathematik hat geschrieben: Gallery und Downloadmod Bugtracker: Ich sehe im root-Verzeichnis keine Datei aus der ich <!-- IF SCRIPT_NAME == 'xxx' --> machen kann. Na ja ich werde da bestimmt noch was finden. Ich danke dir für deine Hilfe.
Du wirst doch wohl wissen, wohin du bei den entsprechenden Mod-installationen die Dateien hoch geladen hast, die werden dann sicherlich in einem Unterordner sein.
Also schau nach und probier es aus.
Wenn das dann nicht finktionier, kann dann auch sein das du dort evtl. eine Pfadangabe machen musst, sprich die ganze IF Schleife folgendermaßen umändern:
Code: Alles auswählen
<!-- IF $_SERVER['SCRIPT_NAME'] == '/Ordner/dateiname.php'-->
Die Mathematik
Mitglied
Beiträge: 400 Registriert: 16.04.2011 11:29
Beitrag
von Die Mathematik » 04.08.2011 12:43
OK, also ich habe es mal an der Gallery probiert. Der Pfad zur Gallery ist eben /gallery/index.php Also soll da folgendes geschrieben werden:
<!-- IF $_SERVER['SCRIPT_NAME'] == '/gallery/index.php'--> ? Falls ja funktioniert es nicht so wie gedacht. Wenn ich das .php weg lasse ebenfalls nicht. Muss in das ['SCRIPT_NAME'] noch was rein? Sieht ein bisschen danach aus.
hackepeter13
Valued Contributor
Beiträge: 3570 Registriert: 21.04.2004 12:22
Wohnort: Berlin
Kontaktdaten:
Beitrag
von hackepeter13 » 04.08.2011 13:09
Probier dann mal das:
Code: Alles auswählen
<!-- IF basename($_SERVER['SCRIPT_NAME']) == '/gallery/index.php' -->
Die Mathematik
Mitglied
Beiträge: 400 Registriert: 16.04.2011 11:29
Beitrag
von Die Mathematik » 04.08.2011 13:45
Nein, das geht leider auch nicht. Dann wird nur folgendes angezeigt:
Code: Alles auswählen
Parse error : syntax error, unexpected '(' in / users / legmbhkeg / www / forum / cache / tpl_prosilver_overall_header.html.php on line 161
Der Cache ist geleert worden.
Zur Information: Immer, wenn ich die Seite aktualisiere ist der Cache wieder gefüllt und die Datei wieder vorhanden.
Dann hat die Datei folgenden Inhalt:
Code: Alles auswählen
<?php if (!defined('IN_PHPBB')) exit; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo (isset($this->_rootref['S_CONTENT_DIRECTION'])) ? $this->_rootref['S_CONTENT_DIRECTION'] : ''; ?>" lang="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['S_USER_LANG'] : ''; ?>" xml:lang="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['S_USER_LANG'] : ''; ?>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo (isset($this->_rootref['S_CONTENT_ENCODING'])) ? $this->_rootref['S_CONTENT_ENCODING'] : ''; ?>" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['S_USER_LANG'] : ''; ?>" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="shortcut icon" href="./favicon.ico" />
<meta name="google-site-verification" content="d7PQaALV3mwVhay71nuZ9aGzcaDHSEszohHmWy3KDeA" />
<?php echo (isset($this->_rootref['META'])) ? $this->_rootref['META'] : ''; ?>
<?php if ($this->_rootref['S_IN_GEOMAP']) { ?>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<?php } ?>
<title><?php echo (isset($this->_rootref['SITENAME'])) ? $this->_rootref['SITENAME'] : ''; ?> • <?php if ($this->_rootref['S_IN_MCP']) { echo ((isset($this->_rootref['L_MCP'])) ? $this->_rootref['L_MCP'] : ((isset($user->lang['MCP'])) ? $user->lang['MCP'] : '{ MCP }')); ?> • <?php } else if ($this->_rootref['S_IN_UCP']) { echo ((isset($this->_rootref['L_UCP'])) ? $this->_rootref['L_UCP'] : ((isset($user->lang['UCP'])) ? $user->lang['UCP'] : '{ UCP }')); ?> • <?php } echo (isset($this->_rootref['PAGE_TITLE'])) ? $this->_rootref['PAGE_TITLE'] : ''; ?></title>
<?php if ($this->_rootref['S_ENABLE_FEEDS']) { if ($this->_rootref['S_ENABLE_FEEDS_OVERALL']) { ?><link rel="alternate" type="application/atom+xml" title="<?php echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] : ((isset($user->lang['FEED'])) ? $user->lang['FEED'] : '{ FEED }')); ?> - <?php echo (isset($this->_rootref['SITENAME'])) ? $this->_rootref['SITENAME'] : ''; ?>" href="<?php echo (isset($this->_rootref['U_FEED'])) ? $this->_rootref['U_FEED'] : ''; ?>" /><?php } if ($this->_rootref['S_ENABLE_FEEDS_NEWS']) { ?><link rel="alternate" type="application/atom+xml" title="<?php echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] : ((isset($user->lang['FEED'])) ? $user->lang['FEED'] : '{ FEED }')); ?> - <?php echo ((isset($this->_rootref['L_FEED_NEWS'])) ? $this->_rootref['L_FEED_NEWS'] : ((isset($user->lang['FEED_NEWS'])) ? $user->lang['FEED_NEWS'] : '{ FEED_NEWS }')); ?>" href="<?php echo (isset($this->_rootref['U_FEED'])) ? $this->_rootref['U_FEED'] : ''; ?>?mode=news" /><?php } if ($this->_rootref['S_ENABLE_FEEDS_FORUMS']) { ?><link rel="alternate" type="application/atom+xml" title="<?php echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] : ((isset($user->lang['FEED'])) ? $user->lang['FEED'] : '{ FEED }')); ?> - <?php echo ((isset($this->_rootref['L_ALL_FORUMS'])) ? $this->_rootref['L_ALL_FORUMS'] : ((isset($user->lang['ALL_FORUMS'])) ? $user->lang['ALL_FORUMS'] : '{ ALL_FORUMS }')); ?>" href="<?php echo (isset($this->_rootref['U_FEED'])) ? $this->_rootref['U_FEED'] : ''; ?>?mode=forums" /><?php } if ($this->_rootref['S_ENABLE_FEEDS_TOPICS']) { ?><link rel="alternate" type="application/atom+xml" title="<?php echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] : ((isset($user->lang['FEED'])) ? $user->lang['FEED'] : '{ FEED }')); ?> - <?php echo ((isset($this->_rootref['L_FEED_TOPICS_NEW'])) ? $this->_rootref['L_FEED_TOPICS_NEW'] : ((isset($user->lang['FEED_TOPICS_NEW'])) ? $user->lang['FEED_TOPICS_NEW'] : '{ FEED_TOPICS_NEW }')); ?>" href="<?php echo (isset($this->_rootref['U_FEED'])) ? $this->_rootref['U_FEED'] : ''; ?>?mode=topics" /><?php } if ($this->_rootref['S_ENABLE_FEEDS_TOPICS_ACTIVE']) { ?><link rel="alternate" type="application/atom+xml" title="<?php echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] : ((isset($user->lang['FEED'])) ? $user->lang['FEED'] : '{ FEED }')); ?> - <?php echo ((isset($this->_rootref['L_FEED_TOPICS_ACTIVE'])) ? $this->_rootref['L_FEED_TOPICS_ACTIVE'] : ((isset($user->lang['FEED_TOPICS_ACTIVE'])) ? $user->lang['FEED_TOPICS_ACTIVE'] : '{ FEED_TOPICS_ACTIVE }')); ?>" href="<?php echo (isset($this->_rootref['U_FEED'])) ? $this->_rootref['U_FEED'] : ''; ?>?mode=topics_active" /><?php } if ($this->_rootref['S_ENABLE_FEEDS_FORUM'] && $this->_rootref['S_FORUM_ID']) { ?><link rel="alternate" type="application/atom+xml" title="<?php echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] : ((isset($user->lang['FEED'])) ? $user->lang['FEED'] : '{ FEED }')); ?> - <?php echo ((isset($this->_rootref['L_FORUM'])) ? $this->_rootref['L_FORUM'] : ((isset($user->lang['FORUM'])) ? $user->lang['FORUM'] : '{ FORUM }')); ?> - <?php echo (isset($this->_rootref['FORUM_NAME'])) ? $this->_rootref['FORUM_NAME'] : ''; ?>" href="<?php echo (isset($this->_rootref['U_FEED'])) ? $this->_rootref['U_FEED'] : ''; ?>?f=<?php echo (isset($this->_rootref['S_FORUM_ID'])) ? $this->_rootref['S_FORUM_ID'] : ''; ?>" /><?php } if ($this->_rootref['S_ENABLE_FEEDS_TOPIC'] && $this->_rootref['S_TOPIC_ID']) { ?><link rel="alternate" type="application/atom+xml" title="<?php echo ((isset($this->_rootref['L_FEED'])) ? $this->_rootref['L_FEED'] : ((isset($user->lang['FEED'])) ? $user->lang['FEED'] : '{ FEED }')); ?> - <?php echo ((isset($this->_rootref['L_TOPIC'])) ? $this->_rootref['L_TOPIC'] : ((isset($user->lang['TOPIC'])) ? $user->lang['TOPIC'] : '{ TOPIC }')); ?> - <?php echo (isset($this->_rootref['TOPIC_TITLE'])) ? $this->_rootref['TOPIC_TITLE'] : ''; ?>" href="<?php echo (isset($this->_rootref['U_FEED'])) ? $this->_rootref['U_FEED'] : ''; ?>?f=<?php echo (isset($this->_rootref['S_FORUM_ID'])) ? $this->_rootref['S_FORUM_ID'] : ''; ?>&t=<?php echo (isset($this->_rootref['S_TOPIC_ID'])) ? $this->_rootref['S_TOPIC_ID'] : ''; ?>" /><?php } } ?>
<!--
phpBB style name: prosilver
Based on style: prosilver (this is the default phpBB3 style)
Original author: Tom Beddard ( http://www.subBlue.com/ )
Modified by:
NOTE: This page was generated by phpBB, the free open-source bulletin board package.
The phpBB Group is not responsible for the content of this page and forum. For more information
about phpBB please visit http://www.phpbb.com
-->
<script type="text/javascript">
// <![CDATA[
var jump_page = '<?php echo ((isset($this->_rootref['LA_JUMP_PAGE'])) ? $this->_rootref['LA_JUMP_PAGE'] : ((isset($this->_rootref['L_JUMP_PAGE'])) ? addslashes($this->_rootref['L_JUMP_PAGE']) : ((isset($user->lang['JUMP_PAGE'])) ? addslashes($user->lang['JUMP_PAGE']) : '{ JUMP_PAGE }'))); ?>:';
var on_page = '<?php echo (isset($this->_rootref['ON_PAGE'])) ? $this->_rootref['ON_PAGE'] : ''; ?>';
var per_page = '<?php echo (isset($this->_rootref['PER_PAGE'])) ? $this->_rootref['PER_PAGE'] : ''; ?>';
var base_url = '<?php echo (isset($this->_rootref['A_BASE_URL'])) ? $this->_rootref['A_BASE_URL'] : ''; ?>';
var style_cookie = 'phpBBstyle';
var style_cookie_settings = '<?php echo (isset($this->_rootref['A_COOKIE_SETTINGS'])) ? $this->_rootref['A_COOKIE_SETTINGS'] : ''; ?>';
var onload_functions = new Array();
var onunload_functions = new Array();
<?php if ($this->_rootref['S_USER_PM_POPUP'] && $this->_rootref['S_NEW_PM']) { ?>
var url = '<?php echo (isset($this->_rootref['UA_POPUP_PM'])) ? $this->_rootref['UA_POPUP_PM'] : ''; ?>';
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
<?php } ?>
/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}
/**
* New function for handling multiple calls to window.onload and window.unload by pentapenguin
*/
window.onload = function()
{
for (var i = 0; i < onload_functions.length; i++)
{
eval(onload_functions[i]);
}
}
window.onunload = function()
{
for (var i = 0; i < onunload_functions.length; i++)
{
eval(onunload_functions[i]);
}
}
// ]]>
</script>
<script type="text/javascript" src="<?php echo (isset($this->_rootref['T_SUPER_TEMPLATE_PATH'])) ? $this->_rootref['T_SUPER_TEMPLATE_PATH'] : ''; ?>/styleswitcher.js"></script>
<script type="text/javascript" src="<?php echo (isset($this->_rootref['T_SUPER_TEMPLATE_PATH'])) ? $this->_rootref['T_SUPER_TEMPLATE_PATH'] : ''; ?>/forum_fn.js"></script>
<?php if ($this->_rootref['S_NEW_DL_POPUP']) { ?>
<script language="Javascript" type="text/javascript">
// <![CDATA[
window.open('<?php echo (isset($this->_rootref['U_NEW_DOWNLOAD_POPUP'])) ? $this->_rootref['U_NEW_DOWNLOAD_POPUP'] : ''; ?>', '_blank', 'HEIGHT=225,resizable=yes,WIDTH=400');
// ]] >
</script>
<?php } ?>
<link href="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="<?php echo (isset($this->_rootref['T_STYLESHEET_LINK'])) ? $this->_rootref['T_STYLESHEET_LINK'] : ''; ?>" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
<?php if ($this->_rootref['S_CONTENT_DIRECTION'] == ('rtl')) { ?>
<link href="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<?php } if ($this->_rootref['S_PRIVMSGS'] || $this->_rootref['S_POST_ACTION'] != ('')) { ?>
<script type="text/javascript" src="<?php echo (isset($this->_rootref['ROOT_PATH'])) ? $this->_rootref['ROOT_PATH'] : ''; ?>spell/AJS.js"></script>
<script type="text/javascript" src="<?php echo (isset($this->_rootref['ROOT_PATH'])) ? $this->_rootref['ROOT_PATH'] : ''; ?>spell/googiespell.js"></script>
<script type="text/javascript" src="<?php echo (isset($this->_rootref['ROOT_PATH'])) ? $this->_rootref['ROOT_PATH'] : ''; ?>spell/cookiesupport.js"></script>
<link href="<?php echo (isset($this->_rootref['ROOT_PATH'])) ? $this->_rootref['ROOT_PATH'] : ''; ?>spell/googiespell.css" rel="stylesheet" type="text/css" />
<?php } $this->_tpl_include('gallery/plugins_header.html'); ?><!-- Start Highslide -->
<script type="text/javascript" src="<?php echo (isset($this->_rootref['ROOT_PATH'])) ? $this->_rootref['ROOT_PATH'] : ''; ?>highslide/highslide-full.js"></script>
<link rel="stylesheet" href="<?php echo (isset($this->_rootref['ROOT_PATH'])) ? $this->_rootref['ROOT_PATH'] : ''; ?>highslide/highslide.css" type="text/css" />
<!-- End Highslide -->
</head>
<body id="phpbb" class="section-<?php echo (isset($this->_rootref['SCRIPT_NAME'])) ? $this->_rootref['SCRIPT_NAME'] : ''; ?> <?php echo (isset($this->_rootref['S_CONTENT_DIRECTION'])) ? $this->_rootref['S_CONTENT_DIRECTION'] : ''; ?>">
<div id="wrap">
<a id="top" name="top" accesskey="t"></a>
<div id="page-header">
<div class="headerbar">
<div class="inner"><span class="corners-top"><span></span></span>
<div id="site-description">
<a href="<?php echo (isset($this->_rootref['U_INDEX'])) ? $this->_rootref['U_INDEX'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_INDEX'])) ? $this->_rootref['L_INDEX'] : ((isset($user->lang['INDEX'])) ? $user->lang['INDEX'] : '{ INDEX }')); ?>" id="logo"><?php echo (isset($this->_rootref['SITE_LOGO_IMG'])) ? $this->_rootref['SITE_LOGO_IMG'] : ''; ?></a>
<h1><?php echo (isset($this->_rootref['SITENAME'])) ? $this->_rootref['SITENAME'] : ''; ?></h1>
<p><?php echo (isset($this->_rootref['SITE_DESCRIPTION'])) ? $this->_rootref['SITE_DESCRIPTION'] : ''; ?></p>
<p class="skiplink"><a href="#start_here"><?php echo ((isset($this->_rootref['L_SKIP'])) ? $this->_rootref['L_SKIP'] : ((isset($user->lang['SKIP'])) ? $user->lang['SKIP'] : '{ SKIP }')); ?></a></p>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<?php if (! $this->_tpldata['DEFINE']['.']['S_IN_PORTAL'] || $this->_rootref['S_DISPLAY_PHPBB_MENU']) { ?>
<div id="tabs">
<ul>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('index') || $this->_rootref['SCRIPT_NAME'] == ('viewforum') || $this->_rootref['SCRIPT_NAME'] == ('viewtopic')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_INDEX'])) ? $this->_rootref['U_INDEX'] : ''; ?>"><span><?php echo ((isset($this->_rootref['L_INDEX'])) ? $this->_rootref['L_INDEX'] : ((isset($user->lang['INDEX'])) ? $user->lang['INDEX'] : '{ INDEX }')); ?></span></a></li>
<?php if ($this->_rootref['S_DISPLAY_SEARCH']) { ?><li<?php if ($this->_rootref['SCRIPT_NAME'] == ('search')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_SEARCH'])) ? $this->_rootref['U_SEARCH'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_SEARCH_ADV_EXPLAIN'])) ? $this->_rootref['L_SEARCH_ADV_EXPLAIN'] : ((isset($user->lang['SEARCH_ADV_EXPLAIN'])) ? $user->lang['SEARCH_ADV_EXPLAIN'] : '{ SEARCH_ADV_EXPLAIN }')); ?>"><span><?php echo ((isset($this->_rootref['L_SEARCH'])) ? $this->_rootref['L_SEARCH'] : ((isset($user->lang['SEARCH'])) ? $user->lang['SEARCH'] : '{ SEARCH }')); ?></span></a></li><?php } if ($this->_rootref['S_DISPLAY_MEMBERLIST']) { ?><li<?php if ($this->_rootref['SCRIPT_NAME'] == ('memberlist')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_MEMBERLIST'])) ? $this->_rootref['U_MEMBERLIST'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_MEMBERLIST_EXPLAIN'])) ? $this->_rootref['L_MEMBERLIST_EXPLAIN'] : ((isset($user->lang['MEMBERLIST_EXPLAIN'])) ? $user->lang['MEMBERLIST_EXPLAIN'] : '{ MEMBERLIST_EXPLAIN }')); ?>"><span><?php echo ((isset($this->_rootref['L_MEMBERLIST'])) ? $this->_rootref['L_MEMBERLIST'] : ((isset($user->lang['MEMBERLIST'])) ? $user->lang['MEMBERLIST'] : '{ MEMBERLIST }')); ?></span></a></li><?php } ?>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('faq')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_FAQ'])) ? $this->_rootref['U_FAQ'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_FAQ_EXPLAIN'])) ? $this->_rootref['L_FAQ_EXPLAIN'] : ((isset($user->lang['FAQ_EXPLAIN'])) ? $user->lang['FAQ_EXPLAIN'] : '{ FAQ_EXPLAIN }')); ?>"><span><?php echo ((isset($this->_rootref['L_FAQ'])) ? $this->_rootref['L_FAQ'] : ((isset($user->lang['FAQ'])) ? $user->lang['FAQ'] : '{ FAQ }')); ?></span></a></li>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('geomap')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_GEOMAP'])) ? $this->_rootref['U_GEOMAP'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_GEOMAP'])) ? $this->_rootref['L_GEOMAP'] : ((isset($user->lang['GEOMAP'])) ? $user->lang['GEOMAP'] : '{ GEOMAP }')); ?>"><span><?php echo ((isset($this->_rootref['L_GEOMAP'])) ? $this->_rootref['L_GEOMAP'] : ((isset($user->lang['GEOMAP'])) ? $user->lang['GEOMAP'] : '{ GEOMAP }')); ?></span></a></li>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('newspage')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_NEWS'])) ? $this->_rootref['U_NEWS'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_NEWS'])) ? $this->_rootref['L_NEWS'] : ((isset($user->lang['NEWS'])) ? $user->lang['NEWS'] : '{ NEWS }')); ?>"><span><?php echo ((isset($this->_rootref['L_NEWS'])) ? $this->_rootref['L_NEWS'] : ((isset($user->lang['NEWS'])) ? $user->lang['NEWS'] : '{ NEWS }')); ?></span></a></li>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('shop')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_SHOP'])) ? $this->_rootref['U_SHOP'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_SHOP'])) ? $this->_rootref['L_SHOP'] : ((isset($user->lang['SHOP'])) ? $user->lang['SHOP'] : '{ SHOP }')); ?>"><span><?php echo ((isset($this->_rootref['L_SHOP'])) ? $this->_rootref['L_SHOP'] : ((isset($user->lang['SHOP'])) ? $user->lang['SHOP'] : '{ SHOP }')); ?></span></a></li>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('points')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_POINTS'])) ? $this->_rootref['U_POINTS'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_POINTS'])) ? $this->_rootref['L_POINTS'] : ((isset($user->lang['POINTS'])) ? $user->lang['POINTS'] : '{ POINTS }')); ?>"><span><?php echo ((isset($this->_rootref['L_POINTS'])) ? $this->_rootref['L_POINTS'] : ((isset($user->lang['POINTS'])) ? $user->lang['POINTS'] : '{ POINTS }')); ?></span></a></li>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('stats')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_STATS'])) ? $this->_rootref['U_STATS'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_STATS'])) ? $this->_rootref['L_STATS'] : ((isset($user->lang['STATS'])) ? $user->lang['STATS'] : '{ STATS }')); ?>"><span><?php echo ((isset($this->_rootref['L_STATISTICS'])) ? $this->_rootref['L_STATISTICS'] : ((isset($user->lang['STATISTICS'])) ? $user->lang['STATISTICS'] : '{ STATISTICS }')); ?></span></a></li>
<li<?php if ((basename) ( ($_SERVER['SCRIPT_NAME']) ) == ('/gallery/index.php')) { ?>class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_GALLERY_MOD'])) ? $this->_rootref['U_GALLERY_MOD'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_GALLERY'])) ? $this->_rootref['L_GALLERY'] : ((isset($user->lang['GALLERY'])) ? $user->lang['GALLERY'] : '{ GALLERY }')); ?>"><span><?php echo ((isset($this->_rootref['L_GALLERY'])) ? $this->_rootref['L_GALLERY'] : ((isset($user->lang['GALLERY'])) ? $user->lang['GALLERY'] : '{ GALLERY }')); ?></span></a></li>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('downloads')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_DOWNLOADS'])) ? $this->_rootref['U_DOWNLOADS'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_DOWNLOADS'])) ? $this->_rootref['L_DOWNLOADS'] : ((isset($user->lang['DOWNLOADS'])) ? $user->lang['DOWNLOADS'] : '{ DOWNLOADS }')); ?>"><span><?php echo ((isset($this->_rootref['L_DOWNLOADS'])) ? $this->_rootref['L_DOWNLOADS'] : ((isset($user->lang['DOWNLOADS'])) ? $user->lang['DOWNLOADS'] : '{ DOWNLOADS }')); ?></span></a></li>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('download_bugtracker')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_BUG_TRACKER_MOD'])) ? $this->_rootref['U_BUG_TRACKER_MOD'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_BUG_TRACKER'])) ? $this->_rootref['L_BUG_TRACKER'] : ((isset($user->lang['BUG_TRACKER'])) ? $user->lang['BUG_TRACKER'] : '{ BUG_TRACKER }')); ?>"><span><?php echo ((isset($this->_rootref['L_BUG_TRACKER'])) ? $this->_rootref['L_BUG_TRACKER'] : ((isset($user->lang['BUG_TRACKER'])) ? $user->lang['BUG_TRACKER'] : '{ BUG_TRACKER }')); ?></span></a></li>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('hacks_list')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_HACKLIST'])) ? $this->_rootref['U_HACKLIST'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_HACKLIST'])) ? $this->_rootref['L_HACKLIST'] : ((isset($user->lang['HACKLIST'])) ? $user->lang['HACKLIST'] : '{ HACKLIST }')); ?>"><span><?php echo ((isset($this->_rootref['L_HACKLIST'])) ? $this->_rootref['L_HACKLIST'] : ((isset($user->lang['HACKLIST'])) ? $user->lang['HACKLIST'] : '{ HACKLIST }')); ?></span></a></li>
<li<?php if ($this->_rootref['SCRIPT_NAME'] == ('bugtracker')) { ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_BUGTRACKER'])) ? $this->_rootref['U_BUGTRACKER'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_BT_BUGTRACKER'])) ? $this->_rootref['L_BT_BUGTRACKER'] : ((isset($user->lang['BT_BUGTRACKER'])) ? $user->lang['BT_BUGTRACKER'] : '{ BT_BUGTRACKER }')); ?>"><span><?php echo ((isset($this->_rootref['L_BT_BUGTRACKER'])) ? $this->_rootref['L_BT_BUGTRACKER'] : ((isset($user->lang['BT_BUGTRACKER'])) ? $user->lang['BT_BUGTRACKER'] : '{ BT_BUGTRACKER }')); ?></span></a></li>
</ul>
</div>
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist navlinks">
<li class="icon-home"><?php if ($this->_rootref['U_PORTAL']) { ?><a href="<?php echo (isset($this->_rootref['U_PORTAL'])) ? $this->_rootref['U_PORTAL'] : ''; ?>"><?php echo ((isset($this->_rootref['L_PORTAL'])) ? $this->_rootref['L_PORTAL'] : ((isset($user->lang['PORTAL'])) ? $user->lang['PORTAL'] : '{ PORTAL }')); ?></a> » <?php } ?><a href="<?php echo (isset($this->_rootref['U_INDEX'])) ? $this->_rootref['U_INDEX'] : ''; ?>" accesskey="h"><?php echo ((isset($this->_rootref['L_INDEX'])) ? $this->_rootref['L_INDEX'] : ((isset($user->lang['INDEX'])) ? $user->lang['INDEX'] : '{ INDEX }')); ?></a> <?php $_navlinks_count = (isset($this->_tpldata['navlinks'])) ? sizeof($this->_tpldata['navlinks']) : 0;if ($_navlinks_count) {for ($_navlinks_i = 0; $_navlinks_i < $_navlinks_count; ++$_navlinks_i){$_navlinks_val = &$this->_tpldata['navlinks'][$_navlinks_i]; ?> <strong>‹</strong> <a href="<?php echo $_navlinks_val['U_VIEW_FORUM']; ?>"><?php echo $_navlinks_val['FORUM_NAME']; ?></a><?php }} ?></li>
<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="return fontsizeup(event);" class="fontsize" title="<?php echo ((isset($this->_rootref['L_CHANGE_FONT_SIZE'])) ? $this->_rootref['L_CHANGE_FONT_SIZE'] : ((isset($user->lang['CHANGE_FONT_SIZE'])) ? $user->lang['CHANGE_FONT_SIZE'] : '{ CHANGE_FONT_SIZE }')); ?>"><?php echo ((isset($this->_rootref['L_CHANGE_FONT_SIZE'])) ? $this->_rootref['L_CHANGE_FONT_SIZE'] : ((isset($user->lang['CHANGE_FONT_SIZE'])) ? $user->lang['CHANGE_FONT_SIZE'] : '{ CHANGE_FONT_SIZE }')); ?></a></li>
<?php if ($this->_rootref['U_EMAIL_TOPIC']) { ?><li class="rightside"><a href="<?php echo (isset($this->_rootref['U_EMAIL_TOPIC'])) ? $this->_rootref['U_EMAIL_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_EMAIL_TOPIC'])) ? $this->_rootref['L_EMAIL_TOPIC'] : ((isset($user->lang['EMAIL_TOPIC'])) ? $user->lang['EMAIL_TOPIC'] : '{ EMAIL_TOPIC }')); ?>" class="sendemail"><?php echo ((isset($this->_rootref['L_EMAIL_TOPIC'])) ? $this->_rootref['L_EMAIL_TOPIC'] : ((isset($user->lang['EMAIL_TOPIC'])) ? $user->lang['EMAIL_TOPIC'] : '{ EMAIL_TOPIC }')); ?></a></li><?php } if ($this->_rootref['U_EMAIL_PM']) { ?><li class="rightside"><a href="<?php echo (isset($this->_rootref['U_EMAIL_PM'])) ? $this->_rootref['U_EMAIL_PM'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_EMAIL_PM'])) ? $this->_rootref['L_EMAIL_PM'] : ((isset($user->lang['EMAIL_PM'])) ? $user->lang['EMAIL_PM'] : '{ EMAIL_PM }')); ?>" class="sendemail"><?php echo ((isset($this->_rootref['L_EMAIL_PM'])) ? $this->_rootref['L_EMAIL_PM'] : ((isset($user->lang['EMAIL_PM'])) ? $user->lang['EMAIL_PM'] : '{ EMAIL_PM }')); ?></a></li><?php } if ($this->_rootref['U_PRINT_TOPIC']) { ?><li class="rightside"><a href="<?php echo (isset($this->_rootref['U_PRINT_TOPIC'])) ? $this->_rootref['U_PRINT_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_PRINT_TOPIC'])) ? $this->_rootref['L_PRINT_TOPIC'] : ((isset($user->lang['PRINT_TOPIC'])) ? $user->lang['PRINT_TOPIC'] : '{ PRINT_TOPIC }')); ?>" accesskey="p" class="print"><?php echo ((isset($this->_rootref['L_PRINT_TOPIC'])) ? $this->_rootref['L_PRINT_TOPIC'] : ((isset($user->lang['PRINT_TOPIC'])) ? $user->lang['PRINT_TOPIC'] : '{ PRINT_TOPIC }')); ?></a></li><?php } if ($this->_rootref['U_PRINT_PM']) { ?><li class="rightside"><a href="<?php echo (isset($this->_rootref['U_PRINT_PM'])) ? $this->_rootref['U_PRINT_PM'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_PRINT_PM'])) ? $this->_rootref['L_PRINT_PM'] : ((isset($user->lang['PRINT_PM'])) ? $user->lang['PRINT_PM'] : '{ PRINT_PM }')); ?>" accesskey="p" class="print"><?php echo ((isset($this->_rootref['L_PRINT_PM'])) ? $this->_rootref['L_PRINT_PM'] : ((isset($user->lang['PRINT_PM'])) ? $user->lang['PRINT_PM'] : '{ PRINT_PM }')); ?></a></li><?php } ?>
</ul>
<?php if (! $this->_rootref['S_IS_BOT'] && $this->_rootref['S_USER_LOGGED_IN']) { ?>
<ul class="linklist leftside">
<li class="icon-ucp">
<a href="<?php echo (isset($this->_rootref['U_PROFILE'])) ? $this->_rootref['U_PROFILE'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_PROFILE'])) ? $this->_rootref['L_PROFILE'] : ((isset($user->lang['PROFILE'])) ? $user->lang['PROFILE'] : '{ PROFILE }')); ?>" accesskey="e"><?php echo ((isset($this->_rootref['L_PROFILE'])) ? $this->_rootref['L_PROFILE'] : ((isset($user->lang['PROFILE'])) ? $user->lang['PROFILE'] : '{ PROFILE }')); ?></a>
<?php if ($this->_rootref['S_DISPLAY_PM']) { ?> (<a href="<?php echo (isset($this->_rootref['U_PRIVATEMSGS'])) ? $this->_rootref['U_PRIVATEMSGS'] : ''; ?>"><?php echo (isset($this->_rootref['PRIVATE_MESSAGE_INFO'])) ? $this->_rootref['PRIVATE_MESSAGE_INFO'] : ''; ?></a>)<?php } if ($this->_rootref['S_DISPLAY_SEARCH']) { ?> •
<a href="<?php echo (isset($this->_rootref['U_SEARCH_SELF'])) ? $this->_rootref['U_SEARCH_SELF'] : ''; ?>"><?php echo ((isset($this->_rootref['L_SEARCH_SELF'])) ? $this->_rootref['L_SEARCH_SELF'] : ((isset($user->lang['SEARCH_SELF'])) ? $user->lang['SEARCH_SELF'] : '{ SEARCH_SELF }')); ?></a>
<?php } if ($this->_rootref['U_RESTORE_PERMISSIONS']) { ?> •
<a href="<?php echo (isset($this->_rootref['U_RESTORE_PERMISSIONS'])) ? $this->_rootref['U_RESTORE_PERMISSIONS'] : ''; ?>"><?php echo ((isset($this->_rootref['L_RESTORE_PERMISSIONS'])) ? $this->_rootref['L_RESTORE_PERMISSIONS'] : ((isset($user->lang['RESTORE_PERMISSIONS'])) ? $user->lang['RESTORE_PERMISSIONS'] : '{ RESTORE_PERMISSIONS }')); ?></a>
<?php } ?>
</li>
</ul>
<?php } ?>
<ul class="linklist rightside">
<li class="icon-knuffel"><a href="<?php echo (isset($this->_rootref['U_KNUFFEL'])) ? $this->_rootref['U_KNUFFEL'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_KNUFFEL'])) ? $this->_rootref['L_KNUFFEL'] : ((isset($user->lang['KNUFFEL'])) ? $user->lang['KNUFFEL'] : '{ KNUFFEL }')); ?>"><?php echo ((isset($this->_rootref['L_KNUFFEL'])) ? $this->_rootref['L_KNUFFEL'] : ((isset($user->lang['KNUFFEL'])) ? $user->lang['KNUFFEL'] : '{ KNUFFEL }')); ?></a></li>
<li class="icon-hangman"><a href="<?php echo (isset($this->_rootref['U_HANGMAN'])) ? $this->_rootref['U_HANGMAN'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_HANGMAN'])) ? $this->_rootref['L_HANGMAN'] : ((isset($user->lang['HANGMAN'])) ? $user->lang['HANGMAN'] : '{ HANGMAN }')); ?>"><?php echo ((isset($this->_rootref['L_HANGMAN'])) ? $this->_rootref['L_HANGMAN'] : ((isset($user->lang['HANGMAN'])) ? $user->lang['HANGMAN'] : '{ HANGMAN }')); ?></a></li>
<?php if (! $this->_rootref['S_IS_BOT']) { if (! $this->_rootref['S_USER_LOGGED_IN'] && $this->_rootref['S_REGISTER_ENABLED'] && ! ( $this->_rootref['S_SHOW_COPPA'] || $this->_rootref['S_REGISTRATION'] )) { ?><li class="icon-register"><a href="<?php echo (isset($this->_rootref['U_REGISTER'])) ? $this->_rootref['U_REGISTER'] : ''; ?>"><?php echo ((isset($this->_rootref['L_REGISTER'])) ? $this->_rootref['L_REGISTER'] : ((isset($user->lang['REGISTER'])) ? $user->lang['REGISTER'] : '{ REGISTER }')); ?></a></li><?php } ?>
<li class="icon-logout"><a href="<?php echo (isset($this->_rootref['U_LOGIN_LOGOUT'])) ? $this->_rootref['U_LOGIN_LOGOUT'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_LOGIN_LOGOUT'])) ? $this->_rootref['L_LOGIN_LOGOUT'] : ((isset($user->lang['LOGIN_LOGOUT'])) ? $user->lang['LOGIN_LOGOUT'] : '{ LOGIN_LOGOUT }')); ?>" accesskey="x"><?php echo ((isset($this->_rootref['L_LOGIN_LOGOUT'])) ? $this->_rootref['L_LOGIN_LOGOUT'] : ((isset($user->lang['LOGIN_LOGOUT'])) ? $user->lang['LOGIN_LOGOUT'] : '{ LOGIN_LOGOUT }')); ?></a></li>
<?php } ?>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<?php } ?>
</div>
<a name="start_here"></a>
<div id="page-body">
<?php if ($this->_rootref['S_BOARD_DISABLED'] && $this->_rootref['S_USER_LOGGED_IN'] && ( $this->_rootref['U_MCP'] || $this->_rootref['U_ACP'] )) { if ($this->_rootref['S_NEW_DL_MESSAGE']) { ?>
<div id="message" class="rules">
<div class="inner"><span class="corners-top"><span></span></span>
<?php echo (isset($this->_rootref['NEW_DOWNLOAD_MESSAGE'])) ? $this->_rootref['NEW_DOWNLOAD_MESSAGE'] : ''; ?>
<span class="corners-bottom"><span></span></span></div>
</div>
<?php } ?>
<div id="information" class="rules">
<div class="inner"><span class="corners-top"><span></span></span>
<strong><?php echo ((isset($this->_rootref['L_INFORMATION'])) ? $this->_rootref['L_INFORMATION'] : ((isset($user->lang['INFORMATION'])) ? $user->lang['INFORMATION'] : '{ INFORMATION }')); ?>:</strong> <?php echo ((isset($this->_rootref['L_BOARD_DISABLED'])) ? $this->_rootref['L_BOARD_DISABLED'] : ((isset($user->lang['BOARD_DISABLED'])) ? $user->lang['BOARD_DISABLED'] : '{ BOARD_DISABLED }')); ?>
<span class="corners-bottom"><span></span></span></div>
</div>
<?php } ?>
Metzle
Ehemaliges Teammitglied
Beiträge: 10435 Registriert: 08.03.2008 02:50
Wohnort: Waiblingen-Neustadt
Kontaktdaten:
Beitrag
von Metzle » 04.08.2011 14:32
Die Mathematik hat geschrieben: Zur Information: Immer, wenn ich die Seite aktualisiere ist der Cache wieder gefüllt und die Datei wieder vorhanden.
Das ist der Sinn von einem Cache, dass er sich wieder füllt, wenn die Seite wieder aufgerufen wird.
Elsensee
Ehemaliges Teammitglied
Beiträge: 832 Registriert: 19.05.2010 15:14
Wohnort: Hamburg
Kontaktdaten:
Beitrag
von Elsensee » 04.08.2011 14:48
Das bringt alles nichts. Ich empfehle dir eine neue globale Template-Variable:
Öffne: includes/functions.php
Suche: (ungemoddetes phpBB 3.0.9 Zeile 4387 Code: Alles auswählen
'SCRIPT_NAME' => str_replace('.' . $phpEx, '', $user->page['page_name']),
Danach einfügen: Code: Alles auswählen
'SCRIPT_PATH' => str_replace('?' . $user->page['query_string'], '', $user->page['page']),
Nun kannst du die Variable (nach Cache löschen
) folgendermaßen verwenden:
Code ist vollständig ungetestet!!! Es kann sein, dass er nicht wie gewünscht funktioniert - in einem solchen Falle einfach nochmal melden.
Die Mathematik
Mitglied
Beiträge: 400 Registriert: 16.04.2011 11:29
Beitrag
von Die Mathematik » 04.08.2011 15:17
Ja, danke es hat wunderbar funktioniert. Jetzt funktionieren alle Tabs bis auf 2:
Die beiden Bugtracker.
Der vom Downloadmanager und der normale. Der normale funktioniert eh nicht, siehe Thema in Mod Support und der andere lässt sich nicht anklicken.
Also dieser ist der letzte Tab den es zu behandeln gilt. Und ich habe keine Ahnung welcher Pfad, da weder im Rootverzeichnis noch in allen Downloadmodverzeichnissen was von Bugtracker steht. Er ist aber aktiviert, falls ihr jetzt behauptet ich habe ihn über den ACP deaktiviert.
Elsensee
Ehemaliges Teammitglied
Beiträge: 832 Registriert: 19.05.2010 15:14
Wohnort: Hamburg
Kontaktdaten:
Beitrag
von Elsensee » 08.08.2011 15:17
Kannst du mal deine overall_header.html im Pastebin posten?
Diese Version ist ja nun nicht mehr aktuell, oder?