OK update.
got the code installed. tested but there is no error and not fetching avatar as well.
any help/guide on this pls.?
--------------- Added [DATE]1209574127[/DATE] at [TIME]1209574127[/TIME] ---------------
this is my updated code.
Code:
<?php
$cwd = getcwd();
chdir('/public_html/forum');
require_once('./global.php');
if ($vbulletin->userinfo['userid'])
{
require_once('./includes/functions_user.php');
$bbuseravatarurl = fetch_avatar_url($vbulletin->userinfo['userid']);
if (!$bbuseravatarurl)
{
$bbuseravatarurl = $stylevar['imgdir_misc'] . '/noavatar.gif';
}
}
chdir($cwd);
?>
<img src="<?php echo $bbuseravatarurl;?>" width="100px" height="50px" />