boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

comments rank from latest

 
Post new topic   Reply to topic    boardom Forum Index -> Feature requests
View previous topic :: View next topic  
Author Message
freddo1



Joined: 26 May 2004
Posts: 1

PostPosted: Wed May 26, 2004 3:36 am    Post subject: comments rank from latest Reply with quote

surely it would make more sense to have the latest comments at the top of the list of comments. the way it's set up now, you must scroll all the way down to the latest comment after clicking on the comments link. not elegant.

cheers,
matt
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 357

PostPosted: Wed May 26, 2004 5:07 pm    Post subject: Reply with quote

In b2commentspopup.php just add DESC to
Code:
$queryc = "SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_content NOT LIKE '%<trackback />%' ORDER BY comment_date";
so it reads
Code:
$queryc = "SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_content NOT LIKE '%<trackback />%' ORDER BY comment_date DESC";
and similarly in b2comments.php
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Feature requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group