require_once(DIR . '/includes/functions_user.php');$avatarurl = fetch_avatar_url($view->authorid, true);if ($avatarurl[0]) { $avatarurl = $avatarurl[0];}/* render template and register variables */$view->avatarurl = $avatarurl;
$ppuserinfo = fetch_userinfo($authorid, 8);if ($vbulletin->options['usefileavatar']){ $ppuserinfo['profilepicurl'] = $vbulletin->options['profilepicurl'] . '/profilepic' . $ppuserinfo['authorid'] . '_' . $ppuserinfo['profilepicrevision'] . '.gif'; if (!file_exists($ppuserinfo['profilepicurl'])) { $ppuserinfo['profilepicrevision'] = 0; }}else{ $ppuserinfo['profilepicurl'] = 'image.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $ppuserinfo['authorid'] . "&dateline=$ppuserinfo[profilepicdateline]&type=profile";}$profilepicexists = $ppuserinfo['profilepicrevision'] OR $ppuserinfo['profilepicdateline'];if ($profilepicexists){ vB_Template::preRegister('vbcms_content_article_page', array('profilepicurl' => $ppuserinfo['profilepicurl']));}
$userid = $view->authorid;
$ppuserinfo['profilepicurl'] = $vbulletin->options['profilepicurl'] . '/profilepic' . $ppuserinfo['userid'] . '_' . $ppuserinfo['profilepicrevision'] . '.gif';
customprofilepics/profilepic762011_2.gif
www.mysite.com/forum/customprofilepics/profilepic762011_2.gif