dj_krztoff
01-23-2007, 06:28 PM
I'm trying to integrate the Roster Master script for Everquest II into my CMPS. I have tried calling this as a module, html, php, and template, and I get the same results every time. I'll use HTML for my example.
Here is the code I'm using in the forums directory (roster.html):
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Roster Master</title>
<link rel="stylesheet" type="text/css" href="roster_master/rostermaster.css" />
</head>
<body>
<p align="center"><font size="5">Roster Master</font><br>
<!-- Roster Master Include Starts Here -->
<? include("roster_master/rostermaster.php"); ?>
</body></html>
I then created a new HTML page and pointed to this file. I enabled the "custom page content" block. All that appears in this block is the heading "Roster Master", but none of the output of the rostermaster.php file is present. If I point directly to the rostermaster.php file in my browser, it outputs fine.
Any ideas are appreciated.
Also, as a sidenote, I tried adding
define('VBA_PORTAL', true);
define('VBA_PAGE', 'include');
to the rostermaster.php file and just placing it in the center block the same way that I've integrated my forumhome.php into the CMPS, but it just parses as if I changed nothing at all.
For reference, the directory structure is as follows
/forums/roster_master/rostermaster.php
/forums/roster.html <- the code i pasted above
/forums/roster_master/rostermaster.css
Here is the code I'm using in the forums directory (roster.html):
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Roster Master</title>
<link rel="stylesheet" type="text/css" href="roster_master/rostermaster.css" />
</head>
<body>
<p align="center"><font size="5">Roster Master</font><br>
<!-- Roster Master Include Starts Here -->
<? include("roster_master/rostermaster.php"); ?>
</body></html>
I then created a new HTML page and pointed to this file. I enabled the "custom page content" block. All that appears in this block is the heading "Roster Master", but none of the output of the rostermaster.php file is present. If I point directly to the rostermaster.php file in my browser, it outputs fine.
Any ideas are appreciated.
Also, as a sidenote, I tried adding
define('VBA_PORTAL', true);
define('VBA_PAGE', 'include');
to the rostermaster.php file and just placing it in the center block the same way that I've integrated my forumhome.php into the CMPS, but it just parses as if I changed nothing at all.
For reference, the directory structure is as follows
/forums/roster_master/rostermaster.php
/forums/roster.html <- the code i pasted above
/forums/roster_master/rostermaster.css