hi,
I tried to pass the variable value by doing this
in the global start hook:
PHP Code:
$arr = $vbulletin->userinfo;
$aaa = $arr["username"];
and in the php page which is in a iframe in a vbulletin template here
PHP Code:
<iframe id="livechat" frameborder="0" width="100%" height="900" allowtransparency="true" marginwidth="0" marginheight="0" src="http://www.mydomain.com/mypage.php"></iframe>
and the page it self is
PHP Code:
echo "aaa is " . $aaa;