Awesome man, I can't appreciate it enough. I almost have it working- you might as well say it is. Last question, swear. Any way to pull the threads id into it as well? I'm trying to wrap the threads title with an href leading to the thread it's pulling, you'll see what I mean:
HTML Code:
$numposts='10';
$thrdqry = $vbulletin->db->query_read("
SELECT thread.title, username, post.dateline, post.pagetext FROM " . TABLE_PREFIX . "thread AS thread
LEFT JOIN " . TABLE_PREFIX . "post AS post ON thread.firstpostid = post.postid
WHERE thread.forumid IN (61, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 130, 131, 132, 133, 134, 136, 137, 138, 139) AND thread.visible = '1'
ORDER BY thread.dateline DESC
LIMIT 0, $numposts ");
while ($thrds = $vbulletin->db->fetch_array($thrdqry))
{
$postdate = vbdate($vbulletin->options['dateformat'], $thrds['dateline'], true);
$posttime = vbdate($vbulletin->options['timeformat'], $thrds['dateline']);
$homepage_recentpost .=<<<EOD
<div class="post-1 post type-post hentry category-uncategorized" id="post-1">
<h2 class="title"><a href="showthread.php?t=THREADID" target="_blank" alt="$thrds[title]" title="$thrds[title]">
$thrds[title]
</a>
</h2>
<div class="postdate">
<img src="images/date.png" /> $postdate <img src="images/user.png" /> $thrds[username]
</div>
<div class="entry">
<p>$thrds[pagetext]</p><br/><a href="showthread.php?t=THREADID" target="_blank" alt="$thrds[title]" title="$thrds[title]">
Read more..
</a><br/>
</div>
</div>
EOD;
}