PDA

View Full Version : Forum Display Enhancements - Sort Forumdisplay by First Post Date


Lynne
11-29-2009, 10:00 PM
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:
<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:
/ <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.

https://vborg.vbsupport.ru/attachment.php?attachmentid=106964&stc=1&d=1259608181


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:
$thread['fdate'] = vbdate($vbulletin->options['dateformat'], $thread['dateline']);
$thread['ftime'] = vbdate($vbulletin->options['timeformat'], $thread['dateline']);

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

Eric
11-30-2009, 06:28 PM
"4.0.0 RC1" ? I thought it was still in Beta.

Nice mod though :)

mokujin
11-30-2009, 06:38 PM
This Mod's version, not VBB version (maybe) :)

Lynne
11-30-2009, 06:59 PM
Whoops, I left the version at the default. It looks like they are getting ahead of themselves in the versions there!

Zaiaku
11-30-2009, 07:27 PM
I notice that on a few mods. I kept looking at vb.com to see if I mised something lol.

abdobasha2004
11-30-2009, 10:57 PM
thanks lynne
always the best

Dr.osamA
12-03-2009, 11:44 AM
installed

thnxxxx
________
Herbal vaporizer (http://herbalvaporizers.info)

SİMAR
12-03-2009, 01:32 PM
installed

thanks
__________

encryption
12-12-2009, 06:25 PM
I tried this on 3 and it took my forum down. I didn't realize it was 4 only! oops...

does anybody know of a version for 3.8x? I plan on upgrading to 4, so I fear I'll just have to wait

Blooded
03-13-2010, 12:56 AM
work in 4.0.2? really miss this option since 3.8 they took it away :(

bigrover
10-14-2010, 07:56 PM
What is the hover supposed to look like? Where would I see it?

This is a nice feature mod, by the way.

Lynne
10-14-2010, 11:12 PM
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).

COL NIL SATIS
10-15-2010, 10:00 AM
tagged...great work Lynne

JabirA
06-19-2012, 01:53 PM
Does this work in 4.1.12?

Manoel J?nior
09-10-2015, 03:11 AM
Does this work in 4.1.12?
Yes, Thanks.

I use 4.2.2

:)