Thread Age Insert for vB 4
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! Code:
if ($mark_as_installed != 'clicked') { $you_get = 'squat'; } else { $you_get = 'support'; } Download
Thread_Age_Insert_vb4.zip (3.1 KB, 326 downloads) Screenshots |
Similar Mods
Forum Display Enhancements Insert Thread Date into threadbit - for knowing when thread was originally posted | vBulletin 3.6 Add-ons |