Hy,
I'm trying to make an outside login for the user, without the user having to be on the forum or even to be redirected inside it. But, there is a problem...
When using:
chdir('./forum/');
require_once('./global.php');
I get:
Fatal error: Call to a member function query_first() on a non-object in [path]\forum\includes\functions.php on line 1533
Fatal error: Call to a member function unlock_tables() on a non-object in [path]\forum\includes\functions.php on line 4240
So, I went to debug it with:
if(!is_object($vbulletin) die ("Not object");
and guess the result?

Not Object.
When using the vbulletin normally no problem is reached, but when including any file (example: global.php or login.php) I get the same error.
What can be wrong? The things I was seeing in the forum where related with the case-sensitive issue of Linux, but in this case you can't miss it... all lowercase.
Can someone give me a hand?
Best regards,
Miguel Sim?es