PDA


View Full Version : navbar link has wrong url path


Kseki
08-09-2005, 12:44 AM
the filepath navbar for a hack from my CMPS portal page is wrong.....and I don't know how to fix it.

running vb 3.5 RC 1

specifically:

I installed vBRadio
It appears in the navbar and works fine from the main forums
From the portal page navbar vbRadio item does NOT work. get an error Page.
I added "vBRadio.php" to the navbar replacements section of the Default Settings of the CMPS adminCP.
navbar vbRadio item still does NOT work.

I noticed the path is incorrect
ww w.sitename.com/vBRadio.php

but it SHOULD be
ww w.sitenamecom/forums/vBRadio.php


how do I correct the file path?

any help would be very appreciated. :D

Brian
08-09-2005, 11:40 AM
Admin CP => vBa CMPS => Default Settings => Navbar Replacements

Add vBRadio.php to that list.

Kseki
08-11-2005, 08:42 AM
I did that. :(
(step four in original post)


I installed vBRadio
It appears in the navbar and works fine from the main forums
From the portal page navbar vbRadio item does NOT work. get an error Page.
I added "vBRadio.php" to the navbar replacements section of the Default Settings of the CMPS adminCP.
navbar vbRadio item still does NOT work.

mholtum
08-11-2005, 09:27 AM
I couldnt get it to work with the latest VB either. Must be a bug or something. You might wanna just wait till the hack is updated.

Brian
08-11-2005, 01:31 PM
Can you post a link to your site?

´ÀÉ`SÌLVÉR´ÀÉ`
08-11-2005, 10:29 PM
Fixed

Dorfdad
08-12-2005, 03:29 PM
Fixed?
I hate people who dont explain. If you fixed it tell others please

Judge Ruckus
10-09-2005, 04:30 AM
I get this error:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/planetqu/public_html/cecilcountyx/vBRadio.php on line 54

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/planetqu/public_html/cecilcountyx/vBRadio.php on line 54
===========================

I also added vBRadio.php to the navbar replace. and added the vbradio file to the index still no go. www.cecilcountyx.com

Brian
10-10-2005, 03:34 PM
That's something with the vB radio hack, wouldn't have anything to do with the CMPS.

Judge Ruckus
10-11-2005, 05:19 PM
That's something with the vB radio hack, wouldn't have anything to do with the CMPS.
Okay I have tried there and here just hope something is brought out in the open.

allstar
10-13-2005, 02:14 PM
I have the same problem with all navbar links. EG: It should be /forum/search.php but the link goes to /search.php, resulting in a 404 obviously.

www.drumforum.co.uk

Thanks in advance

allstar
10-13-2005, 02:21 PM
I have the same problem with all navbar links. EG: It should be /forum/search.php but the link goes to /search.php, resulting in a 404 obviously.

www.drumforum.co.uk

Thanks in advance
Sorry - that was my own fault - I never edited the list of navbar replacements. :)

majorj0nny1
10-15-2005, 03:57 PM
I have the same problem with all navbar links. EG: It should be /forum/search.php but the link goes to /search.php, resulting in a 404 obviously.

www.drumforum.co.uk

Thanks in advance

me too... sorry for mentioning this again but Im searching these boards for answers (as well as vbulletin and vbstyles), and Ive already posted a thread on this topic - but any solutuions do not effect this.

I can manually edit the header (where my navbar links are in that style) and add a

)$vboptions[bburl]/ to the start of every .php file link to force it to the correct location ... but I also need to do this to all the .php links in the welcome block template and add an extra /forum into the welcome block module in the code include bit - and still I have incorrect linking from my search and quick link buttons, and a shoutbox I have which has clickable username links again misses out the all important /forum part of the files location - hence coming back with a 'page not found' fault.

All the navbar, header, and shoutbox links work perfectly in normal forum views though - and did do even before I had to add stuff to get the homepage to work... all of this points me to think that Im missing some simple setting that would effect this for everything ?

anyway - on with the hunt...

Brian
10-15-2005, 06:49 PM
Admin CP => vBulletin Options => Site Name / URL / Contact Details => Forum URL

Are you sure you have that option set correctly?

majorj0nny1
10-16-2005, 10:29 AM
Admin CP => vBulletin Options => Site Name / URL / Contact Details => Forum URL

Are you sure you have that option set correctly?

mines set to :

http://www.50klicks.com/forum

if I change that and remove the forums loads of stuff just dont work..

I also noticed that my search button and quick link button when clicked on dont seem to do anything - yet if I change to my second vba page (its a staff page) they work fine on there ?? :(

theodonnells
10-16-2005, 06:20 PM
I had the same problem but this

In the navbar template
find where it says
vBRadio.php
replace it with $vboptions[bburl]/vBRadio.php

seemed to work for me, now both my home page and forum open the same link to vbradio.php.

divided_by_fear
11-07-2005, 08:21 PM
that worked sweet thank you theodonnells... now just to fix the buddy list one...

Brian
11-08-2005, 02:41 PM
majorj0nny1 - All of your links seem to be working fine for me, so I'm assuming you were able to figure out the problem?