The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thread Age Insert for vB 4 Details »» | |||||||||||||||||||||||||||||||||
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 Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
elsa23, RichieBoy67 |
Comments |
#12
|
|||
|
|||
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 |
#13
|
||||
|
||||
What version of PHP are you using?
|
#14
|
|||
|
|||
|
#15
|
||||
|
||||
Thanks. I will see what I can figure out for you as I have not run into this before. Hang tight.
|
#16
|
|||
|
|||
installed works well on vb 4.0.3 but this mod shows only days.would be nice to show months and years.
|
#17
|
||||
|
||||
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.
|
#18
|
|||
|
|||
Maybe have an age cut off setting... anything older than the cut off just shows "older than XX days".
|
#19
|
||||
|
||||
Mikey likey .
|
#20
|
|||
|
|||
This looks nice but I decided not to install this because it may discourage users not to view certain threads because of its age.
|
#21
|
|||
|
|||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|