View Full Version : vBadvanced Header
BoNfiRe
05-18-2004, 08:15 AM
I was looking for the vBadvanced header, and noticed it used the vb template header which is kool but my navbar is in the header, and none of the links work as they all point to ../file.ext which would look for the file in the root. How can I change this ( I know I can change the header, and manually add the links i.e. forums.mysite.com/file.ext just wondering if ther was a more universal way so I can still use the dynamic dhtml menus for search, and quick links )
Any help would be greatly appreciated
TIA
BoNfiRe
Brian
05-19-2004, 08:27 PM
If your links are in the header then you would just need to add $vboptions[bburl]/ in front of each. There's a str_replace function that changes them in the navbar, but if you've moved that to the header then probably wouldn't work, depending on how it was changed.
BoNfiRe
05-19-2004, 08:41 PM
ahh kool that worked thx Brian
chrisvonc
05-19-2004, 10:51 PM
Nice tip, thank you Brian. Fixed one of my problem links with it!
jlim0930
05-19-2004, 11:14 PM
ahh kool that worked thx Brian
can you share how you got this to work ?
Thanks
BoNfiRe
05-20-2004, 06:46 AM
can you share how you got this to work ?
Thanks
OK well my links in my header are all pointing towards:
usercp.php?$session[sessionurl] and register.php?$session[sessionurl] ( example )
Which means if i'm @ my homepage it doesn't find the page. I get the good ol 404 :( lol because it goes to http://www.mysite.com/register.php? Which doesn't exist as that file is in my forums. Adding $vboptions[bburl]/ to the front of it changes it's path so it looks for the file in the right directory.
Hope that explains a lil to you.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.