The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I created a global_start plugin with the following code and placed the
Code:
{vb:raw includedphp_main}
Code:
ob_start();
include('global_mainphoto.php');
$includedphp_main = ob_get_contents();
ob_end_clean();
$preRegister['includedphp_main'] = $includedphp_main;
vB_Template::preRegister('header', $preRegister);
|
|
#2
|
||||
|
||||
|
The CMS pages do not call the global_start hook.
Possibly try global_state_check instead. |
|
#3
|
|||
|
|||
|
Perfect! Thank you!
|
|
#4
|
|||
|
|||
|
He works perfect in the forum, but the page vbadvanced the php file is not displayed, any ideas please?
|
|
#5
|
|||
|
|||
|
Quote:
Thank you Paul. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|