Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen: 4 Gast/Gäste
Problem mit eval() und den Templates
#1
Also ich hab mit mein Forum den Server gewechselt hab diese anleitung benutzt
https://www.mybb.de/doku/haeufig-gestell...um-um.html

Alles hat super geklapt doch dan hab ich in Template>Header ein Link in der Navibar ausgetauscht dan komt dieser Fehler:

Parse error: syntax error, unexpected T_NS_SEPARATOR, expecting T_STRING in /users/wow/www/global.php(326) : eval()'d code on line 6

Mein Tempalte code:
Zitat:<!-- MENU ALTO SINISTRO NAV -->
<td width=\"1%\"></td>
<td width=\"15%\">
<table cellpadding=\"0\" cellspacing=\"0\"><tr><td>
<a href=\"{$mybb->settings[\'bburl\']}/usercp.php\"><img id=\"ttcp\" class=\"ttcp\" src=\"{$mybb->settings[\'bburl\']}/images/duepuntozero/usercpicona.png\" style=\"opacity:0.4;filter:alpha(opacity=40)\" onmouseover=\"this.style.opacity=1;this.filters.alpha.opacity=100\" onmouseout=\"this.style.opacity=0.4;this.filters.alpha.opacity=40\" /></a>
<script language=\"javascript\">
new Tip(\'ttcp\', \'A Powerful Control Panel\', {
title: \'User CP\',
style: \'darkgrey\'
});
</script>
</td><td width=\"2\"></td>
<!-- <td>
<div class=\"htmltooltip\">Effettua l\'upgrade al <strong>gruppo VIP</strong> e potrai accedere a numerose hacks/cheats non ancora disponibili al pubblico (<em>100% UNDETECTED</em>)</div>
<a href=\"{$mybb->settings[\'bburl\']}/subscribe.php\" rel=\"htmltooltip\"><img src=\"{$mybb->settings[\'bburl\']}/images/duepuntozero/vipicona.png\" style=\"opacity:0.4;filter:alpha(opacity=40)\" onmouseover=\"this.style.opacity=1;this.filters.alpha.opacity=100\" onmouseout=\"this.style.opacity=0.4;this.filters.alpha.opacity=40\" /></a>
</td>--><td width=\"2\"></td>
{$modcplink}
{$admincplink}
<td>
<a href=\"{$mybb->settings[\'bburl\']}/member.php?action=logout&amp;logoutkey={$mybb->user[\'logoutkey\']}\">
<img id=\"ttlogout\" class=\"ttlogout\" src=\"{$mybb->settings[\'bburl\']}/images/duepuntozero/logouticona.png\" style=\"opacity:0.4;filter:alpha(opacity=40)\" onmouseover=\"this.style.opacity=1;this.filters.alpha.opacity=100\" onmouseout=\"this.style.opacity=0.4;this.filters.alpha.opacity=40\" /></a>
<script language=\"javascript\">
new Tip(\'ttlogout\', \'Logout from the site\', {
title: \'LogOut\',
style: \'darkgrey\'
});
</script>
</td></tr></table>

<!-- MENU ALTO CENTRO NAV -->
<td width=\"68%\">


<!-- MENU CENTRALE -->

<link rel=\"stylesheet\" type=\"text/css\" href=\"{$mybb->settings[\'bburl\']}/images/duepuntozero/js/style2.css\" />



<table align=\"center\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>

<div id=\"navigaforum\">
<ul>

<li><a href=\"http://wow.bplaced.net/News.php\">News</a></li>
&nbsp; <li><a href=\"{$mybb->settings[\'bburl\']}/index.php\">Forum</a></li>
<li><a href=\"{$mybb->settings[\'bburl\']}/search.php\">Suche</a></li>
<li><a href=\"{$mybb->settings[\'bburl\']}/memberlist.php\">Mitglieder</a></li>
<li><a href=\"{$mybb->settings[\'bburl\']}/Partner.php\">Partner</a></li>

<li><a href=\"http://web55.hq-sponsoring.de/\">Gamersreview</a></li></ul> </ul>
</div>

</td></tr></table>

</td>

<!-- MENU ALTO DESTRA NAV -->
<td width=\"15%\">
<div align=\"right\">
<table cellpadding=\"0\" cellspacing=\"0\"><tr><td>

<a href=\"{$mybb->settings[\'bburl\']}/private.php\"><img id=\"ttmp\" class=\"ttmp\" style=\"opacity:0.4;filter:alpha(opacity=40)\" onmouseover=\"this.style.opacity=1;this.filters.alpha.opacity=100\" onmouseout=\"this.style.opacity=0.4;this.filters.alpha.opacity=40\" src=\"{$mybb->settings[\'bburl\']}/images/duepuntozero/mailicona.png\" /></a>
<script language=\"javascript\">
new Tip(\'ttmp\', \'Contact other users via Private Messages\', {
title: \'MP System\',
style: \'darkgrey\'
});
</script>
</td><td width=\"2\"></td><td>

<a href=\"{$mybb->settings[\'bburl\']}/search.php?action=getnew\"><img id=\"tttopic\" class=\"tttopic\" style=\"opacity:0.4;filter:alpha(opacity=40)\" onmouseover=\"this.style.opacity=1;this.filters.alpha.opacity=100\" onmouseout=\"this.style.opacity=0.4;this.filters.alpha.opacity=40\" src=\"{$mybb->settings[\'bburl\']}/images/duepuntozero/topicicona.png\" /></a>
<script language=\"javascript\">
new Tip(\'tttopic\', \'Read newest topics in the forum\', {
title: \'New Topics\',
style: \'darkgrey\'
});
</script>

