Trying To Figure Out 'lastpost'
$mylastpost = $vbulletin->userinfo['lastpost'];
In this case, $mylastpost ends up equalling " 1173987652 ".
I'm not sure exactly what this is. I'm creating a script that allows members to post reviews. (It really has nothing to do with vBulletin other than the fact that membership is required to submit a review).
I've had good luck snagging the username, avatar, and sending a link to send the author of the review a PM, but I have no clue what to do with 1173987652.
I'm hoping that I can stick in in a URL get thingy like
forumurl.com?something=$mylastpost.
Of course, now that I think of it, I'd really like to have the Title of that forum thread as my anchor text. So really I'd want
echo "<a href=\"forumurl.com?something=$mylastpost\"> $mylastposttitle </a> ";
Any ideas?
Thanks,
Brandon Drury
|