![]() |
Help me, How to do this!
I saw some forum add the new field in showthread same as the photo make the forum is very good:
http://www.boostimg.com/uploads/datemgKN.gif How to do this? I tried use $post[postdate] and $post[posttime] add to threadbit template but it doesn't work. :confused: |
try $thread[postdate] ;)
|
Quote:
|
the date is already in showthread ... so, I'm not sure what you are trying to achieve
are you sure it's the "showthread" page? |
I think he wants to add the threaddate in FORUMDISPLAY
|
Quote:
- I want put the create date near the thread title, but in ForumDisplay tempate I don't see the $thread[threadtitle] where the name thread appear. |
I don't know if dateline column is called in the query. If it is, you can add one plugin at forumdisplay_complete hook, with following content:
$thread['threaddate'] = vbdate($vbulletin->options['dateformat'], $thread['dateline']); Then, in threadlist template, add the $thread[threaddate] wherever you wanna show it. |
Quote:
Thanks tnguy3n so much. ;) |
All times are GMT. The time now is 03:50 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:
|