By default I can set how new user registrations are set (i.e. linear - newest post first) but for guests this isn't an option.
I saw someone suggest this, but it does not seem to work (older post) - anyone know how to do this in 3.7x?
Quote:
global_start
PHP Code:
$vbulletin->userinfo['postorder'] = ($vbulletin->userinfo['postorder'] OR $show['guest']);
|
Basically I want guests browsing our forums to use linear - newest first.
--------------- Added [DATE]1221257253[/DATE] at [TIME]1221257253[/TIME] ---------------
Answering my own - appears this works (change showthread.php)
// ************************************************** *******************************
// set post order
if ($vbulletin->userinfo['postorder'] == 0)
{
$postorder = '';
}
else
{
$postorder = 'DESC';
}
// set default post order for guests
if ($bbuserinfo['userid'] == 0)
{
$postorder = 'DESC';
}