</td><td width=\"2\"></td><td>

<a href=\"{$mybb->settings[\'bburl\']}/misc.php?action=syndication\"><img id=\"ttrss\" class=\"ttrss\" style=\"opacity:0.4;filter:alpha(opacity=40)\" onmouseover=\"this.style.opacity=1;this.filters.alpha.opacity=100\" onmouseout=\"this.style.opacity=0.4;this.filters.alpha.opacity=40\" src=\"{$mybb->settings[\'bburl\']}/images/duepuntozero/rssicona.png\" /></a>
<script language=\"javascript\">
new Tip(\'ttrss\', \'Subscrive RSS Feed\', {
title: \'RSS Syndacation\',
style: \'darkgrey\'
});
</script>

</td></tr></table>
</div>
</td>
<td width=\"1%\"></td>
</tr>
</table>
#2
https://www.mybb.de/forum/thread-21999.html
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
#3
Hat mri auch nciht wieter geholfen fehler bleibt immer noch
#4
Hast du die ganzen \ entfernt?
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
#5
Falls nicht hier :

Zitat:<!-- MENU ALTO SINISTRO NAV -->
<td width="1%"></td>
<td width="15%">
<table cellpadding="0" cellspacing="0"><tr><td>
<a href="{$mybb->settings['bburl']}/usercp.php"><img id="ttcp" class="ttcp" src="{$mybb->settings['bburl']}/images/duepuntozero/usercpicona.png" style="opacity:0.4;filter:alpha(opacity=40)" onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" /></a>
<script language="javascript">
new Tip('ttcp', 'A Powerful Control Panel', {
title: 'User CP',
style: 'darkgrey'
});
</script>
</td><td width="2"></td>
<!-- <td>
<div class="htmltooltip">Effettua l'upgrade al <strong>gruppo VIP</strong> e potrai accedere a numerose hacks/cheats non ancora disponibili al pubblico (<em>100% UNDETECTED</em>)</div>
<a href="{$mybb->settings['bburl']}/subscribe.php" rel="htmltooltip"><img src="{$mybb->settings['bburl']}/images/duepuntozero/vipicona.png" style="opacity:0.4;filter:alpha(opacity=40)" onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" /></a>
</td>--><td width="2"></td>
{$modcplink}
{$admincplink}
<td>
<a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">
<img id="ttlogout" class="ttlogout" src="{$mybb->settings['bburl']}/images/duepuntozero/logouticona.png" style="opacity:0.4;filter:alpha(opacity=40)" onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" /></a>
<script language="javascript">
new Tip('ttlogout', 'Logout from the site', {
title: 'LogOut',
style: 'darkgrey'
});
</script>
</td></tr></table>

<!-- MENU ALTO CENTRO NAV -->
<td width="68%">


<!-- MENU CENTRALE -->

<link rel="stylesheet" type="text/css" href="{$mybb->settings['bburl']}/images/duepuntozero/js/style2.css" />



<table align="center" cellpadding="0" cellspacing="0"><tr><td>

<div id="navigaforum">
<ul>

<li><a href="http://wow.bplaced.net/News.php">News</a></li>
&nbsp; <li><a href="{$mybb->settings['bburl']}/index.php">Forum</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">Suche</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">Mitglieder</a></li>
<li><a href="{$mybb->settings['bburl']}/Partner.php">Partner</a></li>

<li><a href="http://web55.hq-sponsoring.de/">Gamersreview</a></li></ul> </ul>
</div>

</td></tr></table>

</td>

<!-- MENU ALTO DESTRA NAV -->
<td width="15%">
<div align="right">
<table cellpadding="0" cellspacing="0"><tr><td>

<a href="{$mybb->settings['bburl']}/private.php"><img id="ttmp" class="ttmp" style="opacity:0.4;filter:alpha(opacity=40)" onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" src="{$mybb->settings['bburl']}/images/duepuntozero/mailicona.png" /></a>
<script language="javascript">
new Tip('ttmp', 'Contact other users via Private Messages', {
title: 'MP System',
style: 'darkgrey'
});
</script>
</td><td width="2"></td><td>

<a href="{$mybb->settings['bburl']}/search.php?action=getnew"><img id="tttopic" class="tttopic" style="opacity:0.4;filter:alpha(opacity=40)" onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" src="{$mybb->settings['bburl']}/images/duepuntozero/topicicona.png" /></a>
<script language="javascript">
new Tip('tttopic', 'Read newest topics in the forum', {
title: 'New Topics',
style: 'darkgrey'
});
</script>

</td><td width="2"></td><td>

<a href="{$mybb->settings['bburl']}/misc.php?action=syndication"><img id="ttrss" class="ttrss" style="opacity:0.4;filter:alpha(opacity=40)" onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" src="{$mybb->settings['bburl']}/images/duepuntozero/rssicona.png" /></a>
<script language="javascript">
new Tip('ttrss', 'Subscrive RSS Feed', {
title: 'RSS Syndacation',
style: 'darkgrey'
});
</script>

</td></tr></table>
</div>
</td>
<td width="1%"></td>
</tr>
</table>
#6
Danke 12dc12 und StefanT