Log in

View Full Version : Use vb engine (api/functions) outside vbulletin directory


waza
01-07-2006, 10:40 AM
hey, this is my situation:
my vb is located in root/forums/
I want to use vb engine (functions, classes) outside that folder for my index page.
So just root/index.php

In index I did
require_once("./forums/global.php");

But it doesn't work...

Is there a way to do this?

Btw, I know vbexternal, but that's not what I'm looking for.
grz,
seba

Logician
01-07-2006, 09:29 PM
before require once, chmod to vb directory.

You'll still need to change smilies/image paths etc. otherwise they'll still get broken.

Check vbadvanced source code to learn how it handles it. It works outside vb directory but still integrates with them.