Ok, here's what you need to do :-).
Create a PHP file called testing.php and insert the following inside (verbatim)
PHP Code:
<?php
require_once('path/to/global.php');
$getthreads = $vbulletin->db->query_read("
SELECT * FROM thread
WHERE forumid = ''
LIMIT 5
ORDER BY threadid
DESC
");
while ($threads = $vbulletin->db->fetch_array($getthreads))
{
$dateposted = vbdate('m-d-Y', $news['postdateline']);
eval('$threaddisplay .= "' . fetch_template('custom_latest_thread_display') . '";');
}
eval('print_output("' . fetch_template('custom_index') . '");');
?>
Via the AdminCP create a New Template within your vBulletin Style named 'custom_index' (without the quotes) and add to it the following:
Now create a new template called 'custom_latest_thread_display' (again, without the quotes) and insert the following into it.
PHP Code:
$thread[title]
<br />
Posted By: $thread[postusername]
<br />
Posted On: $dateposted
<br />
<br />
You need to change the path to global.php to your corresponding path. If you are on a CPanel based server (i.e. you can login to your control panel via domain.com/cpanel), then you need to use /home/cpanelusername/public_html/forum/global.php.
Let me know if this works for you. If not, I will create a file for you myself and help you as much as I can given my free time

.