Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Sort Forumdisplay by First Post Date Details »»
Sort Forumdisplay by First Post Date
Version: 1.00, by Lynne Lynne is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.2.5 Rating:
Released: 11-29-2009 Last Update: Never Installs: 28
Uses Plugins Template Edits
Re-useable Code Translations  
No support by the author.

This just allows users to sort by First Post Date via a new clickable link in the table head next to Thread Starter.

Version History:
1.0 2009-11-30: initial release by Lynne at vbulletin.org

To install:

1. Import product-lynne_sort_dateline.xml

2. If you are using Andreas' Template Modification System, then the template edits to the FORUMDISPLAY template should import and install when you install this product. If you aren't using TMS, then you will have to make the template modification yourself via the following instructions.

Open the FORUMDISPLAY template and find the following line:
HTML Code:
<a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_postusername}}" rel="nofollow">{vb:rawphrase thread_starter}{vb:raw sortarrow.postusername}</a>
Add below:
HTML Code:
/ <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_dateline}}" rel="nofollow">{vb:rawphrase first_post_date}{vb:raw sortarrow.dateline}</a></span>
This is an image of what you will end up with. However, currently the code to show the first post date is not in the forumdisplay.php page. It's supposed to be there (hover over the Posted by xxxx under the title), so hopefully it shows up soon.




To uninstall:

1. Uninstall "Forumdisplay - Sort by First Post Date"

2. If you had to do the template edit above manually, then you will need to undo it.


Until they fix the issue with the first post date not showing on hover, you can add a plugin using the threadbit_display hook location with the following code:
PHP Code:
$thread['fdate'] = vbdate($vbulletin->options['dateformat'], $thread['dateline']);
$thread['ftime'] = vbdate($vbulletin->options['timeformat'], $thread['dateline']);

$thread['postdate'] = $thread['fdate'] .' '$thread['ftime']; 

Download Now

File Type: zip Sort by First Post Date.zip (12.6 KB, 97 views)

Screenshots

File Type: png first_post_date.png (8.2 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 10-14-2010, 07:56 PM
bigrover bigrover is offline
 
Join Date: Jun 2010
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the hover supposed to look like? Where would I see it?

This is a nice feature mod, by the way.
Reply With Quote
  #13  
Old 10-14-2010, 11:12 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigrover View Post
What is the hover supposed to look like? Where would I see it?

This is a nice feature mod, by the way.
This was released back in the beta days when they did not show the date under the thread title. Hovering would show the date back then (and still does, but you no longer have to hover in order to see it).
Reply With Quote
  #14  
Old 10-15-2010, 10:00 AM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged...great work Lynne
Reply With Quote
  #15  
Old 06-19-2012, 01:53 PM
JabirA JabirA is offline
 
Join Date: Feb 2009
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work in 4.1.12?
Reply With Quote
  #16  
Old 09-10-2015, 03:11 AM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JabirA View Post
Does this work in 4.1.12?
Yes, Thanks.

I use 4.2.2

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 05:28 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.07679 seconds
  • Memory Usage 2,283KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_html
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete