The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
adding a PHP page using templates
Hey
I made a download page for my website with the code: PHP Code:
Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title> $headinclude <if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script></if> </head> <body> $header $navbar <table align="center" class="page" cellspacing="0" cellpadding="0" width="100%"> <tr valign="top"> <if condition="$show['left_column']"> <td width="$vba_style[portal_leftcolwidth]"> $home[leftblocks] </td> <!-- Spacer Cell --> <td width="$vba_style[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_style[portal_colspacing]" /></td> <!-- / Spacer Cell --> </if> <td valign="top"> DOWNLOAD WILL BE HERE </td> </if> <if condition="$show['right_column']"> <!-- Spacer Cell --> <td width="$vba_style[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_style[portal_colspacing]" /></td> <!-- / Spacer Cell --> <td valign="top" width="$vba_style[portal_rightcolwidth]"> $home[rightblocks] </td> </if> </tr> </table> $footer </body> </html> |
#2
|
|||
|
|||
bump
|
#3
|
|||
|
|||
Bump again
|
#4
|
||||
|
||||
In your PHP, put your output into a variable and put that variable into your template.
|
#5
|
|||
|
|||
and into the $globaltemplates array put download
|
#6
|
|||
|
|||
on my download page?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|