MyBB.de Forum
[G] Gehe zu - Seo Links - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Archiv (https://www.mybb.de/forum/forum-57.html)
+--- Forum: MyBB 1.4.x (https://www.mybb.de/forum/forum-51.html)
+---- Forum: Bugs (https://www.mybb.de/forum/forum-54.html)
+----- Forum: Gemeldete/Nicht gemeldete Bugs (https://www.mybb.de/forum/forum-56.html)
+----- Thema: [G] Gehe zu - Seo Links (/thread-10267.html)



[G] Gehe zu - Seo Links - Sebastian1990 - 07.08.2008

Hi,

ich glaube es ist ein Bug.
Aber wenn man unten Rechts das gehe zu sieht und ein Forum wählt obwohl seo aktiviert ist, sind die Links nicht im Format seo. also statt forum-xx.html kommt: forumdisplay.php?fid=xx


Sebastian


RE: [G] Gehe zu - Seo Links - CoolRunner - 07.08.2008

Das kann ich bestätigen.
Liegt daran das es "Hartcodiert" ist und nicht dynamisch ist.
Auszug:

(Springe zu Forum Templates)
PHP-Code:
    <!-- startforumjump_advanced -->
<
form action="forumdisplay.php" method="get">

<
span class="smalltext"><strong>Gehe zu:</strong></span>
<
select name="fid" onchange="window.location=('forumdisplay.php?fid='+this.options[this.selectedIndex].value)">
<
option value="-1" >Bitte wähle:</option

Es sollte die Funktion get_forum_link - oder so was ähnliches benutzt werden. Dies wurde hier übersehen.

Die Zeile müsste bei SEO korrekt so heissen:
PHP-Code:
<select name="{$name}onchange="window.location=('forum-'+this.options[this.selectedIndex].value+'.html')"