Sorry, this work:
global $vbulletin;
but other problem:
http://elsilencio.cl/portal/brigde.php [works]
http://www.elsilencio.cl/portal/brigde.php [dont work]
PHP Code:
<?php
function userVB(){
$fnCwd = getcwd();
chdir('/home/x/public_html/foro/');
global $vbulletin;
include('global.php');
chdir($fnCwd);
return $vbulletin->userinfo;
}
$vb = userVB();
print_r($vb);
:-/ iam configured forum cookies to .elsilencio.cl and whitelist of redirects
www.elsilencio.cl and elsilencio.cl but dont work.
forum:
http://foro.elsilencio.cl/