PDA

View Full Version : how to use variables, first post in thread date


wyc1552
04-24-2009, 02:17 PM
Hey guys,

Basically Im modding the list view to show the date of the first post in a thread, which is also the same date the thread was started. I can't seem to find which variable vbulletin has for that.

Im putting this in the threadbits template

about here
<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span>
</if>

I can add a <br/> and then the date, but I dont know what variable holds that date. Thanks!

Lynne
04-24-2009, 02:27 PM
If you look at the table structure for the thread table in the database, you'll see a field named dateline. Try using that.