I'm having some problems as well - can;t get a couple of phrases to show...
This is my php file (ruelsPop.php)
PHP Code:
<?php
// GO TO FORUM DIR
chdir('/home/journal/public_html/forums');
// STANDARD VBULLETIN STUFF
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'rulesPop');
$phrasegroups = array(
);
require_once('./global.php');
// GENERIC_SHELL VARS
$pagetitle = "Title of Page";
$HTML = ""; // PIECED TOGETHER IN SCRIPT
eval('$HTML = "' . fetch_template('Forum_Rules') . '";');
eval('print_output("' . fetch_template('GENERIC_SHELL') . '");');
?>
This is my Forum_Rules template:
HTML Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[forum_rules]</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="left">
$vbphrase[forum_rules_description]
</div>
</div>
</td>
</tr>
</table>
And this is my generic shell:
PHP Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[registration]</title>
</head>
<body class="article">
$HTML
</body>
</html>
Notice I have no navbar, header, footer - just a very simple page. But I can;t get the phrases to display...
Any ideas?