require("./includes/config.php");
require("./global.php");
$this->member = $vbulletin->userinfo;
$this->member['last_visit'] = $vbulletin->userinfo['lastvisit'];
$this->member['session_id'] = $vbulletin->session->vars['idhash'];
//$board_functions = "VB/vb_board_functions.php";
//avatar ---------------
require_once($FORUM_PATH."/includes/functions_user.php");
$avatar = fetch_avatar_url($this->member['userid']);
$avatar = $avatar[0];
if ($avatar)
{
if (!strpos($avatar, "ttp://"))
{
$avatar = $GP_PATH.$FORUM_PATH."/".$avatar;
}
$avatar = "<img src=\"$avatar\" border=\"0\" alt=\"\" />";
}
$this->member['avatar'] = $avatar;