The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|
![]() |
|
|