thanks, kh99, it works,
but instead of the $username , you have to use $user according to this thread example.
So the whole plug in looks like this,
PHP Code:
require_once(DIR . '/includes/blog_functions_shared.php');
if (is_array($vbulletin->blogstats) AND is_array($vbulletin->blogstats['lastentry']))
{
$user = $vbulletin->blogstats['lastentry']['username'];
$userid = $vbulletin->blogstats['lastentry']['userid'];
$title = $vbulletin->blogstats['lastentry']['title'];
$url = '<a href="' . fetch_seo_url('entry', array('blogid' => $vbulletin->blogstats['lastentry']['blogid'], 'title' => $title)) .
"\">" . $title . '</a>';
$userlink = '<a href="' . fetch_seo_url('member', array('userid' => $userid, 'username' => $user)) . '"/>' . $user . '<a/>';
}
vB_Template::preRegister('FORUMHOME',array(
'url' => $url,
'userlink' => $userlink
));