Well, when hacks are made, we use these bit of codes to get it to use vbulletin mysql info, functions etc
PHP Code:
require("./global.php");
As you know global as all the information that vb uses.
to call a specific template eval code is used
for example
PHP Code:
eval("dooutput(\"".gettemplate('template_name')."\");");
and yes you can place it out of the forums directory, but besure to use the chdir(); to tell the script where global.php is located at.
-noX