I've set this up on my test site, and it works OK while i'm logged in, but when I'm not logged in, and I visit this custom page, I just get a plain white screen.
looking at a source of this plain white pages shows me:
Code:
<!-- BEGIN TEMPLATE: dkp_template -->
<!-- END TEMPLATE: dkp_template -->
Here is the code currently used in the template for this custom .php page:
Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
<title>{vb:raw vboptions.bbtitle}</title>
{vb:raw headinclude}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<div id="pagetitle">
<h1>{vb:raw pagetitle}</h1>
</div>
<li class="popupmenu">
<h2 class="blockhead">The MCO DKP System</h2>
<h2 class="blocksubhead"> <vb:if condition="$show['modcplink']">
<a href="javascript://" class="popupctrl">Administration</a>
<ul class="popupbody popuphover">
<li><a href="/25manwrathplus/admin/" target=”dkp_frame”>Admin Index</a></li>
<li><a href="sublink2.php">SubLink 2</a></li>
<li><a href="sublink3.php">SubLink 3</a></li>
</ul>
</li>
</vb:if> </h2>
<div class="blockbody">
<div {height:auto;}>
<iframe name="dkp_frame" width=100% height=1700px SCROLLING=no FRAMEBORDER=0 src="/25manwrathplus">dkp_frame</iframe>
</div>
</div>
{vb:raw footer}
</body>
</html>