View Full Version : Help me, How to do this!
nhacso
03-15-2006, 11:36 AM
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:
tnguy3n
03-15-2006, 12:00 PM
try $thread[postdate] ;)
nhacso
03-15-2006, 12:13 PM
try $thread[postdate] ;)
It's not working. After I add $thread[postdate] to threadbit, nothing date show when view threads in forum. :tired:
Princeton
03-15-2006, 12:47 PM
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?
tnguy3n
03-15-2006, 04:16 PM
I think he wants to add the threaddate in FORUMDISPLAY
nhacso
03-15-2006, 09:13 PM
I think he wants to add the threaddate in FORUMDISPLAY
- Yes, yes. I want show the create date of author who write the topic same as the photo. It's difference the last post date of the last poster.
- 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.
tnguy3n
03-16-2006, 10:58 PM
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.
nhacso
03-17-2006, 05:22 AM
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.
Nice Job! It's working very perfect. :banana:
Thanks tnguy3n so much. ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.