MyBB.de Forum

Normale Version: Verdoppelte Buttons
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Seiten: 1 2
Hallo,

nachdem ich Chmod bei einigen Ordnern verändert hatte (weniger Zugriffsrechte), erscheinen bei meinem Forum vier identische Reihen der Buttons "Suche", "Mitglieder", "Kalender", "Chat" und "Hilfe" übereinander.

Wie kann ich die überflüssigen Reihen wegmachen ?

Viele Grüße, Tanguero
Kannst du mal bitte Link zu deinem Forum geben mir dem Fehler?
Hallo Scorpio,

hier der Link zu meinem Forum: http://www.tango-city.de
guck mal im Template "header" nach,
ob da die Buttons 4 mal angegeben wurden !

bis gli...
greetz DaStaFlexX
Hallo DaStaFlexX,

da ich mich sehr wenig auskenne, und nicht sicher weiß, welche Infos für diese Buttons stehen, habe ich Dir hier die Daten aus dem Template "header" mitgebracht:

Zitat:<script language="Javascript" type="text/javascript">
var cookieDomain = "$settings[cookiedomain]";
var cookiePath = "$settings[cookiepath]";
var quickdelete_confirm = "$lang->quickdelete_confirm";
var newpm_prompt = "$lang->newpm_prompt";
var deleteevent_confirm = "$lang->deleteevent_confirm";
var removeattach_confirm = "$lang->removeattach_confirm";
</script>
<a name="top"></a>
<div id="container">
<div id="header">
<table width="100%" border="0">
<tr>
<td><div class="logo" align="left"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></div></td>
<td><div class="logo" align="right">$easybanner</div> </td>
</tr>
</table>

<div class="menu"> <ul>
<li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search" />$lang->toplinks_search</a></li>
<li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist" />$lang->toplinks_memberlist</a></li>
<li><a href="$settings[bburl]/calendar.php"><img src="$theme[imgdir]/toplinks/calendar.gif" border="0" alt="$lang->toplinks_calendar" />$lang->toplinks_calendar</a></li><li><a href="$settings[bburl]/chat.php"><img src="$settings[bburl]/images/chat.gif" border="0" alt="Chat">Chat</a></li>
<li><a href="$settings[bburl]/misc.php?action=help"><img src="$theme[imgdir]/toplinks/help.gif" border="0" alt="$lang->toplinks_help" />$lang->toplinks_help</a></li>
</ul> <ul>
<li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search" />$lang->toplinks_search</a></li>
<li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist" />$lang->toplinks_memberlist</a></li>
<li><a href="$settings[bburl]/calendar.php"><img src="$theme[imgdir]/toplinks/calendar.gif" border="0" alt="$lang->toplinks_calendar" />$lang->toplinks_calendar</a></li><li><a href="$settings[bburl]/chat.php"><img src="$settings[bburl]/images/chat.gif" border="0" alt="Chat">Chat</a></li>
<li><a href="$settings[bburl]/misc.php?action=help"><img src="$theme[imgdir]/toplinks/help.gif" border="0" alt="$lang->toplinks_help" />$lang->toplinks_help</a></li>
</ul> <ul>
<li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search" />$lang->toplinks_search</a></li>
<li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist" />$lang->toplinks_memberlist</a></li>
<li><a href="$settings[bburl]/calendar.php"><img src="$theme[imgdir]/toplinks/calendar.gif" border="0" alt="$lang->toplinks_calendar" />$lang->toplinks_calendar</a></li><li><a href="$settings[bburl]/chat.php"><img src="$settings[bburl]/images/chat.gif" border="0" alt="Chat">Chat</a></li>
<li><a href="$settings[bburl]/misc.php?action=help"><img src="$theme[imgdir]/toplinks/help.gif" border="0" alt="$lang->toplinks_help" />$lang->toplinks_help</a></li>
</ul> <ul>
<li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search" />$lang->toplinks_search</a></li>
<li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist" />$lang->toplinks_memberlist</a></li>
<li><a href="$settings[bburl]/calendar.php"><img src="$theme[imgdir]/toplinks/calendar.gif" border="0" alt="$lang->toplinks_calendar" />$lang->toplinks_calendar</a></li><li><a href="$settings[bburl]/chat.php"><img src="$settings[bburl]/images/chat.gif" border="0" alt="Chat">Chat</a></li>
<li><a href="$settings[bburl]/misc.php?action=help"><img src="$theme[imgdir]/toplinks/help.gif" border="0" alt="$lang->toplinks_help" />$lang->toplinks_help</a></li>
</ul> <ul>




