vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Thread Creation Date - Enhanced Version (https://vborg.vbsupport.ru/showthread.php?t=68878)

Ocean 08-29-2004 10:00 PM

Thread Creation Date - Enhanced Version
 
Thread Creation Date - Enhanced Version v1.3.5


Version: 1.3.5
vB Version: 3.0.4
Developer: Ocean
Install Difficulty: Moderate


Description:

This hack will add a new sortable column to your ForumDisplay, as well as the UserCP for Subscribed Threads, that will show the Date of Creation of each of your threads. In addition, you can also sort by Creation Date via the Display Options of ForumDisplay.



Release History:


Version 1.3.5 Notes:

Fixed the column span issue for Searches


Version 1.3.4 Notes:

Fixed the column span issue for Thread Redirects


Version 1.3.3 Notes:

Fixed the column span issue for Announcements and Soft Deleted Threads


Version 1.32 Notes:

Minor changes to code being searched for (Updating for most recent version of vB). If you successfully installed 1.31, you don't need to worry about 1.32.


Version 1.31 Notes:

I have added the sort by Creation Date option for the Display Options of ForumDisplay


Version 1.3 Notes:

I have added the ability to sort by Creation Date for both ForumDisplay, as well as Subscribed Threads. (Thanks, KirbyDE for your help with this!)


Version 1.2 Notes:

This hack was originally released by VBDev. There were a number of issues, however, that needed to be dealt with. As VBDev was no longer responding to his Thread on vBulletin.org, nor was he responding on his home forum, I updated this hack to correct the following issues:


1. The "Threadbit" template had changed between 3.0.0 and 3.0.3.

2. The original version of this hack did not support the Subscribed Threads section in your UserCP.

3. The original version of this hack caused problems with the Subscribed Threads section of the UserCP. An additional empty column was created, where the Thread Creation Date should have been - but that threw the synchronization off between column headers and data.

Polo 08-30-2004 08:30 PM

how many queries does this hack adds to a board?

Ocean 08-30-2004 08:43 PM

Quote:

Originally Posted by Polo

how many queries does this hack adds to a board?

Zero!

How's that? :)

Polo 08-30-2004 08:47 PM

Quote:

Originally Posted by Ocean
Zero!

How's that? :)

Nice ;)

sblum 08-31-2004 05:34 AM

I think this will also cause problems with the forumdisplay_announcement and threadbit_deleted templates - though it's just a simple colspan issue. Easily fixable.

Ocean 08-31-2004 10:52 AM

Quote:

Originally Posted by sblum

I think this will also cause problems with the forumdisplay_announcement and threadbit_deleted templates - though it's just a simple colspan issue. Easily fixable.

Hmm. If you can show me the circumstances where these problems might come up, I can test it and make the required changes, if an issue shows itself.

sblum 09-01-2004 01:16 AM

Unless you make changes in these templates, an announcement will not span the whole width of the table, same with a soft-deleted thread (due to the column you add here). Make an announcement on a board with this hack installed, I'm pretty sure you'll see what I mean.

Ocean 09-01-2004 12:05 PM

Quote:

Originally Posted by sblum

Unless you make changes in these templates, an announcement will not span the whole width of the table, same with a soft-deleted thread (due to the column you add here). Make an announcement on a board with this hack installed, I'm pretty sure you'll see what I mean.

Fixed. I've updated the hack to v1.3.3.


Thanks, sblum, for the heads up! :)

btappan 09-01-2004 02:21 PM

does this show a creation date column in the search results as well? if so, how could you make the creation date the default sort order?

Ocean 09-01-2004 06:28 PM

Quote:

Originally Posted by btappan

does this show a creation date column in the search results as well? if so, how could you make the creation date the default sort order?

Yes, it will show the Thread Creation Date column in the Search results as well. And as for making it the default sort order - that has nothing to do with this hack directly - you would set it in vBthe same way you would for any other sort order.

For making this change on a person by person basis, in the Advanced Search window, under "Sort Results By" field, just choose "Thread Start Date" and save your search preferences.

If you wanted to make it the defautl for vB in general - I think you would have to edit the Search.php file to set that, as I don't think it's availabel as an option in the AdminCP.


All times are GMT. The time now is 10:05 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.01096 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete