Hello,
Is it possible to display the threads in reverse order: so that the last posting appears at the top of the page and not at the bottom?
Sie können im Deutsch antworten.
Danke.
Erik
Ort: / Boardübersicht / English support board / Display threads in reverse order
Seite 1 von 1
Hello,
Is it possible to display the threads in reverse order: so that the last posting appears at the top of the page and not at the bottom?
Sie können im Deutsch antworten.
Danke.
Erik
I have changed
ORDER BY post.posttime ASC to
ORDER BY post.posttime DESC in showtopic.php
The last posting appears at the top of the page now, but the numbering of the threads does not. So the numbering stays ascending.
I hope someone can help me with this.
Thanks,
Erik
sorry, but if the numbers would count down, there would be a great problem, because you'd have to REWRITE EVERY postnumber everytime you post a new answer...
Jonas postete
sorry, but if the numbers would count down, there would be a great problem, because you'd have to REWRITE EVERY postnumber everytime you post a new answer...
and that would be veeeeeeeeeeeeeeeeeeery slow
that's the point i aimed at ;)
I guess you're talking about the increasing post number above the username?
Actually, it's neither complicated nor slow.
open up your showtopic.php, near line 61
replace
$i = $post_start;
with
$i = ($postings - 1) - $post_start;
~line 200
replace
$i++;
with
$i--;
that should work ..
oh...
oups...
i thought it was saved in the database *gd&r*
Thanks Darth Paul,
This was exactly what I was looking for.
Erik
Seite 1 von 1