The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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! |
#2
|
|||
|
|||
![]() 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']"> $thread[postusername] <else /> <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername] </span> </if> HTML Code:
($thread_dateline) |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|