PDA


View Full Version : Fix navigation links


tormodg
08-25-2008, 10:39 PM
I have vBa links in /links/ and the forums and CMPS in /forums/

Most but not all of my links in the navbar are correctly prefixed with "/forums/blabla.php" - but some are not, like project.php, blog.php, tag.php etc.

I have added these to the navigation prefix list in vBa but it doesn't help. I wonder where else I may need to look to fix this?

Edit: Version is Link Directory Beta 2.

tormodg
08-25-2008, 10:49 PM
I should mention that I tried to move the prefix list to the "header" box but that did not fix anything. At any rate I'm using a modified version of the default style so it shouldn't be necessary.

tormodg
08-26-2008, 10:07 AM
I recognize that the Projects and Blog links are separate vBulletin products so maybe this is controlled somewhere else? The tags.php should be working though.

Not sure how to proceed. I need to go live with my link directory this weekend.

Brian
08-26-2008, 10:12 AM
For the blog and project tools, you will need to find the templates those links are generated in and prefix the URL's with "$vboptions[bburl]" since they're generated via plugins. IIRC, the blog template is called 'blog_navbar_link', so you would just edit that template and replace "blog.php" with "$vboptions[bburl]/blog.php". I'm not sure of the project tools template off the top of my head, though would assume it has a similar name to the blog template.

tormodg
08-26-2008, 10:42 AM
Yes that worked. There are several things to fix:

-blog nav link
-blog nav search
-projects nav link
-projects nav search

...plus I added the $vboptions[bburl]/ in front of most of the other links to be sure. It works fine now!

Thanks for the help.