PDA


View Full Version : Navbar/Link Issues...


Pages : [1] 2

Jenn262
01-24-2005, 10:25 PM
I was wondering if you could help me out with a little problem I've run into. First of all, let me just say that I'm about as novice as you can get when it comes to all this...and I apologize in advance if this is a "silly question" , but I'm completely stumped here.....

Here's the situation. Our board is located at www.parentshideout.net (portal page) and www.parentshideout.net/forums (forum page). This has only been in effect since last night lol....prior to that the address for the forum page was: http://www.parentshideout.net/index.php? and our portal page was: http://www.parentshideout.net/portal.php? .

Prior to making the switch everything worked beautifully. Now that the switch was made, the portal link on the navbar over the forums obviously doesn't work.....and the navbar (in total) on the portal page is shot as well as the links in the navigation module. I was told that in the portal prefs, there is a setting for the portal url and the board url...but for the life of me, I can't find it. Is there an easy fix for this? I would immensly appreciate any help/advice that you can offer me!!

Brian
01-26-2005, 04:26 PM
Admin CP => vBulletin Options => Site Name / URL / Contact Details

Is your 'Forum URL' option there set correctly?

agiacosa
01-28-2005, 12:31 PM
This is happening for me but only in the Search and Quick Links. All other links properly reference my board that is at /forumapc. When I click search or one of the quick links, it tries to find search.php in the root directory rather than the /forumapc directory. How can I correct this?

Brian
01-28-2005, 02:01 PM
Which version of the CMPS are you running? Can you post a link to your site?

agiacosa
01-28-2005, 03:12 PM
http://www.aquaticplantcentral.com

Winterhawke
01-28-2005, 03:46 PM
I have a similiar issue:

The Nav Bar links on my home/default page are not working correctly. However, they are working from the Forum page. This happened after I upgraded from CMPS v1.0.0 to v1.0.1.

Here is my site: www.angelicasylum.com

vbusers11
01-28-2005, 04:45 PM
same thing here.. search gets a 404 error looking in the wrong place.

Brian
01-28-2005, 05:04 PM
Double check that 'search.php' (or whichever filename is not linked correctly) is listed in your 'Navbar Replacements' option in your main vBa CMPS settings. If so, if someone would like to submit a support ticket I'll be glad to have a look and see what the problem is.

agiacosa
01-28-2005, 06:31 PM
I have no idea where to check that. There is no option in AdminCP CMPS settings for Navbar Replacements.

vbusers11
01-28-2005, 07:03 PM
haha, I fixed it!

I have all the pages listed under navbar replacements, I copied that list to header replacements.. no more problem :D

Winterhawke
01-28-2005, 08:13 PM
Copying them over to the Header Replacements worked for me as well, with one exception; the private messages link found in the login/welcome block of the header (top right) still does not work. Works while viewing the forums though.

agiacosa
01-28-2005, 08:22 PM
where is the header replacements?

vbusers11
01-28-2005, 10:17 PM
>admin panel > vBa CMPS > Default Settings Then you'll see textareas with the navbar ones, header, and footer categories

MotoUp
01-28-2005, 11:19 PM
I had to have the replacements in both places to make it work correctly. Thanks for the upgrade....upgrade...good! Just like beer! :D

EDIT: The Private Message link under your username and time and date doesn't work now...any ideas where I change that?

Brian
01-29-2005, 11:17 AM
I've found the problem with the private.php link. Looks like vB moved the link from the navbar template to a phrase at some point. For anyone having a problem with this, look in your forum/vba_cmps_include_bottom.php file for this code:
$templatecache['navbar'] = str_replace($navreplace['find'], $navreplace['replace'], $templatecache['navbar']);

And add this right below it:
$vbphrase['private_messages_nav'] = str_replace('"private.php', '"' . $vboptions['bburl'] . '/private.php', $vbphrase['private_messages_nav']);

I'm not sure why anyone would be having a problem with the other replacements unless the links have been moved to their header. If anyone that's having this problem would like to submit a support ticket though I'll be glad to take a look and see what the problem is.

MotoUp
01-29-2005, 11:36 AM
Perfect, thanks.

Winterhawke
01-29-2005, 11:51 AM
Thanks, Brian. I've submitted a ticket so you can take a better look at the header issue.

Chrisedge
02-08-2005, 07:29 PM
That fixed my "header" problem...PM Link (above navbar) works with the fix above...

oztrack
02-11-2005, 09:25 AM
I just fixed my private message link with this fix on the php file.

BUT now my link in the nav bar have dropped off the /forum link.

Most of them are wrong.

Please help.

Steve

oztrack
02-11-2005, 09:30 AM
I just found the problem - i had replaced the original code instead of placing it underneath.

Vevina
02-11-2005, 10:38 AM
ThankYou Brian :) PM's working now

EnriqueHavoc
02-14-2005, 07:46 AM
thanks brian- the fix for private.php works on my 3.0.6 install

Im still having the same problem with the buddylist when quicklinks is moved to the header though... any ideas?

Brian
02-14-2005, 10:58 AM
Try looking in your forum/includes/vba_cmps_include_bottom.php file for this code:
$headerreplace['find'] = array();
$headerreplace['replace'] = array();


Replace it with this:
$headerreplace['find'] = array(
'\'misc.php'
);

$headerreplace['replace'] = array(
'\'' . $vboptions['bburl'] . '/misc.php'
);

And see if that helps.

EnriqueHavoc
02-14-2005, 03:07 PM
fixed! great support as always man :)

Hairback357
02-16-2005, 12:01 PM
All my links seem to be working except the links in the calandar. The calender link on the nav bar works but links on the calendar module its self are wrong.

