The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
Hi darnoldy,
Thank you for your help. Your example works almost perfect. First I had to change the "=" to "==". The problem with the your solution is if a user makes a post in the thread or clicks on the bread crumb, the alpha sorting is lost. I ended up modifying the forumdisplay.php as follows. This works perfect. Code:
Find: if ($vbulletin->GPC['sortorder'] != 'asc') REPLACE it with: if ($vbulletin->GPC['sortorder'] != 'asc' AND $foruminfo['forumid'] != 'XX') Find: $sqlsortfield = 'lastpost'; $sortfield = 'lastpost'; REPLACE it with: if ($foruminfo['forumid'] == 'XX'): $sqlsortfield = 'thread.title'; $sortfield = 'thread.title'; else: $sqlsortfield = 'lastpost'; $sortfield = 'lastpost'; endif; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|