The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
SQL Sort Field not working in 3.8?
I'm trying to use this plugin to put open topics above closed topics:
PHP Code:
|
#2
|
||||
|
||||
You might want to try $thread or $threadinfo instead of $foruminfo.
|
#3
|
||||
|
||||
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! |
#4
|
||||
|
||||
Threads have a forumid associated with them. Did you try what I suggested?
|
#5
|
||||
|
||||
Verify that you are actually getting inside the loop (add an exit; inside the loop).
|
#6
|
||||
|
||||
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 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|