Angel
Nov 13, 2009, 09:59 PM
Ok I have got a few messages about this and I also had the same question untill I asked around and did some searching on google. I found a few things that will be able to help you in making a new page. Whether this be a Upgrade page, testimonials page, etc...
So please just listen and copy the codes that I have provided for you. Also these are the codes i made for my site, so edit them accordingly.
Ok so first lets make a simple page. The page i have made was for upgrade accounts, so the page i made was upgrade.php. So look below and you will see what i have done.
All you have to do is replace the "upgrade" part of the text, to what ever the name of your page is going to be. So in the following code I have made another one for you, just to see what i mean.
See what i mean. if so good....if not read more through the code and see if you can get it.
ok next were going to have to make a template for your theme on your board. So what were going to have to do is go in the acp and make a template. So follow the steps below ok.
admin cp --> Templates & Styles --> Templates --> The template your using --> Expand Templates --> Add new Template.
If all of that is confusing, I have provided a screenshot step-by step images below.
Now once you have click to make a new template, just copy and paste this code in the larger text box, and put the content you want where i have labeled for you.
I hope this helps some of you.
Here are the attachments.
[attachment=1656] [attachment=1657]
[attachment=1658] [attachment=1659]
So please just listen and copy the codes that I have provided for you. Also these are the codes i made for my site, so edit them accordingly.
Ok so first lets make a simple page. The page i have made was for upgrade accounts, so the page i made was upgrade.php. So look below and you will see what i have done.
Code:
<?php
define("IN_MYBB", 1);
define("KILL_GLOBALS", 1);
require "global.php";
add_breadcrumb("Upgrade", "upgrade.php");
eval("\$upgrade= \"".$templates->get("upgrade")."\";");
output_page($upgrade);
?>
Code:
<?php
define("IN_MYBB", 1);
define("KILL_GLOBALS", 1);
require "global.php";
add_breadcrumb("contact", "contact.php");
eval("\$contact= \"".$templates->get("contact")."\";");
output_page($contact);
?>
See what i mean. if so good....if not read more through the code and see if you can get it.
ok next were going to have to make a template for your theme on your board. So what were going to have to do is go in the acp and make a template. So follow the steps below ok.
admin cp --> Templates & Styles --> Templates --> The template your using --> Expand Templates --> Add new Template.
If all of that is confusing, I have provided a screenshot step-by step images below.
Now once you have click to make a new template, just copy and paste this code in the larger text box, and put the content you want where i have labeled for you.
I hope this helps some of you.
Code:
<html>
<head>
<title>Subscribe</title>
{$headerinclude}
</head>
<body>
{$header}[b]
Put your content Here.[/b]
{$footer}
</body>
</html>
Here are the attachments.
[attachment=1656] [attachment=1657]
[attachment=1658] [attachment=1659]