The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Example above:
Code:
{vb:raw globalHeader} Code:
{vb:raw myname_footer} PHP Code:
PHP Code:
Change "myname_footer" to what you like. |
#12
|
||||
|
||||
hi tom, i'm confused by your post - i'm trying to do a header include
|
#13
|
|||
|
|||
HTML Code:
ob_start();
include("../header.php");
$myname_footer = ob_get_contents();
ob_end_clean();
$preRegister['myname_footer'] = $myname_footer;
vB_Template::preRegister('footer', $preRegister);
When I was running vBulletin 3.x it went into global.php But now that i've upgraded to vBulletin 4, I don't know where that code goes. Thanks Nick |
#14
|
|||
|
|||
intente con todas las variaciones señaladas aquí. Alguien ha logrado hacer esto con exito?
|
#15
|
|||
|
|||
Hi guys.
Trying to get some php code into my forum to get it to display the frontpage slider. I've done this. PHP Code:
What am i doing wrong? |
#16
|
||||
|
||||
Just noticing the obvious error, but the name of the template is not forumhome, it is FORUMHOME.
|
#17
|
|||
|
|||
Still doesn't work.... Ok,
So let's start from scratch. I have this. PHP Code:
So I've gone into add plugin, and done the following. PHP Code:
PHP Code:
|
#18
|
|||
|
|||
This works perfectly! Thanks!
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|