The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ok so I am making a custom vBulletin page using VB templates (used the article to make)
and the article said that to make a page inside a file you use. PHP Code:
I have placed the code after the ?> and there are no errors, it just doesn't appear. Can you please tell me what I am doing wrong. Thanks, C |
#2
|
||||
|
||||
![]() Code:
if($_REQUEST['do'] == 'why'){ eval('print_output("' . fetch_template('VIP_WHY') . '");'); } . |
#3
|
||||
|
||||
![]()
Also, VIP_WHY is not the same template as vip_why.
|
#4
|
|||
|
|||
![]()
Thanks for the replys..
@Seven Skins: That was a C&P error of mine, the file actually has PHP Code:
|
#5
|
||||
|
||||
![]()
That line must be before any other print_output() call. That is what I think the error is.
|
#6
|
|||
|
|||
![]()
Can you access any other PHP files, or do they all display contents? If so, does your host support PHP files? If yes, you will need to ask your host to configure PHP file type correctly for your account.
|
#7
|
||||
|
||||
![]()
Why don't you post the code for your php page and your template here. Make sure to use the php/html code tags.
|
#8
|
|||
|
|||
![]()
Okie Dokie here is the vip.php file.
PHP Code:
HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle] - VIP Membership</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="25%" style="float: left;"> <tr> <td class="thead">Navigation</td> </tr> <tr> <td class="alt1"><a href="http://geekstep.com">GeekStep</a> <br /> <a href="http://geekstep.com/vip.php">VIP Index <br /> <a href="http://geekstep.com/vip.php?do=why">Why Become a VIP?</a> <br /> <if condition="!is_member_of($bbuserinfo, 44)"> <a href="http://geekstep.com/payments.php">Become a VIP Member now!</if> <if condition="is_member_of($bbuserinfo, 44)"> <a href="http://www.geekstep.com/forumdisplay.php?f=141">VIP Zone</a></if> </td> </tr> </table> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="68%" align="center"><tr> <td class="tcat">Why become a VIP?</td> </tr> <td class="alt1"> [img]http://www.ddraiggoch.co.cc/galleries/geekstep/vip_logo.png[/img] <b><h3><u>What is VIP Membership?</u></h3></b> VIP Membership is an upgrade to your GeekStep account. You get access to superb new features, more hosting space, better plans and more! <b><u><h3>What do I get for becoming a VIP?</u></h3></b> VIP members get hundreds of new features, including: [img]http://www.ddraiggoch.co.cc/galleries/geekstep/vip_list.png[/img] <b><h3><u>How much is a VIP Membership?</u></h3></b> VIP Membership is from as slow as $5 a month, with a whole years membership only $20! Some hosting companies charge over $30 for just one month of hosting, with GeekStep you get huge hosting plans and exclusive access for a year for less! To order, <a href="http://geekstep.com/payments.php">click here</a> All orders are sent though paypal, and are 100% safe and secure. </td></tr> </table> <br /><br /> $footer <div id="smallfont" align="center"> VIP Section created by Connor </div> </body> </html> |
#9
|
|||
|
|||
![]() PHP Code:
|
#10
|
||||
|
||||
![]()
Once you have an eval print_output, that's it. You need to have yours before the other one. Something more like this:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|