PDA

View Full Version : [Forumdisplay] Put Closed Thread under Open Threads


Freezerator
07-20-2004, 05:42 AM
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 :)

nexialys
07-20-2004, 10:14 AM
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.

Brad
07-20-2004, 10:37 AM
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.

AN-net
07-20-2004, 05:08 PM
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;)

Freezerator
07-22-2004, 07:46 AM
BRad: did you have time to take a look?

I would really apreciate it.