Danke werde es auch gleich mal testen
Mod suche Admin Message im Header
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
ja genau den mod hatte ich auch installiert.
allerdings mittlerweile wieder ausgebaut.
so kriegst dus zum laufen und sieht obendrein noch gut aus (farbwerte musst du noch anpassen!):
allerdings mittlerweile wieder ausgebaut.
so kriegst dus zum laufen und sieht obendrein noch gut aus (farbwerte musst du noch anpassen!):
Code: Alles auswählen
<center>
<!-- BEGIN site_warning -->
<table width="100%" border="0">
<tr>
<td>
<div style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color:#F4FFF4">
<marquee behavior="scroll" direction="left" scrolldelay="100" scrollamount="5">
<span class="gen" style="color:#FF0000; font-weight:bold;">{site_warning.SITE_WARNING}</span></marquee>
</div>
</td>
</tr>
</table>
<!-- END site_warning -->
</center>
Man soll aufhören wenn´s am schönsten ist!
Servus phpBB!
Servus phpBB!
- Nico Haase
- Mitglied
- Beiträge: 1100
- Registriert: 10.08.2003 15:19
- Wohnort: Neu-Anspach / Darmstadt
- Kontaktdaten:
besser wäre es, den <center> jetzt noch in den switch-part zu packen, damit er da sonst, wenn die meldung abgeschaltet ist, nicht alleine steht
der code würde dann also so lauten:
Code: Alles auswählen
<!-- BEGIN site_warning -->
<center>
<table width="100%" border="0">
<tr>
<td>
<div style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color:#F4FFF4">
<marquee behavior="scroll" direction="left" scrolldelay="100" scrollamount="5">
<span class="gen" style="color:#FF0000; font-weight:bold;">{site_warning.SITE_WARNING}</span></marquee>
</div>
</td>
</tr>
</table>
</center>
<!-- END site_warning -->
Buchtips.net bietet mehr als 2500 Buchrezensionen
-
terrajoerg
- Mitglied
- Beiträge: 8
- Registriert: 02.01.2005 11:48
Problem
Hallo,
habe das mod bei mir auch eingebaut aber es erscheint kein Text??? Jedesmal wenn ich im Adminbereich einen eingebe und anschließend die Seite wieder aufrufe ist der Text verschwunden??? Woran kann das liegen.
danke für Eure Hilfe
Jörg
http://www.wasseragamenforum.de
habe das mod bei mir auch eingebaut aber es erscheint kein Text??? Jedesmal wenn ich im Adminbereich einen eingebe und anschließend die Seite wieder aufrufe ist der Text verschwunden??? Woran kann das liegen.
danke für Eure Hilfe
Jörg
http://www.wasseragamenforum.de
-
terrajoerg
- Mitglied
- Beiträge: 8
- Registriert: 02.01.2005 11:48
-
terrajoerg
- Mitglied
- Beiträge: 8
- Registriert: 02.01.2005 11:48
Hallo,#-----[ SQL ]------------------------------------------
#
# If you have a different table prefix then change this command accordingly.
# I have used the default table prefix!
#
INSERT INTO phpbb_config VALUES ('site_warning', 'If you can see this, the MOD was installed successfully. Now change the message in the ACP.');
leider kann ich damit nichts anfangen - bin wohl etwas schwach im eng. - kannst Du mir nicht helfen.
danke
Jörg
oh mann.
also:
speichere den folgenden text ab in einer textdatei und gib ihr den namen 33.php
diese datei lädst du in deinen phpbb_root hoch und führst sie dann über den browser aus:
hier der inhalt:
also:
speichere den folgenden text ab in einer textdatei und gib ihr den namen 33.php
diese datei lädst du in deinen phpbb_root hoch und führst sie dann über den browser aus:
hier der inhalt:
Code: Alles auswählen
<?php
/***************************************************************************
* db_update.php
* -------------------
*
* copyright : ©2003 Freakin' Booty ;-P & Antony Bailey
* project : http://sourceforge.net/projects/dbgenerator
* Website : http://freakingbooty.no-ip.com/ & http://www.rapiddr3am.net
*
***************************************************************************/
/***************************************************************************
*
* 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.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
if( !$userdata['session_logged_in'] )
{
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
header($header_location . append_sid("login.$phpEx?redirect=db_update.$phpEx", true));
exit;
}
if( $userdata['user_level'] != ADMIN )
{
message_die(GENERAL_MESSAGE, 'You are not authorised to access this page');
}
$page_title = 'Updating the database';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
echo '<table width="100%" cellspacing="1" cellpadding="2" border="0" class="forumline">';
echo '<tr><th>Updating the database</th></tr><tr><td><span class="genmed"><ul type="circle">';
$sql = array();
$sql[] = "INSERT INTO " . $table_prefix . "config VALUES ('site_warning', 'Installation erfolgreich. besuche auch mal www.flirt1.de -- atari')";
for( $i = 0; $i < count($sql); $i++ )
{
if( !$result = $db->sql_query ($sql[$i]) )
{
$error = $db->sql_error();
echo '<li>' . $sql[$i] . '<br /> +++ <font color="#FF0000"><b>Error:</b></font> ' . $error['message'] . '</li><br />';
}
else
{
echo '<li>' . $sql[$i] . '<br /> +++ <font color="#00AA00"><b>Successfull</b></font></li><br />';
}
}
echo '</ul></span></td></tr><tr><td class="catBottom" height="28"> </td></tr>';
echo '<tr><th>End</th></tr><tr><td><span class="genmed">Installation is now finished. Please be sure to delete this file now.<br />If you have run into any errors, please visit the <a href="http://www.phpbbsupport.co.uk" target="_phpbbsupport">phpBBSupport.co.uk</a> and ask someone for help.</span></td></tr>';
echo '<tr><td class="catBottom" height="28" align="center"><span class="genmed"><a href="' . append_sid("index.$phpEx") . '">Have a nice day</a></span></td></table>';
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Man soll aufhören wenn´s am schönsten ist!
Servus phpBB!
Servus phpBB!