PDA

View Full Version : navbar links trouble


greatleader
07-20-2009, 07:06 AM
I am having navbar links trouble, the default location of the navbar links in portal go to :mysite.com/usercp.php where as it should be mysite.com/forum/usercp.php
because of this problem, I had hard-coded links in navbar , now the login menu designed in the portal doesn't work,

so I want either how to remove login box from the portal (which comes with portal ) or how to rectify the links problem

using - apache, cent os 5.2 just in-case the info is needed, hav root access

Brian
07-20-2009, 11:55 AM
Have you tried the suggestions from our FAQ?
http://www.vbadvanced.com/forum/faq.php?faq=vba_trouble#faq_vba_trouble_links

Our Sponsors
 

Kyrasis6
08-05-2009, 04:44 AM
greatleader, I believe you have the same problem I just had. I wanted the portal homepage in the directory of my site seperate from the forum because I wanted to integrate my tech section. The links in the nav module went into the forum just fine but the forum nav bar links in the portal would not go to the forum. Instead of going to mysite.com/forum/index.php they went to mysite.com/index.php.

To fix this I went into the vbAdvanced control panel, clicked on default settings, then on global vbadvanced settings. Some of my templates have the nav bar in the in the header and some don't so to fix this I simply went under header replacements and added index.php to the list. Then I went under navbar replacements and also added index.php.

This fixed ALL of my nabar links including the broken registration, login, member list etc... :eek:

You may have to revert back to the originals to undo the static links if you don't remember the dynamic code. Thanks to Brian for the tech link wasn't exactly what I was looking for but as they say in government work, it was close enough, lol.

Mobo
09-07-2009, 07:50 PM
Okay, I have the same problem with one of my links. The method in the FAQ fixed one of them, but I still have one link that is not working. I've added it to the replacement sections (all_albums.php) but it still will not put the /forums/ into the link.

Any thoughts?

Our Sponsors
 

Brian
09-08-2009, 12:14 PM
How exactly did you add that link to your navbar? If you just added the code to your 'navbar' template then you should only need to add 'all_albums.php' to your Navbar Replacements setting. If it's being called from a different template or plugin then you'll need to edit that template or plugin to add the full URL infront of the filename.

Mobo
09-08-2009, 03:52 PM
I'd honestly have to go back and look how it was added. I think by a plugin, so I'll start there. Thanks for getting me started in the right direction Brian... as always!

jauction2010
04-11-2010, 01:12 AM
I have a simular issue with vb CMPS where as my index.php page in my root directory is showing Forum in the navagation tab. Im a bit of a newbie but how can I fix this? - http://stg.jersey-auctions.com/index.php

Thanks in advance.

Brian
04-12-2010, 01:17 PM
Please post in the v4.0 forums if that is the version you're having an issue with in the future. Also check this thread in the v4.0 forums:
http://www.vbadvanced.com/forum/showthread.php?t=39708