Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Adds Thread Date/Time Started to lists of Threads Details »
Adds Thread Date/Time Started to lists of Threads
Mod Version: 1.00, by RogerPf (Member) RogerPf is offline
Developer Last Online: Jan 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.1 Rating: (1 vote - 5.00 average) Installs: 18
Released: 12 Jun 2008 Last Update: Never Downloads: 4
Not Supported Template Edits Code Changes Re-usable Code Translations  

There is a site www.WetCanvas.com that shows in its thread lists when a thread was started -



See http://www.wetcanvas.com/forums/forumdisplay.php?f=133 for live example

I have no connection with the admins of the above WetCanvas site. The following is not their code it is a mimic of their feature, much requested by users of our board.
To be honest I do not understand why this is not a standard feature. You can even sort the various thread lists by "thread start date" but you can't see the field that has just been sorted on! - OK, I know no product can have everything.
The Mod is in two parts

PHP file part
=========

FTP (download) the file forums/includes/functions_forumdisplay.php

Find the string
// thread last reply date/time
it will be around line 187

Before this line insert the following block
// BEGIN 2008-06-11 vb 3.7.1 MOD - Show Thread Start Date and Time by RogerPf
// thread first reply date/time
$thread['firstpostdate'] = vbdate($vbulletin->options['dateformat'], $thread['dateline'], true);
$thread['firstposttime'] = vbdate($vbulletin->options['timeformat'], $thread['dateline']);
// END 2008-06-11 vb 3.7.1 MOD - Show Thread Start Date and Time by RogerPf
Save the file and FTP it back


Template Edit
===========

Edit your - Your Template - Threadbit Templates - threadbit

Do a Find on the string
_self')">$thread[postusername]</span>
Insert following between that string and the </if> that comes next
<span class="time"><i>&nbsp;started: </i>$thread[firstpostdate]<if condition="!$show['detailedtime']"> $thread[firstposttime] </if></span>
Click Save and you are done

Additionally you can also add this line to the threadbit_deleted template to show the same info for deleted threads, but who spends time looking at deleted threads.

The mod is not supported but I would be delighted if it was absorbed into the standard offering or taken up by anyone else and supported.

The mod may to be 100% efficient as it could be but it does follow the current date manipulation approach that I see in 3.7.1.

I have (unlike the WetCanvas version) included the text started: in the .time format span. Yes the date is included in the .time format span believe me this is REALLY the way you want it to look.

Enjoy.


Edit time - I have just seen another mod that does this -
http://www.vbulletin.org/forum/showthread.php?t=111949
I guess I should have looked much harder before I wrote my own.

Anyway I will leave it to others to compare the two and decide between them.

Oh and here is another - http://www.vbulletin.org/forum/showthread.php?t=182117

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Thread Started By Date & Username JJR512 vBulletin 3.5 Add-ons 17 03 Dec 2006 18:28

Comments
  #2  
Old 12 Jun 2008, 08:54
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
You can do this as a product with no file edits.
Reply With Quote
  #3  
Old 12 Jun 2008, 09:02
GaiLoan's Avatar
GaiLoan GaiLoan is offline
 
Join Date: Dec 2007
Real name: Lee Sung Ho
this was nice, thanks
Reply With Quote
  #4  
Old 12 Jun 2008, 09:03
verino verino is offline
 
Join Date: May 2008
Originally Posted by Boofo View Post
You can do this as a product with no file edits.
yeah, I'm no coder so it would be a great help if the developer can make this as a product

Boofo maybe ?
Reply With Quote
  #5  
Old 12 Jun 2008, 09:13
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
It's already been down as a product for 3.6 and works on 3.7.
Reply With Quote
  #6  
Old 12 Jun 2008, 10:00
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
a link for that product will be great Boofo
Reply With Quote
  #7  
Old 12 Jun 2008, 10:13
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
another one?

Jinni THIS is the best, imho
Reply With Quote
  #8  
Old 12 Jun 2008, 10:23
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
The best one is the one I did for my site, but that one will work, too.
Reply With Quote
  #9  
Old 12 Jun 2008, 10:33
Jazzinto Jazzinto is offline
 
Join Date: Mar 2007
Thanks, installed and it work for me.
Reply With Quote
  #10  
Old 12 Jun 2008, 10:37
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
Originally Posted by Boofo View Post
The best one is the one I did for my site, but that one will work, too.
but you haven't released it here ... ops now i remember and i know why ...
Reply With Quote
  #11  
Old 12 Jun 2008, 10:37
SaPh[i]R's Avatar
SaPh[i]R SaPh[i]R is offline
 
Join Date: Jun 2008
Thanks
Reply With Quote
  #12  
Old 12 Jun 2008, 10:50
verino verino is offline
 
Join Date: May 2008
Originally Posted by Boofo View Post
The best one is the one I did for my site, but that one will work, too.
Originally Posted by KURTZ View Post
but you haven't released it here ... ops now i remember and i know why ...
I don't get it

Any link to boofo's mod about this ?
Reply With Quote
  #13  
Old 12 Jun 2008, 10:55
maxicep maxicep is offline
 
Join Date: Oct 2006
http://www.vbulletin.org/forum/showthread.php?t=182117

This mod perfect, and working same as your mod which made with file edits.
Reply With Quote
  #14  
Old 13 Jun 2008, 10:25
RogerPf RogerPf is offline
 
Join Date: Feb 2007
To those who have installed it. I am glad you got the benefit. Many thanks for reporting back.

To those who moaned and voted 1 star.

Well what can I say. You certainly know how to make someone feel welcome NOT. If you want to get on with people in a collaborative environment, I suggest that a more supportive approach would pay dividends.

BTW there is a security aspect of MODs (to any system) that the user has to do by hand. IMO a small mod of a few lines that an implementer can inspect is much more secure than an "automatic" 100k patch.


Originally Posted by Boofo View Post
You can do this as a product with no file edits.
No, honestly you are wrong, Boofo, maybe you could do this as a product with no file edits but I can not. Again, might I suggest that a more supportive tone might have encouraged me to try and find out how, but after your response why should I, or anyone else for that matter, bother.

Have a nice day.

Last edited by RogerPf; 13 Jun 2008 at 10:36.
Reply With Quote
  #15  
Old 13 Jun 2008, 10:48
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
That was meant to be informative and nothing else. It was not a slam of any kind. You really need to learn not to take everything said to you as some sort of criticism if you want to get on with people.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 12:22.

Layout Options | Width: Wide Color: