Announcement

Collapse
No announcement yet.

Require .php file from style?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Require .php file from style?

    Basically I am trying to get this php file here: http://www.newyorkmustangs.com/forums/playstation.php

    to load in this style here:

    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <title>$vboptions[bbtitle]</title>
    $headinclude
    </head>
    <body>
    $header

    $navbar

    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    <td class="tcat">Playstation 3 Users</td>
    </tr>
    <tr>
    <td class="alt1"><?php require 'playstation.php';?></td>
    </tr>
    </table>

    $footer
    </body>
    </html>


    But this is the outcome: http://newyorkmustangs.com/forums/ps3.php It's blank, any ideas? I'm don't think I'm calling the php file correctly.

    Thanks for the help.

  • #2
    You need a plugin. See my post in this thread:

    http://www.vbulletin.com/forum/showthread.php?t=177024

    Comment


    • #3
      This worked brilliantly. Thank you so much!!

      One more question though. I would like to create another page which gets info from the same table, just a different row. How would I go about creating multiple pages like this?
      Last edited by MikesSite; Wed 25 Feb '09, 6:38am.

      Comment


      • #4
        vBAdvanced has that functionality:

        http://www.vbadvanced.com/

        ...as will vBulletin's upcoming CMS, but that is still in development.

        Comment


        • #5
          Thank you for the help Mr. Bunce.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X