Here's what I have for the php file that calles the rules template. That didn't work, KirbyDE, for some reason.
PHP Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
// pre-cache templates used by all actions
$globaltemplates = array('header,navbar,rules');
define('OVERWRITE_STYLEID', 1);
// ## Grabs global.php ##
require("./global.php");
require('./includes/functions_bbcodeparse.php');
// ## yeap what it says ##
define('NO_REGISTER_GLOBALS', 1);
// ## defines this script as chat if you use phpinclude_start for this page at all ##
define('THIS_SCRIPT', 'rules');
$vboptions['allowbbcode'] = true;
$vboptions['allowsmilies'] = true;
// If you also want tp parse HTML:
// $vboptions['allowhtml'] = true;
// If you also want to parse IMG-Code
// $vboptions['allowbbimagecode'] = true;
$rules_parsed = parse_bbcode($rules, 'nonforum', true);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('rules') . '");');
?>