Hi, also nur damit du mal siehst wie es bei dir aussieht:
Kopiere folgenden Code in die Datei [unb_root]/unb_lib/designs/modern/css/common.css.php, ganz an den Schluss vor
<?php
// Include user CSS definitions
@include('../css.user.php');
@include('../../css.user.php');
?>
Code:
/* A fake IE information bar */
#infobar {
font: message-box;
}
/* Please adjust the values if the infobar is not looking good */
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
display: block;
float: left;
clear: both;
width: 98%;
color: InfoText;
background: InfoBackground url(<?php echo $ImgPath ?>warning.gif) no-repeat fixed .3em .3em;
padding: .45em .3em .45em 2em;
border-bottom: .16em outset;
text-decoration: none;
cursor: default;
}
#infobar a:hover {
color: HighlightText;
background: Highlight url(<?php echo $ImgPath ?>warning.gif) no-repeat fixed .3em .3em;
}
/* A fake viewplot for IE information bar */
#viewplot {
width: 100%;
height: expression(this.parentNode.offsetHeight - this.offsetTop);
overflow-x: hidden;
overflow-y: scroll;
padding: 1em; /* Please set this to the value as that of your <body> */
}
Anschlißend musst du noch
body
{
<?php if ($ie && !$ie7) { ?>
width: 750px;
<?php } else { ?>
width: 95%;
min-width: 350px;
max-width: 800px;
<?php } ?>
margin: 10px auto;
padding: 0;
}
durch
body
{
margin: 10px auto;
margin-top: 0;
padding: 0;
}
ersetzen. (Seht ganz am Anfang der Datei)
und anschließend kopierst du folgenden Code in die Datei [unb_root]/unb_lib/designs/modern/tpl/_head.html, nach den Zeilen:
<body{if $headSimple} class="simple"{endif}>
{endif}{-- $headHTML}
Code:
<!-- Infobar Beginn -->
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td>
<div id="infobar"><a href="forum.php?req=register">Du scheinst noch keinen kostenlosen Community-Account zu besitzen. Klicke hier um dich anzumelden...</a></div>
</td></tr></table>
<!-- /Infobar Ende -->
Jetzt hast du deine Inforbar eingebunden. Jetzt musst du noch das angehängte Bild nach [unb_root]/unb_lib/designs/modern/img/ kopieren und du bist fertig.
Allerdings hast du durch das löschen der width Angaben für den Body dein Forum auf volle Bildschirmbreite verbreitert. Leider ist dies nicht einfach ein Nebeneffekt, der (meines wissens) nicht zu vermeiden ist.
Kannst ja sehen wie es dir gefällt.
The author has attached one file to this post:

warning.gif
630 Bytes
You have no permission to open this file.

This post was edited
2 times, last on 2006-10-15, 15:52 by
tkoneo.