Log in

View Full Version : Thread start time/date in forum-display


papoo
04-11-2004, 10:00 PM
show the date/time of the first posting of a thread on forum-display

Yapluka
04-12-2004, 06:45 PM
I always wondered why this isn't a vbulletin feature... and Papoo did it :nervous:

Thanks once again !

Gio Takahashi
04-12-2004, 07:46 PM
I will need this, gonna install later on.

FleaBag
04-12-2004, 08:59 PM
Sweet, just installed this - thanks.

Boofo
04-13-2004, 05:42 AM
What about the search results? ;)

Tarion
04-13-2004, 05:20 PM
What about the search results? ;)
yes what about the search results?

VAN
04-14-2004, 05:36 AM
::crosses one more off of his list::

Thanks!

*edit: How about adding this for Announcements as well? ;)

MrNase
04-14-2004, 09:45 AM
nice one. I released it at vbdesigns.de a couple of weeks ago and forgot to release it here :D

Tim Wheatley
04-14-2004, 02:19 PM
Just a question... Does this allow you to order the forumdisplay by the first post's date/time?

gmarik
04-14-2004, 05:27 PM
Oh, yeah, this is what I needed...

Limitter
04-15-2004, 10:17 AM
*installed*

thx

Limitter

Yapluka
04-15-2004, 10:55 AM
Just a question... Does this allow you to order the forumdisplay by the first post's date/time?

I answer for Papoo, too much busy : at this time, no. But may be later, and for search result, too...

dookie
04-15-2004, 06:00 PM
Only usefull if searchresults are working too. ;)

M.C.
04-25-2004, 02:31 AM
yes! it`ll be grand to make it work with searchresult page ass well ;) i was trying but i don`t know where in functions_serach.php or in serach.php need to add code and the code shuold be same as in functions_threadlist or different?

Eternal2u
04-25-2004, 06:52 AM
= just got a hardon for vb.org coder's..

No but seriously, great mod, great idea, now my forum spammers have no excuse for posting on ancient threads..

BigJohnson
04-26-2004, 09:12 AM
= just got a hardon for vb.org coder's..

No but seriously, great mod, great idea, now my forum spammers have no excuse for posting on ancient threads..
Is anyone trying to get the search results to show this as well? I would really like this.

Trekkie
05-05-2004, 05:15 PM
hope you do a addon for searchresults ?!

Mystics
05-05-2004, 05:50 PM
Edit search.php, find:thread.lastpost AS postdatelineReplace it with:thread.dateline, thread.lastpost AS postdateline

Boofo
05-05-2004, 05:55 PM
Edit search.php, find:thread.lastpost AS postdatelineReplace it with:thread.dateline, thread.lastpost AS postdateline

Don't forget adding it to the template for search results. ;)

Trekkie
05-06-2004, 07:35 AM
no adding to search results needed...

Thx Mystics

daveone
05-26-2004, 10:19 PM
i get this errormessage

Parse error: parse error, unexpected '<' in /srv/www/htdocs/web1/html/includes/functions_forumdisplay.php on line 127

Fatal error: Call to undefined function: process_thread_array() in /srv/www/htdocs/web1/html/forumdisplay.php on line 754

dookie
05-29-2004, 11:17 AM
you have to delete this in the functions_forumdisplay.php 2 times:

<!--======================date de creation by papoo===================-->

M.C.
05-29-2004, 01:33 PM
thanxxxx Mystics!!!

kira
07-16-2004, 04:39 AM
An excellent little hack with a helpful detail that should've been included as standard, especially ever since vb3 minimized the position of the thread creator to the teeny tiny area under the thread title. (Still don't understand that decision -- isn't the thread creator rather important info?)

Anyway. Many thanks for this useful tweak. :)

ZanexGt
01-15-2005, 07:17 PM
Thanks for the information Papoo, it works great!

chikkoo
08-06-2005, 05:06 AM
Anybody tried this mod in vb 3.5.0 ?

Boofo
08-06-2005, 08:41 AM
I think it was Kirby who did one for 3.5. ;)

Stargesicht
12-18-2005, 10:41 AM
Can i Have the Link to the 3.5. version, please??

zetetic
12-31-2006, 07:40 PM
I just upgraded my forum to 3.6.4 and made the attached plugin to recreate the functionality of this hack. Works fine for me, but your mileage may vary. You still have to make the template edit that's part of this hack, but just upload the plugin instead of making the file edit.

makaiguy
03-16-2007, 12:49 AM
I just upgraded my forum to 3.6.4 and made the attached plugin to recreate the functionality of this hack. Works fine for me, but your mileage may vary. You still have to make the template edit that's part of this hack, but just upload the plugin instead of making the file edit.

Thanks. Just added to my 3.5.4. Nice to have as a plugin to make future vB updating easier.

biome.pat
10-30-2008, 04:47 PM
If anyone's interested in sorting by "thread start-time" (after installing this mod, of course), then do this:

Open FORUMDISPLAY template and replace
$vbphrase[thread] Title / $vbphrase[thread_starter]
with
$vbphrase[thread] Title / $vbphrase[thread_starter] / $vbphrase[thread_time]

then replace
<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
with
<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername] /
<a href="$sorturl&amp;order=asc&amp;sort=dateline" rel="nofollow">$vbphrase[thread_time]</a> $sortarrow[dateline]

then finally, make a custom Global vbphrase called thread_time, and make it whatever you want the sort link to say (mine was "Thread Start-Time").

No need to change any PHP, because it looks like the coders had it set up to sort by a thread's dateline, but there's simply no button for it.

Cheers all