Log in

View Full Version : calling navbar outside of vbulletin folder,image problem


Steve123
02-06-2006, 08:53 PM
HI there,

ive done

chdir('/home/facethef/public_html/vb');
require_once('./global.php');

on a page outside of the vb directory. It works fine, but the problem is the images in the navbar dont show up because they are linking to the wrong path.

eg.

the image is here: vb/images/misc/vbulletin3_logo_white.gif
but its looking here: images/misc/vbulletin3_logo_white.gif
In other words its not going into the vb directory.

How do i fix this so it works? I read something about adding $vbulletin->options['homeurl'] to the link but i don't understand what they mean.

anyone?