vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [Forumdisplay] Put Closed Thread under Open Threads (https://vborg.vbsupport.ru/showthread.php?t=67397)

Freezerator 07-20-2004 05:42 AM

[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 :)

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.


All times are GMT. The time now is 08:50 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
  • Page Generation 0.01168 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete