Thread Rating:
  • 16 Vote(s) - 4.38 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Include your custom pages in Mybb
#11
Hench, i was lookgin for this simple tut hehe ^_^ lurve it nods!
Reply
#12
Nicely done. I'll be using thisWink
Reply
#13
for some reason all i get is a blank page
[Image: ad_banner.jpg]
Reply
#14
have u used the same name of the template in your code??

regards
Reply
#15
this is very useful
thanks
MyBB - The ultimative forum script
Show your support! - See MyBB's success
Reply
#16
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:

Code:
<?php

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

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

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

and in $links:
Code:
<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.
[Image: ad_banner.jpg]
Reply
#17
can someone help me?
[Image: ad_banner.jpg]
Reply
#18
the title tag isn't closed

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

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

bbye
Reply
#19
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.
Reply
#20
WOW I dont know how i must have missed that on three different pages.

Thanks Anyway!
[Image: ad_banner.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)