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:	726
Size:	28.9 KB
ID:	127087   Click image for larger version

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

Name:	showthread_thread_title.png
Views:	507
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

Comments
  #2  
Old 23 Feb 2011, 11:45
Swordman844555 Swordman844555 is offline
 
Join Date: Aug 2006
Thx great!
Reply With Quote
  #3  
Old 23 Feb 2011, 13:44
Alecsmith's Avatar
Alecsmith Alecsmith is offline
 
Join Date: Sep 2009
Real name: Nick
Tagged for now
__________________

Reply With Quote
  #4  
Old 23 Feb 2011, 13:48
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Does this use phrases for translations or would I need to edit the templates or xml file?
Reply With Quote
  #5  
Old 23 Feb 2011, 14:12
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
From the first post: 1 Product XML (2 Plugins, 3 Phrases)
Reply With Quote
  #6  
Old 23 Feb 2011, 14:43
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Thank you
__________________
Reply With Quote
  #7  
Old 23 Feb 2011, 15:10
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Real name: Col
Boofo will this work on 4.0.6??
Reply With Quote
  #8  
Old 23 Feb 2011, 15:15
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
It should, yes.

Last edited by Boofo; 23 Feb 2011 at 20:43.
Reply With Quote
  #9  
Old 23 Feb 2011, 15:38
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Real name: Col
Originally Posted by Boofo View Post
It should, yes. This was one of my old 3.5 mods I accidentally found last night and decided to convert.

Great stuff,will try it now and let you know,cheers Boofo mate
Reply With Quote
  #10  
Old 23 Feb 2011, 15:46
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Real name: Col
confirm it works flawlessly on 4.0.6...great work Boofo thanks
Reply With Quote
  #11  
Old 23 Feb 2011, 16:22
ellinofatsa's Avatar
ellinofatsa ellinofatsa is offline
 
Join Date: Mar 2010
hi i have vb 4,1,2 and i have instal this hack and i see this mesage after,,,


Warning: gregoriantojd() expects parameter 1 to be long, string given in [path]\includes\functions_forumdisplay.php(498) : eval()'d code on line 40
__________________
thanks for time
Reply With Quote
  #12  
Old 23 Feb 2011, 17:31
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by ellinofatsa View Post
hi i have vb 4,1,2 and i have instal this hack and i see this mesage after,,,


Warning: gregoriantojd() expects parameter 1 to be long, string given in [path]\includes\functions_forumdisplay.php(498) : eval()'d code on line 40
What version of PHP are you using?
Reply With Quote
  #13  
Old 23 Feb 2011, 19:17
ellinofatsa's Avatar
ellinofatsa ellinofatsa is offline
 
Join Date: Mar 2010
hi

Originally Posted by Boofo View Post
What version of PHP are you using?
PHP 5.2.11
__________________
thanks for time
Reply With Quote
  #14  
Old 23 Feb 2011, 19:22
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Thanks. I will see what I can figure out for you as I have not run into this before. Hang tight.
Reply With Quote
  #15  
Old 23 Feb 2011, 19:29
ALBCODERS ALBCODERS is offline
 
Join Date: Apr 2009
installed works well on vb 4.0.3 but this mod shows only days.would be nice to show months and years.
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 19:26.

Layout Options | Width: Wide Color: