The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can't find this hack
What's the hack that allows me to power a non vb .php file with the vb template? I deleted it off y system
|
#2
|
||||
|
||||
<a href="https://www.vbulletin.org/hacks/index.php?s=&action=showhack&hackid=399" target="_blank">http://www.vbulletin.org/hacks/index...ack&hackid=399</a> ?
|
#3
|
|||
|
|||
No, i lookeded at that one, it is where it will look like your template and you can add anything to the center of your template.
The .php file just connects to the db and calls templates |
#4
|
|||
|
|||
Anyone?
|
#5
|
||||
|
||||
sounds like you want vbHome(lite) modified to pull templates from your template list?
Click my "WWW" thing, and what you'll see( and the pages it links to on the left) are made with vbHome(lite) |
#6
|
||||
|
||||
additionally, if you include the correct header in your .php file, to include the vb vars and global.php, I believe you can use the gettemplate command w/out any other fancy stuff, like vbH(l)
|
#7
|
|||
|
|||
Found it! It was in my old vb backup files..
Code:
<?php error_reporting(7); require('./global.php'); eval("dooutput(\"".gettemplate('cams')."\");"); ?> Code:
{htmldoctype} <html> <head> <!-- no cache headers --> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="no-cache"> <meta http-equiv="Expires" content="-1"> <meta http-equiv="Cache-Control" content="no-cache"> <!-- end no cache headers --> <meta http-equiv="Refresh" content="20; URL="cams.php"> <script language="javascript" src="popup.js"></script> <title>$bbtitle - WebCams</title> $headinclude </head> <body> $header <br> <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <tr> <td bgcolor="{tableheadbgcolor}" width="20%"><smallfont color="{tableheadtextcolor}"><smallfont color="{tableheadtextcolor}"><b>$bbtitle WebCams</b></smallfont></td></tr> <tr valign="top"> <td bgcolor="{pagebgcolor}" width="100%" valign="top"> <normalfont> <p align="center"><a href="javascript:cam()"><img src="http://nerdnations.com/img/cam.jpg" border="0" width="240" height="200"></a></p> </normalfont> </td> </tr> </table> </td></tr></table><br><br> $footer </body> </html> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|