Go into your AdminCP -> Styles & Templates -> *YourSkin* -> Add New Template.
Name it whatever you wish, but with "_custom) at the start of it....
For example... we will call this template- "custom_sponsors2".
*Red part is mandatory. After the _ you can call it whatever you wish.
*Purple part is the bit you can name anything you wish.
Now copy the contents of your "GENERIC_SHELL" template, and paste it to your new template (custom_sponsors2).
So your new template looks like this:
Now.. in that code, find:
And replace it with your own HTML code (Whatever you want to appear on the page).
For example, here's my own HTML code that I want added to my custom page:
After I add it, my new template now looks like this:
Next.. save the template, and you can now navigate to your new page by going to this link:
Edit the purple bits to suit your forum/ page name.
If you have more than 1 style on your forum; you will need to do this for each style otherwise the page will not be found.
Here's an example of my new page:
HTH
Name it whatever you wish, but with "_custom) at the start of it....
For example... we will call this template- "custom_sponsors2".
*Red part is mandatory. After the _ you can call it whatever you wish.
*Purple part is the bit you can name anything you wish.
Now copy the contents of your "GENERIC_SHELL" template, and paste it to your new template (custom_sponsors2).
So your new template looks like this:
PHP:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" id="vbulletin_html">
<head>
$headinclude
<title>$vboptions[bbtitle] - Affiliates</title>
</head>
<body>
$header
$navbar
$HTML
$footer
</body>
</html>
Now.. in that code, find:
PHP:
$HTML
And replace it with your own HTML code (Whatever you want to appear on the page).
For example, here's my own HTML code that I want added to my custom page:
HTML:
<div class="spacer"></div>
<div align="center">
<table class="tborder" border="0" cellpadding="6" cellspacing="1" width="100%">
<tbody>
<tr>
<td class="tcat">Sponsors 2</td>
</tr>
</tbody>
<tbody>
<tr>
<td colspan="2"><p>I can add anything in here like text, images, paypal buttons- whatever!</p>
</tr>
</tbody>
</table>
After I add it, my new template now looks like this:
PHP:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" id="vbulletin_html">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body>
$header
$navbar
<div class="spacer"></div>
<div align="center">
<table class="tborder" border="0" cellpadding="6" cellspacing="1" width="100%">
<tbody>
<tr>
<td class="tcat">Sponsors 2</td>
</tr>
</tbody>
<tbody>
<tr>
<td colspan="2"><p>I can add anything in here like text, images, paypal buttons- whatever!</p>
</tr>
</tbody>
</table>
$footer
</body>
</html>
Next.. save the template, and you can now navigate to your new page by going to this link:
Code:
http://www.[color=DarkOrchid]yoursite.com[/color]/[color=DarkOrchid]yourforumdir[/color]/misc.php?do=page&template=[color=DarkOrchid]sponsors2[/color]
If you have more than 1 style on your forum; you will need to do this for each style otherwise the page will not be found.
Here's an example of my new page:
HTH