MyBB.de Forum
Verdoppelte Buttons - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Theme-Diskussionen (https://www.mybb.de/forum/forum-84.html)
+--- Thema: Verdoppelte Buttons (/thread-1803.html)

Seiten: Seiten: 1 2


Verdoppelte Buttons - Tanguero - 20.04.2006

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


RE: Verdoppelte Buttons - Scorpio - 20.04.2006

Kannst du mal bitte Link zu deinem Forum geben mir dem Fehler?


RE: Verdoppelte Buttons - Tanguero - 21.04.2006

Hallo Scorpio,

hier der Link zu meinem Forum: http://www.tango-city.de


RE: Verdoppelte Buttons - DaStaFlexX - 21.04.2006

guck mal im Template "header" nach,
ob da die Buttons 4 mal angegeben wurden !

bis gli...
greetz DaStaFlexX


RE: Verdoppelte Buttons - Tanguero - 21.04.2006

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


RE: Verdoppelte Buttons - Mak - 21.04.2006

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...


RE: Verdoppelte Buttons - NetHunter - 21.04.2006

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" />




RE: Verdoppelte Buttons - Tanguero - 21.04.2006

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


RE: Verdoppelte Buttons - Mak - 21.04.2006

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?


RE: Verdoppelte Buttons - NetHunter - 21.04.2006

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.