![]() |
Date/time of original post in search results
Awhile back, I was assisted here in adding the date/time of the original post underneath each thread title (thanks!) One of the steps involved initializing a date and time var in one of the includes for the forumdisplay php. Works great. However, the SEARCH results (which use the same display template as forumdisplay) do not show a value for that var (obviously because the INIT isn't where it needs to be).
I'd sure appreciate being pointed in the right direction (php-include-wise), where I might install those two var inits. Thanks! |
Quote:
Open the "search.php" and find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Open file forumdisplay.php and find: PHP Code:
PHP Code:
Now you can use the variable $thread_dateline, in your threadbit template, next to the creator's name. In threadbit template find: HTML Code:
<if condition="$show['guestuser']"> HTML Code:
($thread_dateline) |
All times are GMT. The time now is 10:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|