Quote:
Originally Posted by Melissa Miller
Church Media, either that didn't work I'm too stupid to do it.
It seems like it would be easy to fix, I just cant figure out where.
When I click on my forums link in the nav bar, it goes to a bad page.
|
I didn't explain it very well. There are "relative links" and "hard links". A relative link assumes that you are in your forums directory, so going from index.php to showthread.php is no problem. But the "groups" directory is not relative to your forums directory, so that's why the replacement code is in there. The first line in the first array is 'register.php'. If you were in your forums directory it would be okay; but since you're in the groups directory it gets replaced by $vbulletin->options['bburl'] . '/register.php' (the first line in the second array), which will point it back to your forums directory.
So if you have a link that is going to the wrong place -- like chat.php might point to /groups/chat.php -- then you can either a) put in a replacement into the arrays or b) change that link to
http://www.yoursite.com/forums/chat.php.
Now, with index.php you can't really do a replacement, because index.php is such a common file name. So edit your header or navbar template (or wherever it is) and add
http://www.yoursite.com/forums/ to your link.
I hope this makes sense. Feel free to PM me if you want to figure it out off-forum.