The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I need help to implement new thread sort order
I am looking to expand the options for thread sorting, but I can't seem to find where in the code this gets done. Can someone help me out?
For example, if I add a "Solved" button to each thread (which I know how to do), I would like to then offer the option of: Sort by: "Solved First", "Unsolved First" I just cannot locate where I would add this extra code. Thanks |
#2
|
|||
|
|||
Check the forumdisplay.php file around line 748.
There's a hook called "forumdisplay_sort", which should allow you to change the sort field. Something like this should work for the hook: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|