PDA

View Full Version : displaying the last few posts of a thread on external page.


zexion
02-28-2007, 05:57 AM
I'm using vBExternal to show the latest threads from the forums on an external page.

I would like to show the last few posts to a particular thread instead. by looking at the code I see thats defining a variable and then calling that variable in the template file, here are some of them:

'threadid' => $Thread['threadid'],
'threadname' => $Thread['title'],
'postuserid' => $Thread['postuserid'],
'postusername' => $Thread['postusername'],
'replies' => vb_number_format($Thread['replycount']),
'views' => vb_number_format($Thread['views']),
'lastposter' => $Thread['lastposter'],

What would be the $Thread[?????], variable to call to actually display a post from the thread? or is that just not possible?

something like:

'lastpost' => $Thread['lastpost'],

Would be great since I know exactly what to do after that if that worked .