Seite 1 von 1

Admin Link verschwunden

Verfasst: 23.03.2005 11:31
von Bulwyief
Hallo,
habe soeben den Imageresize MOD eingebaut und der Admin Link ist verschwunden. Keine Ahnung ob es was damit zu tun hat.

Hier erstmal mein overall_footer.tpl
BlackAndWhite template
<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<CENTER><a href="http://toplist.schwarzesglueck.de" target="_blank">
<img src="http://toplist.schwarzesglueck.de/topsites.cgi?show=908"
alt="Schwarzes Glück Gothic Toplist" border="0"></a>
<a href="http://www.schwarzeseiten.de/top100/in.php?id=69">
<img src="http://www.schwarzeseiten.de/top100/button.php?id=69" border="0" /></a>
<br>
<img src="templates/BlackAndWhite/images/winamp.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.dunklewelle.de/plist/dunklewelleDSL.m3u" class="mainmenu">Winamp</a>
<img src="http://www.dunklewelle.de/images/shoutcast/real.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.dunklewelle.de/plist/realDSL.ram" class="mainmenu">RealPlayer</a>
<img src="http://www.dunklewelle.de/images/shoutcast/player9.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.dunklewelle.de/plist/windowsmediaDSL.asx" class="mainmenu">Windows MP +++ Radio Dunkle Welle +++ DSL</a>
<br>
<img src="templates/BlackAndWhite/images/winamp.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.dunklewelle.de/plist/dunklewelleMDM.m3u" class="mainmenu">Winamp</a>
<img src="http://www.dunklewelle.de/images/shoutcast/real.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.dunklewelle.de/plist/realMDM.ram" class="mainmenu">RealPlayer</a>
<img src="http://www.dunklewelle.de/images/shoutcast/player9.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.dunklewelle.de/plist/windowsmediaMDM.asx" class="mainmenu">Windows MP +++ Radio Dunkle Welle +++ Modem</a>
<br>
<img src="templates/BlackAndWhite/images/winamp.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.r1live.de/player/winamp.pls" class="mainmenu">Winamp</a>
<img src="http://www.dunklewelle.de/images/shoutcast/real.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.r1live.de/player/real.ram" class="mainmenu">RealPlayer</a>
<img src="http://www.dunklewelle.de/images/shoutcast/player9.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.r1live.de/player/windowsmedia.asx" class="mainmenu">Windows MP +++ Radio R1 Live +++ DSL</a>
<br>
<img src="templates/BlackAndWhite/images/winamp.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.radio-morituri.de/sc/play.m3u" class="mainmenu">Winamp</a>
<img src="http://www.dunklewelle.de/images/shoutcast/real.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.radio-morituri.de/sc/play.ram" class="mainmenu">RealPlayer</a>
<img src="http://www.dunklewelle.de/images/shoutcast/player9.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.radio-morituri.de/sc/play.asx" class="mainmenu">Windows MP +++ Radio Morituri +++ DSL</a>
<br>
<img src="templates/BlackAndWhite/images/winamp.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.radio-morituri.de/sc/play_isdn.m3u" class="mainmenu">Winamp</a>
<img src="http://www.dunklewelle.de/images/shoutcast/real.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.radio-morituri.de/sc/play_isdn.ram" class="mainmenu">RealPlayer</a>
<img src="http://www.dunklewelle.de/images/shoutcast/player9.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.radio-morituri.de/sc/play_isdn.asx" class="mainmenu">Windows MP +++ Radio Morituri +++ ISDN</a>
<br>
<img src="templates/BlackAndWhite/images/winamp.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.radio-morituri.de/sc/play_modem.m3u" class="mainmenu">Winamp</a>
<img src="http://www.dunklewelle.de/images/shoutcast/real.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.radio-morituri.de/sc/play_modem.ram" class="mainmenu">RealPlayer</a>
<img src="http://www.dunklewelle.de/images/shoutcast/player9.gif" width="12" height="13" border="0" alt="{}" hspace="3" /></a><a href="http://www.radio-morituri.de/sc/play_modem.asx" class="mainmenu">Windows MP +++ Radio Morituri +++ Modem</a>
</center>
</tr>

<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
&nbsp;<a href="{U_ImpressumMOD1}" class="gensmall">{L_ImpressumMOD1}</a>&nbsp;<br>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
reason) retain the full copyright we request you at least leave in place the
Powered by phpBB {PHPBB_VERSION} line, with phpBB linked to www.phpbb.com. If you refuse
to include even this then support on our forums may be affected.

