I followed the tutorial exactly as how it was written, just to try it out and made sure I was doing it properly. My file is test.php, and my template it called TEST just as the tutorial showed.
Text and html work fine. If I put on my page: <?php Print "Hello, World!"; ?>, it will not say "Hello, World!" but rather Print "Hello, World!"; ?>
My variable registration looks like:
Code:
vB_Template::preRegister('TEST',array('includedphp ' => $includedphp));
Sorry if that was not clear, I was just pasting it from the vb manual. On my real forums, it does say 'TEST' rather than 'FORUMHOME', I know I am doing this correctly as instructed, but I don't know why php fails to parse.