The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[Forumdisplay] Put Closed Thread under Open Threads
Very simpel, but i don't know how.
Here is my thought. On very busy forums, there are a lot of closed threads and redirects. When you close a thread, it still remains on the time of last posted. I would be much more easy for the eye if you move them down. He are forums that have that posibility: http://gathering.tweakers.net/forum/list_topics/7 As you can see, al closed threads are under |
#2
|
|||
|
|||
this mean another query, to verify the closed status and put the threads in the end of the page or list... this is the same thing to look at stickies... but after the main query.
|
#3
|
|||
|
|||
I think you can get away with no extra querys if you do some modifications to the while loop in forumdisplay and some template modification. Thread status are already stored and queried in forumdisplay when constructing the threadbits, you would just need to check for the status of the thread then asign the closed threads to anthor var for display.
I'm heading towards the bed now but I will look at it this afternoon. |
#4
|
||||
|
||||
yes the status is already queried so all would be needed is a conditional statement and maybe a change of template such as instead of threadbit it is threadbit_closed and place the new template under the threadbit template in forumdisplay. at least thats my thinking
|
#5
|
|||
|
|||
BRad: did you have time to take a look?
I would really apreciate it. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|