![]() |
On Showthread?thread start time?
I am looking to call thread start time and last post time from the showthread page.
Actually, I want to put them into: HTML Code:
<meta property="article:published_time" content="2013-09-17T05:59:00+01:00" /> |
They are available as $thread[dateline] and $thread[lastpost], but they are unix timestamp format, so you'd need a plugin to format them like you want them. I think you could use a plugin using hook showthread_complete and code like this:
Code:
$published_time = date(DATE_ATOM, $thread[dateline]); |
Thanks, kevin. That does the trick!
|
All times are GMT. The time now is 09:01 AM. |
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:
|