The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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:
How to do this? I tried use $post[postdate] and $post[posttime] add to threadbit template but it doesn't work. |
#2
|
||||
|
||||
try $thread[postdate]
|
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
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? |
#5
|
||||
|
||||
I think he wants to add the threaddate in FORUMDISPLAY
|
#6
|
|||
|
|||
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. |
#7
|
||||
|
||||
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. |
#8
|
|||
|
|||
Quote:
Thanks tnguy3n so much. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|