try another color scheme:


Go Back   TECH6.0 > Web Design/Development and SEO > Internet Forum Softwares > vBulletin


Sort by Open/Close Status

This is a discussion on Sort by Open/Close Status within the vBulletin section, part of the Internet Forum Softwares category; One of my forums, has both open and closed threads in it. Currently, these are sorted by Last Post Time. ...

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 25-09-2008, 03:35 PM
No Avatar

Techie
 
Join Date: Aug 2008
Location: United States
Posts: 54
MisawaPlayer is on a distinguished road
Send a message via Yahoo to MisawaPlayer
Default Sort by Open/Close Status

One of my forums, has both open and closed threads in it. Currently, these are sorted by Last Post Time. This results in the Open and Closed threads being mixed together. I want to keep the closed threads, but I want them at the bottom of the list. Can I do this, while keeping the Last Post Time ordering within the Open and Closed.

i.e.
All Opens
Sorted by Last Post Time

All Closed
Sorted by Last Post Time

Thank you.
Reply With Quote
  #2  
Old 25-09-2008, 06:52 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

well that would require hacking of code ! Also said by vb staff.

coz if you see in FORUMDISPLAY template, you have this:-

HTML Code:
<!-- show threads -->
    <tbody id="threadbits_forum_$foruminfo[forumid]">
    <if condition="$show['stickies']">
    $threadbits_sticky
    </if>
    $threadbits
    </tbody>
<!-- end show threads --> 
There is NO variable for closed threads like we have for stickythreads. $threadbits consists of both open and closed threads.

So, you'll probably have to work in forumdisplay.php to get it done.
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #3  
Old 26-09-2008, 12:27 AM
No Avatar

Techie
 
Join Date: Aug 2008
Location: United States
Posts: 54
MisawaPlayer is on a distinguished road
Send a message via Yahoo to MisawaPlayer
Default

OK, thanks. I thought this is where I would have to do it, but was hoping there was a "simpler" way that I was missing.
Reply With Quote
Reply

Bookmarks

Tags
closed threads, forumdisplay


Thread Tools
Display Modes




All times are GMT +5.5. The time now is 09:10 AM.

Contact Us - Tech6.com - Link to Us - Advertise - Submit Site - Privacy Statement - TOS - Top