I am attempting to force the default sort order of posts to be descending, where newest posts are shown at the top of the page. The default in the file is ascending. But, the thing is that I am not sure which of the options I need to change for showing the default sort order of descending for seeing current posts and after posting a new message.
Below is the relevant code from viewtopic.php:
//
// Decide how to order the post display
//
if ( !empty($HTTP_POST_VARS['postorder']) || !empty($HTTP_GET_VARS['postorder']) )
{
$post_order = (!empty($HTTP_POST_VARS['postorder'])) ? $HTTP_POST_VARS['postorder'] : $HTTP_GET_VARS['postorder'];
$post_time_order = ($post_order == "asc") ? "ASC" : "DESC";
}
else
{
$post_order = 'asc';
$post_time_order = 'DESC';
}
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