</ul> <ul>




</ul>
<ul>




</ul>
</div>
<hr class="hidden" />
<div id="panel">
$welcomeblock
</div>
</div>
<hr class="hidden" />
<br class="clear" />
$bar <div id="content">
$bannedwarning
$bbclosedwarning
$unreadreports
$boardmsg
<navigation><br />$boardmessage
<br class="clear" />


Viele Grüße, Tanguero
Jo, die sind da doppelt eingetragen. Ändere folgenden Code:

PHP-Code:
<div class="menu"> <ul>
<
li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search/>$lang->toplinks_search</a></li>
<
li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist/>$lang->toplinks_memberlist</a></li>
<
li><a href="$settings[bburl]/calendar.php"><img src="$theme[imgdir]/toplinks/calendar.gif" border="0" alt="$lang->toplinks_calendar/>$lang->toplinks_calendar</a></li><li><a href="$settings[bburl]/chat.php"><img src="$settings[bburl]/images/chat.gif" border="0" alt="Chat">Chat</a></li>
<
li><a href="$settings[bburl]/misc.php?action=help"><img src="$theme[imgdir]/toplinks/help.gif" border="0" alt="$lang->toplinks_help/>$lang->toplinks_help</a></li>
</
ul> <ul>
<
li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search/>$lang->toplinks_search</a></li>
<
li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist/>$lang->toplinks_memberlist</a></li>
<
li><a href="$settings[bburl]/calendar.php"><img src="$theme[imgdir]/toplinks/calendar.gif" border="0" alt="$lang->toplinks_calendar/>$lang->toplinks_calendar</a></li><li><a href="$settings[bburl]/chat.php"><img src="$settings[bburl]/images/chat.gif" border="0" alt="Chat">Chat</a></li>
<
li><a href="$settings[bburl]/misc.php?action=help"><img src="$theme[imgdir]/toplinks/help.gif" border="0" alt="$lang->toplinks_help/>$lang->toplinks_help</a></li>
</
ul> <ul>
<
li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search/>$lang->toplinks_search</a></li>
<
li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist/>$lang->toplinks_memberlist</a></li>
<
li><a href="$settings[bburl]/calendar.php"><img src="$theme[imgdir]/toplinks/calendar.gif" border="0" alt="$lang->toplinks_calendar/>$lang->toplinks_calendar</a></li><li><a href="$settings[bburl]/chat.php"><img src="$settings[bburl]/images/chat.gif" border="0" alt="Chat">Chat</a></li>
<
li><a href="$settings[bburl]/misc.php?action=help"><img src="$theme[imgdir]/toplinks/help.gif" border="0" alt="$lang->toplinks_help/>$lang->toplinks_help</a></li>
</
ul> <ul>
<
li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search/>$lang->toplinks_search</a></li>
<
li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist/>$lang->toplinks_memberlist</a></li>
<
li><a href="$settings[bburl]/calendar.php"><img src="$theme[imgdir]/toplinks/calendar.gif" border="0" alt="$lang->toplinks_calendar/>$lang->toplinks_calendar</a></li><li><a href="$settings[bburl]/chat.php"><img src="$settings[bburl]/images/chat.gif" border="0" alt="Chat">Chat</a></li>
<
li><a href="$settings[bburl]/misc.php?action=help"><img src="$theme[imgdir]/toplinks/help.gif" border="0" alt="$lang->toplinks_help/>$lang->toplinks_help</a></li>
</
ul> <ul>