The phpBB Group : 2002
// -->
Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} &copy; 2001, 2002 phpBB Group{TRANSLATION_INFO}</span></div><br>
</td>
</tr>
</table>
</body>
</html>
hier mein page_tail.php
<?php
/***************************************************************************
* page_tail.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: page_tail.php,v 1.27.2.3 2004/12/22 02:04:00 psotfx Exp $
*
*
***************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/

if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
}

//
// Show the overall footer.
//
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';

$template->set_filenames(array(
'overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' : 'simple_footer.tpl')
);

$template->assign_vars(array(
'TRANSLATION_INFO' => ( isset($lang['TRANSLATION_INFO']) ) ? $lang['TRANSLATION_INFO'] : '','ADMINBANNERS' => $lang['AdminBanner'],
'ADMIN_LINK' => $admin_link)
);


//
// Close our DB connection.
//
$db->sql_close();

//
// Compress buffered output if required and send to browser
//
if ( $do_gzip_compress )
{
//
// Borrowed from php.net!
//
$gzip_contents = ob_get_contents();
ob_end_clean();

$gzip_size = strlen($gzip_contents);
$gzip_crc = crc32($gzip_contents);

$gzip_contents = gzcompress($gzip_contents, 9);
$gzip_contents = substr($gzip_contents, 0, strlen($gzip_contents) - 4);

echo "\x1f\x8b\x08\x00\x00\x00\x00\x00";
echo $gzip_contents;
echo pack('V', $gzip_crc);
echo pack('V', $gzip_size);
}

exit;

?>
Dazu kommt ausserdem das ich mich nicht mehr ausloggen kann.

Vielen Dank im Vorraus && Greetinx
Buly

Verfasst: 23.03.2005 11:47
von Gast210225
Ich seh auf die schnelle keine Fehler, aber lösch mal deinen Cookies

Verfasst: 23.03.2005 11:53
von Bulwyief
Mit dem Logout klappt es -thx- aber Admin Link nicht in Sichtweite, als Admin werde ich aber erkannt.

Verfasst: 23.03.2005 12:10
von Gast210225
Welche Version hast du?
In den Dateien kann ich keine Fehler erkennen..

Verfasst: 23.03.2005 12:40
von Bulwyief
2.0.13

hatte schonmal ein Board, nun hab ich ein neues eröffnet... mit diesem Problem wurde ich noch nicht konfrontiert... lief eigentlich immer alles sauber.

Verfasst: 23.03.2005 12:48
von Gast210225
Hast du schon Mods drauf? Wenn nicht nehm mal die 2 orginal Dateien und lad sie hoch

Verfasst: 23.03.2005 13:16
von Bulwyief
Ja habe mehrere MOD's drauf... deswegen würde es zu Probs kommen :/

Ich denke mal der Fehler liegt in einer Datei an die ich nicht denke trotzdem footer relevant ist.

Verfasst: 24.03.2005 16:01
von Bulwyief
Es funktioniert wieder, habe meine alte page_tail hochgeladen und schwupps alles wieder da...

page_tail.php
<?php
/***************************************************************************
* page_tail.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: page_tail.php,v 1.27.2.2 2002/11/26 11:42:12 psotfx Exp $
*
*
***************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/

if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
}




//
// Show the overall footer.
//
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';

$template->set_filenames(array(
'overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' : 'simple_footer.tpl')
);

$template->assign_vars(array(
'PHPBB_VERSION' => '2' . $board_config['version'],'ADMINBANNERS' => $lang['AdminBanner'],



'TRANSLATION_INFO' => ( isset($lang['TRANSLATION_INFO']) ) ? $lang['TRANSLATION_INFO'] : '',

'ADMIN_LINK' => $admin_link)

);

$template->pparse('overall_footer');

//
// Close our DB connection.
//
$db->sql_close();

//
// Compress buffered output if required and send to browser
//
if ( $do_gzip_compress )
{
//
// Borrowed from php.net!
//
$gzip_contents = ob_get_contents();
ob_end_clean();

$gzip_size = strlen($gzip_contents);
$gzip_crc = crc32($gzip_contents);

$gzip_contents = gzcompress($gzip_contents, 9);
$gzip_contents = substr($gzip_contents, 0, strlen($gzip_contents) - 4);

echo "\x1f\x8b\x08\x00\x00\x00\x00\x00";
echo $gzip_contents;
echo pack('V', $gzip_crc);
echo pack('V', $gzip_size);
}

exit;

?>