The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
Hi,
I wanted to change that to, and did it like this : in forumdisplay.php at line 532 you will find this : case 'title': $sqlsortfield = 'thread.title'; break; case 'lastpost': case 'replycount': case 'views': case 'postusername': $sqlsortfield = $sortfield; break; case 'voteavg': if ($foruminfo['allowratings']) { $sqlsortfield = 'voteavg'; break; } // else, use last post default: $sqlsortfield = 'lastpost'; $sortfield = 'lastpost'; I changed it to this : case 'title': $sqlsortfield = 'thread.title'; break; case 'lastpost': case 'replycount': case 'views': case 'postusername': $sqlsortfield = $sortfield; break; case 'voteavg': if ($foruminfo['allowratings']) { $sqlsortfield = 'voteavg'; break; } // else, use last post default: $sqlsortfield = 'threadid'; $sortfield = 'threadid'; The last 2 lines changed and it worked. Cheers. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|