Ranger - By default it shows who started the thread and the time/date that the thread was started. If you'd prefer for it to show the last poster and date of the last post, here's what you need to edit:
Open your myvbindex file and look for:
PHP Code:
$threads=$DB_site->query("SELECT threadid,title,replycount,postusername,postuserid,dateline,views".iif($showthreadicon, ',thread.iconid','')." FROM thread WHERE open='1' AND open<>10 $iforumperms ORDER BY lastpost DESC LIMIT $maxlatethreads");
Replace that with:
PHP Code:
$threads=$DB_site->query("SELECT threadid,title,replycount,postusername,postuserid,lastpost,views".iif($showthreadicon, ',thread.iconid','').",lastposter FROM thread WHERE open='1' AND open<>10 $iforumperms ORDER BY lastpost DESC LIMIT $maxlatethreads");
Then right below that find:
PHP Code:
if ($showthreaddate) {
$thread['time'] = vbdate($timeformat, $thread['dateline']);
$thread['date'] = date("m-d-y", $thread['dateline']);
You would just change 'dateline' at the end of both of those lines to 'lastpost'.
Then edit your
index_threadbits template and change the link to the poster to
<a href="$bburl/member.php?action=getinfo&find=lastposter&threadid =$thread[threadid]">$thread[lastposter]</a>
That's it.