![]() |
SQL Sort Field not working in 3.8?
I'm trying to use this plugin to put open topics above closed topics:
PHP Code:
|
You might want to try $thread or $threadinfo instead of $foruminfo.
|
Right, but I want this on a per-forum basis, that's the only reason I have that loop.
Not sure why it's not working! |
Threads have a forumid associated with them. Did you try what I suggested?
|
Verify that you are actually getting inside the loop (add an exit; inside the loop).
|
Quote:
--------------- Added [DATE]1233763842[/DATE] at [TIME]1233763842[/TIME] --------------- Update: What seems to be happening is that sorting is happening (open above closed threads) but only on a page by page basis. So if I go to page 2, the open ones are above the closed ones on that page. But obviously I want all the open ones at the top of page #1. --------------- Added [DATE]1233767540[/DATE] at [TIME]1233767540[/TIME] --------------- Solved! Hope this helps others... Hook location: forumdisplay_query_threadid PHP Code:
A big thank you to Darkwaltz4 - such a nice guy :) |
All times are GMT. The time now is 05:02 PM. |
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:
|