Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Thread Age Insert for vB 4 Details »
Thread Age Insert for vB 4
Mod Version: 1.0.2, by Boofo (R.I.P.) Boofo is offline
Developer Last Online: Jun 2012 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (14 votes - 4.64 average) Installs: 86
Released: 23 Feb 2011 Last Update: 08 Mar 2011 Downloads: 336
Not Supported Uses Plugins Auto-Template  

Thread Age Insert for vB 4
Version 1.0.2
(By Boofo)

What does this product do?
This product will calculate the age of a thread, in days, and insert it after the thread title or start date in the listing.

Examples:
---------------------------
In forumdisplay:
Testing days old after thread title Today <=This will display in bold text
Testing bbcode 1 day old
Testing something... 16 days old

In showthread:
Thread: Testing days old after thread title 12 days old

Credits:
Thanks goes out to Adrian for showing me a new way to do template edits and style variables in products.

Version Information:
Version 1.0.0 --Initial release for vB 4
Version 1.0.1 --Code optimized and days calculation rewritten to avoid any future gregoriantojd errors with certain installations. Added location setting where the thread age can be added either after the thread title or after the start date line. Added a font color setting and removed the span class highlight code.
Version 1.0.2 --Removed font color setting and added Style Variable setting for the Thread Age Insert Font Color, so it can be set for each style separately. Added the Thread Age in the showthread at the top after the thread title, if you are using the "After thread title" option.

Installation Overview:
---------------------------
1 Product XML (3 Plugins, 10 Phrases, 1 Setting, 1 Style Variable)

Installation Instructions:
---------------------------
1. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-boofo_threaddays.xml file on your computer

2. Go to your Admin CP -> vBulletin Options -> 'Thread Age Insert' and set the following options:
Thread Age Insert Location: Choose which location you want the thread age to display. (Default is off, Do not show thread age.)

3. Go to your Admin CP -> Styles & Templates -> Style Manager -> StyleVars (In the All Style Options drop-down) -> Threadbit -> boofo_threaddays_color
Enter the color code of the font color that you want the Thread Age to show up in.

NOTE: You will need to do this for all styles.
------------------------------------------------------

Done!
Enjoy!



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

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

Screenshots

Click image for larger version

Name:	thread_age_after_title.png
Views:	727
Size:	28.9 KB
ID:	127087   Click image for larger version

Name:	thead_age_after_startdate.png
Views:	521
Size:	29.0 KB
ID:	127088   Click image for larger version

Name:	showthread_thread_title.png
Views:	508
Size:	19.5 KB
ID:	127243  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Display Enhancements Insert Thread Date into threadbit - for knowing when thread was originally posted SiMateoAko vBulletin 3.6 Add-ons 54 16 Jan 2009 00:06

  #16  
Old 23 Feb 2011, 19:37
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
That would take a lot more calculations as you would have to allow for leap years, etc. I think it would be more hassle than it is worth for a free mod.
Reply With Quote
  #17  
Old 24 Feb 2011, 01:32
spillage spillage is offline
 
Join Date: Mar 2009
Real name: Bryan
Maybe have an age cut off setting... anything older than the cut off just shows "older than XX days".
Reply With Quote
  #18  
Old 24 Feb 2011, 01:43
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Mikey likey .
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #19  
Old 24 Feb 2011, 06:24
TBforums TBforums is offline
 
Join Date: Dec 2010
This looks nice but I decided not to install this because it may discourage users not to view certain threads because of its age.
Reply With Quote
  #20  
Old 25 Feb 2011, 08:25
Randomm Randomm is offline
 
Join Date: Jul 2010
Can somebody help me with this? is this a simple importing of the xml file? what does (2 Plugins, 3 Phrases) mean?
This is a great mod btw
Reply With Quote
  #21  
Old 25 Feb 2011, 08:48
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Just follow the Installation Instructions in the first post and you will be fine. The 2 Plugins, 3 Phrases is for information purposes only. Also, you might want to click the install button so you can be notified of any updates to this mod.
Reply With Quote
  #22  
Old 26 Feb 2011, 00:11
cravendale cravendale is offline
 
Join Date: Oct 2010
Hi,

Confused...
Started by xxxx, 1 Week Ago 06:49 AM
but the script shows - 10 days old ???
Reply With Quote
  #23  
Old 26 Feb 2011, 00:12
cravendale cravendale is offline
 
Join Date: Oct 2010
Also how can I change the colour of hte highlighted text ?

thanks
Reply With Quote
  #24  
Old 26 Feb 2011, 01:08
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by cravendale View Post
Hi,

Confused...
Started by xxxx, 1 Week Ago 06:49 AM
but the script shows - 10 days old ???
The days are correct. Try setting Datestamp Display Option to Yesterday / Today instead of Detailed.
Originally Posted by cravendale View Post
Also how can I change the colour of hte highlighted text ?

thanks
You'd have to change that in the xml file. It goes off of whatever you have set for highlight on your site.
Reply With Quote
  #25  
Old 26 Feb 2011, 03:16
bulldog51981's Avatar
bulldog51981 bulldog51981 is offline
 
Join Date: Oct 2010
Installed and worked on default skin but not my custom skins. When I disable then re-enable, it shows the going through and altering the custom skins but there no change. Any idea why?
Reply With Quote
  #26  
Old 26 Feb 2011, 03:44
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Apparently the line is looks for to add the Thread Age to is different in the custom skins. It was designed on the default skin.
Reply With Quote
  #27  
Old 26 Feb 2011, 19:51
bulldog51981's Avatar
bulldog51981 bulldog51981 is offline
 
Join Date: Oct 2010
What is the line that it adds in the default skins? If I knew what to search for I could add it into the correct place in modified ones to have it displayed.
Reply With Quote
  #28  
Old 02 Mar 2011, 08:28
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Real name: Mohammed Al-Gurain
I suggest to put a small icon that indicate an old thread (old thread is controlled by setting) ?
Reply With Quote
  #29  
Old 02 Mar 2011, 18:12
bulldog51981's Avatar
bulldog51981 bulldog51981 is offline
 
Join Date: Oct 2010
Just happened to find this today by accindent...I did a search by keyword and on the results page....there was the thread age right next to the title. So what do I need to add to the showthread template to get this result there as well. If it works on the results template, it should work on the others with no problem.
Reply With Quote
  #30  
Old 02 Mar 2011, 20:23
elwachiman's Avatar
elwachiman elwachiman is offline
 
Join Date: Nov 2009
Real name: madman
Excelent Good Mod..
__________________
Elwachiman.com
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 23:15.

Layout Options | Width: Wide Color: