Thank you for your reply,
I readed the post and i did what is asked to do, i created a test.php
PHP Code:
<?php
$my_var="hello";
$templater = vB_Template::create('mytemplate');
$templater->register('my_var', $my_var);
$templatevalues['my_insertvar'] = $templater->render();
vB_Template::preRegister('header', $templatevalues);
?>
I created the plugin for global_start
PHP Code:
ob_start();
include('testtest.php');
$includedphp = ob_get_contents();
ob_end_clean();
i inserted this code in my header template
PHP Code:
{vb:raw my_insertvar}
But nothing happens, any solutions?