![]() |
Sort threads in current page
Hi
I want to sort the threads as default (or selected) by the database. But before the top x threads are listed I want to make another sort. So if the sql-query returns the 20 latest threads, and I show 10 threads on each page. Then I will show thread 1-10 on page 1 and 11-20 on page 2. On page 1 however I want those 1-10 threads to be sorted in a different way than the latest first. For example by thread.title. I have found the forumdisplay_sort-hook and tried to manipulate it. This is some code from forumdisplay.php PHP Code:
Any ideas? |
All times are GMT. The time now is 09:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|