View Full Version : Group Closed Threads below Open Threads
Matthijs
07-29-2005, 01:44 PM
I've seen this on some other forum software and modded it into my current phpBB installation. Do you guys with experience in the vB codebase think this will be hard to code?
What I will be doing is adding a quick-and-dirty if() statement because I only need it in 1 specific forum. What do you guys think, will this be easy?
Andreas
07-29-2005, 01:52 PM
In vBulletin 3.5 it's a 1 Line Plugin.
Hookname: forumdisplay_query
$sqlsortfield = "(open != 0) DESC, $sqlsortfield";
For vBulletin 3.0
In forumdisplay.php
FIND
ORDER BY sticky DESC, $sqlsortfield $sqlsortorder
REPLACE that with
ORDER BY sticky DESC, (open != 0) DESC, $sqlsortfield $sqlsortorder
Matthijs
08-01-2005, 06:23 AM
Cool! Thanks a lot!
futuredood
11-23-2008, 11:39 PM
Hi is this available for 3.6?
Lynne
11-24-2008, 03:05 PM
Try the plugin suggested and see if it works.
xlguy
02-02-2009, 09:48 AM
Doesn't seem to work in 3.8, strange.
jamaesi
12-31-2011, 12:56 AM
I've been searching for awhile in vain, is there a way to do this on vB 3.8 or vB 4?
The 1 line plugin above seems to work on 4.1.9, so it should work for the 3.X versions as well.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.