The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Navbar Question.
Hello, I was wondering if anybody on this site knows a way to put the vavbar on top of the page, and not under the header. similar to the navbar at http://game-tuts.com
It would be much appreciated if anybody on here can help me understand how to do something like this. Thanks. |
#2
|
||||
|
||||
Quote:
That will determine how you go about it as in 4.x you must register the variables so for example in that site you linked to they either made a custom navbar of their own based on code and css then removed the default or they registered all the correct variables and moved the actual navbar menu from the navbar template into the header template. More info here about registering variables: https://vborg.vbsupport.ru/showthread.php?t=228078 |
#3
|
|||
|
|||
My site is vB4.1, I will look Into that link you posted, if I have any more questions I will post later.
--------------- Added [DATE]1292462644[/DATE] at [TIME]1292462644[/TIME] --------------- What variables should I register for the navbar to be fully functional in the header template? I already have it moved and all, but it is not fully functional without the variables registered. |
#4
|
||||
|
||||
Quote:
Reference Lynne's tips here and you'll see how you can move the Facebook connect from the header into the navbar, once you graps that it's pretty much opposite yet a few more variables must be registered but the way to do it is there in Lynne's info . http://www.vbulletin.com/forum/showt...avbar-template |
#5
|
|||
|
|||
PHP Code:
--------------- Added [DATE]1292464749[/DATE] at [TIME]1292464749[/TIME] --------------- Oh wait, this would have to be done before I deleted everything in the navbar template. Am I right? And I realized that I need to add variables, not an array right? |
#6
|
||||
|
||||
Quote:
http://www.vbulletin.com/forum/showt...ons-menu-place Lynne was very helpful and so was I, that member learned and I want you to as well so what you need to do is some more testing with this, try things out and check out some articles here and even mods here that deal with modifying the header or navbar remember you can download the mods to install or to view and learn you just can't copy/paste it off as your own however you have one gigantic pool of knowledge right in front of you so jump in . And yes your correct about removing the code from the navbar that your pasting into the header if you have the same variable in both it will not display properly. |
#7
|
|||
|
|||
Okay :P, I will do a little more research instead of taking the easy way out, I'm just kinda lazy haha. But I am a quick learner
--------------- Added [DATE]1292533979[/DATE] at [TIME]1292533979[/TIME] --------------- Okay, I think I am finally getting the hang of this, all of the {vb:raw xxxxxxx) from the navbar that are not in the header file need to be preregistered, but does that cover all of the {vb:rawphrase xxxxxxxx} or do those have to be preregistered also? |
#8
|
||||
|
||||
Quote:
Remember that's not something you should have to await a reply on . |
#9
|
||||
|
||||
What about if you just edit your templates and swap the header and navbar call?
example: in forumdisplay template change: Code:
{vb:raw header} {vb:raw navbar} Code:
{vb:raw navbar} {vb:raw header} You'll have to make this change in every template that has the navbar in it (you can search templates for "{vb:raw navbar}") which is a bit tedious but a lot easier than erasing exsting templates and pre-registering variables. |
#10
|
||||
|
||||
Quote:
Mike runs off to hide behind a corner... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|