The Arcive of vBulletin Modifications Site. |
|
Problems with $navbar and functions.php! Details »»
|
|||||||||||||||||||||||||
Hey, I was hoping someone might be kind enough to help me out here!
I've moved all of my forum files to the root of my server and re-named index.php to forums.php - because I have MyVbIndex installed. As a result, the Navbar displays the following format in Showthread and Forumdisplay. BBTitle* > Cat A > Cat B > Thread *This obviously then links to the MyVbIndex page [index.php]. What I am trying to do is change this to the following format... SiteTitle > Forums > Cat A > Cat B > Thread ...only on the Showthread and Forumdisplay - the way this is for every other page works fine. So far, by looking at functions.php I have been able to use some variables and the following HTML to replace $navbar in Forumdisplay. Code:
<img src="{ imagesfolder}/vb_bullet.gif" border="0" align="middle" alt="$bbtitle ? Tell someone who cares!">
<normalfont>
<a href="index.php?s=$session[sessionhash]">$bbtitle</a> ?
<a href="forums.php?s=$session[sessionhash]">Forums</a> >
$foruminfo[title]
</normalfont>
Does anyone have any ideas on this, or know of a thread that can tell me how [I've looked, but couldn't find any]. Thanks to everyone in advance. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Poking about in functions.php I see there is a function regarding 'altnavbar' which as far as I know, is un-used. I tried fiddling about with this to no avail [I know hardly anything about PHP] - does this mean anything to anyone else?
|
|
#3
|
||||
|
||||
|
Nevermind, I worked out how to do this with templates instead. Easier on all fronts to be honest.
|
![]() |
|
|