unfortunately that didn't seem to work
I'm not setting it up as a "proper" template system, just... well, here's the code I use to call global.php (including your recent advice):
PHP Code:
<?php
$curdir = getcwd(); // store the current directory
chdir($_SERVER['DOCUMENT_ROOT']."/board/"); // switch to the forum directory
require_once('./global.php'); // init vbulletin
require_once("functions.php"); // get site specific functions
$phrasegroups = array();
chdir($curdir); // change back to the original working directory
?>
everything after this is custom code for the site.
Actually the phrase does show up when I put it directly in my php file, but it doesn't show when I put it in a custom template.
Nevermind, I got it. Simply forgot to bring the $vbphrase array into my function