Show Your Support
// Avatar In NavBarif ($vbulletin->userinfo['avatarid']) { // using a predefined avatar $avatar = $db->query_first("SELECT avatarpath FROM " . TABLE_PREFIX . "avatar WHERE avatarid = " . $vbulletin->userinfo[avatarid] . ""); $avatarid = $avatar['avatarid']; $navbaravatar = "<img src="" . $vbulletin->options['bburl'] . "/$avatar[avatarpath]" alt="Avatar" width="$vbulletin->options['avwidth']" height="$vbulletin->options['avheight']" border="0" />"; } else { // not using a predefined avatar, check for custom if ($avatar = $db->query_first("SELECT dateline, userid FROM " . TABLE_PREFIX . "customavatar WHERE userid = " . $vbulletin->userinfo[userid] . "")) { // using a custom avatar $navbaravatarurl = ($vbulletin->options['usefileavatar']) ? "" . $vbulletin->options['bburl'] . "/" . $vbulletin->options['avatarurl'] . "/avatar$avatar[userid]_" . $vbulletin->userinfo['avatarrevision'] . ".gif" : "" . $vbulletin->options['bburl'] . "/image.php?u=" . $vbulletin->userinfo['userid'] . "&dateline=" . $avatar['dateline'] . ""; $navbaravatar = "<img src="$navbaravatarurl" alt="Avatar" width="$vbulletin->options['avwidth']" height="$vbulletin->options['avheight']" border="0" />"; } else { // no avatar specified $nouseavatarchecked = HTML_CHECKED; $avatarchecked[0] = ''; $navbaravatar = "<img src="" . $vbulletin->options['homeurl'] . "/$stylevar[imgdir_misc]/emptyavatar.gif" alt="Avatar" width="$vbulletin->options['avwidth']" height="$vbulletin->options['avheight']" border="0" />"; // "<span class="smallfont">No Avatar<br/ >specified</span>"; } } // Avatar In NavBar
<a href="http://www.domain.com/forum/profile.php?do=editavatar"><img title="Avatar" src="http://www.domain.com/forum/image.php?u=1&dateline=1205271990" alt="Avatar" border="0" height="80" width="80"></a>
"" . $vbulletin->options['bburl'] . "/" . $vbulletin->options['avatarurl'] . "/avatar$avatar[userid]_" . $vbulletin->userinfo['avatarrevision'] . ".gif"