Hallo,
leider wurde folgendes Thema geschlossen:
http://www.pragmamx.org/Forum-topic-22653.html
Ich habe pmx 0.1.9 und die index.php von Andi aus dem Thread oben überspielt.
Leider hat dies nicht funktioniert (ein Call to undefined function fehler und keine Blöcke werden angezeigt).
Die modules/Top/index.php aus 0.1.10 funktioniert auch nicht (0.1.10 is required)
Hat jemand die modules/Top/index,php aus 0.1.9 parat, diese datei hab ich mir auf der Festplatte leider überschrieben.
Danke
:)
Zitat von: Webfan am 25 Mai 2009, 21:17:29
Hat jemand die modules/Top/index,php aus 0.1.9 parat
klar...
Danke m-t :)
Ich habe Zeile 109 geändert von
$result = sql_query("select sid, title, score, ratings from ${prefix}_stories $querya1lang score!=0 ORDER BY (ratings+score) DESC limit 0,$top");
nach
$result = sql_query("select sid, title, score, ratings from ${prefix}_stories $querya1lang score!=0 ORDER BY (ratings/score) ASC limit 0,$top");
nuin scheint es unter 0.1.9 zu funzen.
Obwohl ich nicht weiß warum, müßte es nicht DESC heißen? :gruebel:
http://www.webfan.de/Top.html
ZitatORDER BY (ratings+score)
nach
ZitatORDER BY (ratings/score)
"
order by" in klammern?
Ja, das stand da so in Klammer, ich hab nur + nach / geändert.