Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Thread Creation Date - Enhanced Version Details »»
Thread Creation Date - Enhanced Version
Version: 1.3.5, by Ocean Ocean is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.4 Rating:
Released: 08-29-2004 Last Update: 01-06-2005 Installs: 28
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-01-2004, 06:54 PM
btappan's Avatar
btappan btappan is offline
 
Join Date: May 2004
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ocean, thanks for the reply

thats what i was getting at. do you know how i might modify the search.php file to make the default sort by creation date?
Reply With Quote
  #13  
Old 09-01-2004, 10:32 PM
Ocean's Avatar
Ocean Ocean is offline
 
Join Date: Mar 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by btappan

Ocean, thanks for the reply

thats what i was getting at. do you know how i might modify the search.php file to make the default sort by creation date?
1. In the "Search.php" file, find:


PHP Code:
 
'sortby' => 'lastpost'

2. Change it to this:


PHP Code:
 
'sortby' => 'threadstart'

3. Now, Find:


PHP Code:
 
$sortby 
'lastpost'

4. And change that to this:


PHP Code:
 
$sortby 
'threadstart'


That should do it!
Reply With Quote
  #14  
Old 09-01-2004, 11:11 PM
btappan's Avatar
btappan btappan is offline
 
Join Date: May 2004
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still having problems

https://vborg.vbsupport.ru/showthrea...d=1#post548909
Reply With Quote
  #15  
Old 09-02-2004, 03:22 AM
Ocean's Avatar
Ocean Ocean is offline
 
Join Date: Mar 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by btappan
Try this, and see if it does the trick for the "New Posts" link:


In the "Search.php" file, Find:

PHP Code:
 
ORDER BY lastpost DESC 

Replace it with this:


PHP Code:
 
ORDER BY threadstart DESC 
Reply With Quote
  #16  
Old 09-02-2004, 10:27 AM
btappan's Avatar
btappan btappan is offline
 
Join Date: May 2004
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tied that as well, no luck ......theres another instance of laspost just after that as well that i tried changing to no work either.
Reply With Quote
  #17  
Old 09-02-2004, 12:10 PM
Ocean's Avatar
Ocean Ocean is offline
 
Join Date: Mar 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by btappan

I tied that as well, no luck ......theres another instance of laspost just after that as well that i tried changing to no work either.
Hmm. Well, rather than making you jump through more hoops - I'd say the fastest way for you to get an authoritative answer to this is to post this question in the "How Do I" forum on vBulletin.com.
Reply With Quote
  #18  
Old 09-03-2004, 09:20 PM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by btappan
I tied that as well, no luck ......theres another instance of laspost just after that as well that i tried changing to no work either.
Does this make it possible to make the thread sort by creation date automatically?
Reply With Quote
  #19  
Old 09-04-2004, 08:04 PM
nelto nelto is offline
 
Join Date: Sep 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to install this but I cant.

********************************

30. Now, Find:

**********

case 'postusername':
$sqlsortfield = $sortfield;
break;

********************************

That is to find on the subscription.php fiel but I cant find that in there.
Im runing VB 3.0.3

How can I do it?
Reply With Quote
  #20  
Old 09-04-2004, 08:46 PM
Ocean's Avatar
Ocean Ocean is offline
 
Join Date: Mar 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nelto

I tried to install this but I cant.

********************************

30. Now, Find:

**********


case 'postusername':
$sqlsortfield = $sortfield;
break;


********************************

That is to find on the subscription.php fiel but I cant find that in there.
Im runing VB 3.0.3

How can I do it?
Be careful that you're searching the right file. vBulletin has a Subscription.php as well as a Subscriptions.php file. You want the singular version of the file, NOT the plural.

In addition, a lot of text editors have a problem doing searches that include a line break. So, try searching for just "case 'postusername':" and make sure that the instance you find is the correct one by visually matching the surrounding code to the code specified it the Instructions.
Reply With Quote
  #21  
Old 09-04-2004, 08:54 PM
nelto nelto is offline
 
Join Date: Sep 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah great Ocean
btw one question

How can I had a new template to the VB?
Im trying to add some other hacks that require a new template but I dont knwo hwo to find it.

I'll let you know in a bit how this hack of yours works (if I got it installed.)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:57 AM.


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.04458 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete