PDA

View Full Version : broken links


dreck
09-30-2005, 03:46 PM
I am having problems with my navbar links being wrong under root/cmps_index.php.
They links work great when cmps_index.php is in vb/cmps_index.php.

root = http://thisdarncar.com/cmps_index.php
forum root = http://thisdarncar.com/vb/cmps_index.php

I did a search on this forum & only advise I see is to check:
chdir('/home/thisdarn/public_html/vb');

I beleave this to be right. I have checked it with <? phpinfo(); ?> script

Any ideas?


Thanks, dreck

Brian
09-30-2005, 04:03 PM
Admin CP => vBa CMPS => Default Settings => Navbar Replacements

Make sure that you have those filenames listed in that option. Even if you do, save your settings just to be sure that the cache is updated.

Our Sponsors
 

dreck
10-01-2005, 02:11 PM
NOpe. :(

This is what I have in Navbar Replacements:
http://thisdarncar.com/vb/memberlist.php
http://thisdarncar.com/vb/usercp.php
http://thisdarncar.com/vb/register.php
http://thisdarncar.com/vb/faq.php
http://thisdarncar.com/vb/calendar.php
http://thisdarncar.com/vb/search.php
http://thisdarncar.com/vb/login.php
http://thisdarncar.com/vb/forumdisplay.php
http://thisdarncar.com/vb/profile.php
http://thisdarncar.com/vb/private.php
http://thisdarncar.com/vb/subscription.php
http://thisdarncar.com/vb/member.php
http://thisdarncar.com/vb/online.php
Foot is the same for Contact us & archive
http://thisdarncar.com/vb/archive
http://thisdarncar.com/vb/sendmessage.php
Could my second navbar be affecting this?

dreck
10-02-2005, 01:05 AM
Nevermind, I figured it out.
hehe..

I really not sure what I was thinking. I know now that the Navbar Replacements needs to be the template not the url.

Navbar Replacements
memberlist.php
usercp.php
register.php
faq.php
calendar.php
search.php
login.php
forumdisplay.php
profile.php
private.php
subscription.php
member.php
online.php
Footer Replacements
archive.php
sendmessage.php

Our Sponsors
 

dreck
10-03-2005, 12:21 AM
Nevermind, I figured it out.

The Achives button needs to be:
archive/index.php


Thanks, dreck