MyBB Community Forums

Full Version: Include your custom pages in Mybb
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Hench, i was lookgin for this simple tut hehe ^_^ lurve it nods!
Nicely done. I'll be using thisWink
for some reason all i get is a blank page
have u used the same name of the template in your code??

regards
this is very useful
thanks
zaher1988 Wrote:have u used the same name of the template in your code??

regards

Yes well it only happens in IE

here is my code:

<?php

require "./global.php"; // (1)

addnav("Links", "links.php"); // (2)

eval("\$links = \"".$templates->get("links")."\";"); // (3)
outputpage($links); // (4)
?>


and in $links:
<html>
<head>
<title>$settings[bbname]JDMFS Store
$headerinclude
</head>
<body>
$header

<table  cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
	<td class="thead" align="left"></td>
</tr>
<tr>
	<td class="trow1" align="center">
<!-- START JDMFS GALLERY -->

<iframe height="1350" width="100%" src="http://www.jdmfloridascene.com/mybb/scripts/dropdown.html" frameborder="0"></iframe>

<!-- END JDMFS GALLERY  -->

	</td>
</tr>
</table>


<br />

$footer
</body>
</html>

it is also true for:
http://www.jdmfloridascene.com/mybb/store.php
http://www.jdmfloridascene.com/mybb/gallery.php

but if you view it in Firefox it is fine.
can someone help me?
the title tag isn't closed

 <title>$settings[bbname]JDMFS Store
should be

<title>$settings[bbname]JDMFS Store</title>

bbye
Quick question on using this...

Can one wrap another site inside this page? For example, if one had a Gallery page could one embed it into the site using this code or something close? Just wondering...that would be really nice if it could be done...integration aside, it would be nice for my users to not have to visit a different url/website to access pics.
WOW I dont know how i must have missed that on three different pages.

Thanks Anyway!
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14