</
ul> <ul>




</
ul>
<
ul>




</
ul>
</
div

mal in:
PHP-Code:
<div class="menu"> <ul>
<
li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search/>$lang->toplinks_search</a></li>
<
li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist/>$lang->toplinks_memberlist</a></li>
<
li><a href="$settings[bburl]/calendar.php"><img src="$theme[imgdir]/toplinks/calendar.gif" border="0" alt="$lang->toplinks_calendar/>$lang->toplinks_calendar</a></li><li><a href="$settings[bburl]/chat.php"><img src="$settings[bburl]/images/chat.gif" border="0" alt="Chat">Chat</a></li>
<
li><a href="$settings[bburl]/misc.php?action=help"><img src="$theme[imgdir]/toplinks/help.gif" border="0" alt="$lang->toplinks_help/>$lang->toplinks_help</a></li>
</
ul>
</
div

Das müsste das Problem lösen. Allerdings kann ich mir nict vorstellen, dass das an Änderungen der Berechtigungen liegt...

NetHunter

Ersetze deinen Code damit:

Code:
<script language="Javascript" type="text/javascript">
var cookieDomain = "$settings[cookiedomain]";
var cookiePath = "$settings[cookiepath]";
var quickdelete_confirm = "$lang->quickdelete_confirm";
var newpm_prompt = "$lang->newpm_prompt";
var deleteevent_confirm = "$lang->deleteevent_confirm";
var removeattach_confirm = "$lang->removeattach_confirm";
</script>
<a name="top"></a>
<div id="container">
<div id="header">
<table width="100%" border="0">
<tr>
<td><div class="logo" align="left"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></div></td>
<td><div class="logo" align="right">$easybanner</div> </td>
</tr>
</table>

<div class="menu"> <ul>
<li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search" />$lang->toplinks_search</a></li>
<li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist" />$lang->toplinks_memberlist</a></li>
<li><a href="$settings[bburl]/calendar.php"><img src="$theme[imgdir]/toplinks/calendar.gif" border="0" alt="$lang->toplinks_calendar" />$lang->toplinks_calendar</a></li><li><a href="$settings[bburl]/chat.php"><img src="$settings[bburl]/images/chat.gif" border="0" alt="Chat">Chat</a></li>
<li><a href="$settings[bburl]/misc.php?action=help"><img src="$theme[imgdir]/toplinks/help.gif" border="0" alt="$lang->toplinks_help" />$lang->toplinks_help</a></li>
</ul>

</div>
<hr class="hidden" />
<div id="panel">
$welcomeblock
</div>
</div>
<hr class="hidden" />
<br class="clear" />
$bar <div id="content">
$bannedwarning
$bbclosedwarning
$unreadreports
$boardmsg
<navigation><br />$boardmessage
<br class="clear" />

Hallo Mak und NetHunter,

vielen Dank an euch beide! Ich habe den Code durch den von euch ersetzt, und jetzt ist wieder alles OK.

Was mich noch interessieren würde, ob ihr wißt, wie es zu solchen Doppel-Einträgen kommt, bzw. wie ich diese in Zukunft vermeiden kann.
Denn inzwischen habe ich ein ähnliches Problem auf der Seite "Board Settings" im ACP: Dort stehen 13 (!) Identische Einträge des "Easy Adv. Banner", und das, obwohl ich diesen inzwischen im Plugin Manager deaktiviert und gelöscht hatte.

Viel Grüße, Tanguero
Also von selbst passier sowas eigentlich garnicht... Hast du irgendwas an der Datenkbank geändert, irgendwelche Dateien ausgefügt oder irgendein Script (versehentlich) mehrmals ausgeführt?

NetHunter

Schau dir mal deine Logfiles an. Vielleicht hat ein CoAdmin daran geschraubt. Ansonsten kann ich auch nur sagen, von allein passiert das nicht. Ist mir persönlich auch noch niemals untergekommen.
Seiten: 1 2