Hi Andy,
Ya I also found something similar that I tried last night:
<?
require ($_SERVER["DOCUMENT_ROOT"]."/vbulletin/login.php");
?>
What this and your code do is produce errors within login.php which also requires other files elsewhere within the vBulletin directory. It must have something to do with using absolute paths all of a sudden while trying to use relative paths for all other cases. I got frustrated and eventually came up with the funny looking solution, but hey it works. :D
Ya I also found something similar that I tried last night:
<?
require ($_SERVER["DOCUMENT_ROOT"]."/vbulletin/login.php");
?>
What this and your code do is produce errors within login.php which also requires other files elsewhere within the vBulletin directory. It must have something to do with using absolute paths all of a sudden while trying to use relative paths for all other cases. I got frustrated and eventually came up with the funny looking solution, but hey it works. :D