The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
register_rules theme problem
Hi,
In register_rules theme, there is a problem with navbar ($navbar). In register.php, we can not see navbar. Codes in register_rules like that: Code:
. . . <body> $header $navbar . . . |
#2
|
|||
|
|||
The problem continues
|
#3
|
||||
|
||||
There shouldn't be a $navbar variable in the register_rules template by default.
|
#4
|
|||
|
|||
Yep, but I don't use header template, I put all codes(logo etc.) to the navbar template. So $navbar must be appear there. How can I do that ?
Thanks |
#5
|
||||
|
||||
I'm not absolutely certain on this, but my hunch is that register.php would need to be edited, as I don't think it's called for that template. I don't think just putting the $navbar variable there will do it, unless someone knows something more about it.
|
#6
|
|||
|
|||
Best solution would be to put the logo etc where they belong: in the header template.
|
#7
|
|||
|
|||
Quote:
If you don't know please don't write to the topic, I don't want to know the "Best solution", I want to know the real solution ! Thanks |
#8
|
||||
|
||||
Er, that that is the real solution. If you had stopped and thought about it, you'd realize that you can probably use your header for all your navbar code instead of your navbar template and it will look exactly the same. Take a look at all the custom styles that move the navbar for whatever reason, and you'll see that they've moved most everything to the header (Though I've not see one that eliminates one altogether). The reason why is that eliminating one usually creates problems just like the ones you having now, but I see no reason why you can't use both templates to maintain the style design you've created, nor do I see any reason for the hostility. Sometimes the real solution is not the one you wanted to hear, but it will still likely work. How could you differentiate the best solution from the real one? They're the same thing.
|
#9
|
|||
|
|||
Quote:
I think I asked a simple question. How can I show a $navbar in the register theme ? Is that simple enough ? I don't wanna hear, 'use them in the header theme, forget another way. What I want to do is my choise. So I am asking again: How can I show a $navbar in the register theme ? If somebody know that, they can write, I'm gonna be be pleased. Otherwise plese don't write any comment which is not a solution. Thanks |
#10
|
||||
|
||||
What I'm saying is, I don't think you can, without a editing a vBulletin core file. I don't think that's something you want to do, is it? Nor do I think it's something that can be done easily, not to mention voiding any official vBulletin support, as per the TOS. Maybe you can hire a PHP coder to look into it for you, but that seems to be going about it the hard way.
What I don't understand is what's the big deal with moving some code to the header? Maybe if we understood why your trying to avoid the header, we'd understand what you were trying to do better. As it stands, you seem to be dead set on going about this the more difficult way, the way that most likely won't work. Just saying that it's your choice, doesn't really mean it's possible. That's not how coding works. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|