![]() |
I have tried searching this forum for the answer.. but have come up empty.. so I am sorry if this has already been asked.
I am trying to get the date and time to show under the "Thread Starter" column in the threads listing.. but I cannot figure out the right variable to display the thread creation date and the creation time. Would this be pulled from the original post in the thread or what? I have tried looking thru all the vB templates and cannot seem to find anything like $thread[postdate] $thread[posttime] .. I hope someone understands what I am trying to do and can help me. Thanks. |
I'd like to know this too.
|
In forumdisplay.php add this code:
PHP Code:
PHP Code:
|
There are two instances of the code you said to find. Add before both instances?
|
Nevermind, I added it before both instances and it works great
Thanks :) |
Sorry about that. :o One is for the open threads, and the second is for the closed.
|
Quote:
|
In the forumdisplaybit template, or any of the templates used inside it.
|
hate to bring this back up.. but this doesn't appear to work on 2.2.4 .. what would need changed in order for it to work on the new build?
|
I tried all but cannot make it. I have 3.60. I found in the forumdisplay.php not this code mentioned above. Maybe any other File is needed to be edited with 3.60? Any Help would be much appreciated!
|
1 Attachment(s)
First, jo must creat a new "Plugin"
Plugin Attitudes: Produkt - vBulletin (Hook) - threadbit_process Titel - your choise PHP-Code: PHP Code:
Now search in template "threadbit": Code:
<if condition="$show['guestuser']"> Code:
<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">Von $thread[postusername] : $thread[creationdate] um $thread[creationtime] Uhr</span> Snatch |
Snatch thats great.
Big Thanks! Using 3.6.0 I added the plugin as you indicated, however in the threadbit template I found this code already exists: Code:
<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span> It looks like this: Code:
<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span> $thread[creationdate] $thread[creationtime] |
All times are GMT. The time now is 08:04 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:
|