Thanks for any help.

Here is the link: WWR (http://www.wildwestriders.com/)

Brian
02-16-2005, 12:51 PM
Looks like you didn't make the modifications to your calendar templates.

Hairback357
02-17-2005, 05:13 AM
Yep that's what the problem was. Thank you.

When you work on this stuff for hours at a time sometimes you just can't see the obvious anymore.

daddy20
05-15-2005, 07:47 PM
This problem maybe sitting right in front of my face but I can't find it. Please help ASAP!!!!!!!!!

This is my problem
The correct address is www.xxxxxxx.net/xxxx/sendmessage.php

The contact us (nav bar) on the forum works, top and bottom of page. That's great

The cmps page reads www.xxxxxxx.net/sendmessage.php it's missing the /xxxx before send

On the cmps page the top is missing part of the address and the bottom works

Brian
05-16-2005, 11:38 AM
If you have a link to sendmessage.php in your navbar then you will need to add that file name to the list of other files in your Navbar Replacements option.

daddy20
05-16-2005, 04:24 PM
If I understand you I did try that and it added an additional xxxx to the working ones. So the ones that did work did not after I made the change. But the one that didn't work, works now.
This is what it should look like
www.mysite.net/tcma/sendmessage.php
After I made the change the 3 out of 4 looked like this
www.mysite.net/tcma/tcma/sendmessage.php

I take it that the nav bar on the vB forum is not the same on the cmps page.
Thank you I hope you can help me further.
Daddy

Brian
05-16-2005, 04:38 PM
I don't see how that would happen... Can you post a link to your CMPS page?

daddy20
05-16-2005, 07:41 PM
I don't see how that would happen... Can you post a link to your CMPS page?
www.towncommon.net

Brian
05-16-2005, 08:59 PM
I'm not seeing any way that adding sendmessage.php to the list of navbar replacements would break anything...

daddy20
05-17-2005, 04:48 AM
I added it to the replacement and it made refer friends work but not contact us. I added tcma/sendmessage.php last time. I went back in and removed the tcma that made refer work.
Should I just add a html hot link?
<a href="http://www.towncomm.net/tcma/sendmessage.php">Contact us</a>
It's been I while but I think that's right

Brian
05-17-2005, 11:21 AM
I added tcma/sendmessage.php last time.
That would be the problem then. You don't need to add your forum's URL in front of the filename, just the filename, just like the others are listed.

daddy20
05-17-2005, 02:48 PM
I still have the problem of contact us on the cmps page not working.
Questions;
1.Is it an on going problem or is it something in my files?
2.Does it pull from the same source of the vB navbar?
3.If not what file?

I still love cmps!! :D

Tweaky
05-23-2005, 12:02 AM
Same issue myself. Copied the Navbar Replacements file list to the Header Replacements, no go.

http://www.houseofmobos.com/index.php

Double checked global hacks, works fine. Any suggestions?

Brian
05-23-2005, 11:21 AM
Move the filenames back to your Navbar Replacements option.

Tweaky
05-23-2005, 02:11 PM
Move the filenames back to your Navbar Replacements option.

Back? I copied them. Both Navbar Replacements and Header Replacements have the following listed:

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

Brian
05-23-2005, 02:22 PM
There shouldn't be any reason why it wouldn't replace those then. If you'd like to submit a support ticket though I'll be glad to take a look.

alexongaro
05-23-2005, 04:00 PM
I also had to copy the files in the header replacements to make the navbar to work form the CMPS home page

Tweaky
05-23-2005, 04:05 PM
There shouldn't be any reason why it wouldn't replace those then. If you'd like to submit a support ticket though I'll be glad to take a look.

No problemo! Ummm how do I do that? Haven't found it in the FAQs or anything, unless I'm blind :)

Brian
05-23-2005, 04:42 PM
Homepage => Members' Area => Support Tickets ;)

Tweaky
05-23-2005, 07:13 PM
Homepage => Members' Area => Support Tickets ;)

Of course, the place I didn't look lol.

Ok, this is odd... Currently sitting in class (Win2003 Server PC, IE) and the links work! Didn't work @ work (WinXP, IE) or at home (WinXP, Firefox and IE).

Hrmmm... Gonna have to investigate further...

http://www.houseofmobos.com/index.php

Ok... if article.php is not enabled, the links work. If enabled, it doesn't work.

Side note: Custom Page Content a standard module? Could've sworn it wasn't there last night...

Also, removed file names from Header Replacements, still works. Looks like article.php is doing something somehow...

Brian
05-23-2005, 08:21 PM
The links are working fine for me now as well... How are you "enabling" article.php?
Yes, the custom page content is a standard module. That's what's used to display the content of a template if you specify a template name when adding a new page.

Tweaky
05-23-2005, 08:42 PM
Just following the directions from the install of it (which needs to be HTML'd like vBA is, it's text file ATM).

To enable, just going to vBa CMPS -> Default Settings -> Edit (Default / Homepage) -> clicking box for Articles and saving.

Brian
05-24-2005, 11:04 AM
Sounds like it's a problem with that module then.

Tweaky
05-24-2005, 11:23 AM
Yep. How it is messing up the navbar of the main page though, I have no idea. Thanks for the help, I'll go bug the author of it now :)

Brian
05-24-2005, 11:41 AM
No clue... The author of the hack may be able to help you though.

Boanerges
05-27-2005, 11:06 AM
I have no idea where to check that. There is no option in AdminCP CMPS settings for Navbar Replacements.

I feel like an idiot but I can't find this either. I've looked in vbA > Default Settings but the only option I see is Enable Navbar.

Same problem as the others... main page links are not linking to the forum directory.