The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
adding forum jump to a custom vb3 page
hey i'm sure this is an easy mod to do i'm just probably missing something obvious.
here's the php code for my page PHP Code:
|
#2
|
||||
|
||||
$forumjump= construct_forum_jump();
also put that before the template print out function |
#3
|
|||
|
|||
thanks for your response! (first time i've got one here) i managed to make it work with your help, by just moving what i had done up above the print out like you said. why is that so?? (if anyone doesnt mind explaining?)
the $forumjump variable is assigned in the functions.php included in global.php so it wasn't needed to be assigned. |
#4
|
||||
|
||||
that is because you are already printing a page so any variables or functions after it will not be displayed on the printed out page, so if you want something to show on a printed out template/page it must be put before it in the php file. sort of like chronological order
|
#5
|
|||
|
|||
ahhhhhhhhh i see! there was a true ping moment when i realised the second line of the printing out was no longer to do with navbar, and then it all became crystal
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|