ChrisBaktis
06-19-2004, 03:26 PM
I run a sports card trading site located at www.rustysoaptraders.com. We received new boxes of sportscards that we review. I would like to use a vbulletin page for the reviews.
To make things less confusing and keep them seperate I would like to keep all the .PHP files seperate from the main forum files. The problem is I cannot get the .PHP file to work unless it is in the main forums directory. Can someone give me help on how to seperate.
My current setup is as follows.
Template Name: 04fleerultrafootball
.php File: 04fleerultrafootball.php
I would like the .php stored in a sub folder like this: rustysoaptraders.com/forums/reviews/04fleerultrafootball.php
This doesnt work but if I put the .php file in the directory rustysoaptraders.com/forums/04fleerultrafootball.php then the file works great.
i just want to keep all the review .php files from cluttering the main board .php files.
This is the .php file that I am using for this:
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', '2004 Fleer Ultra Football Review');
require_once('./global.php');
eval('$navbar = "' . fetch_template('navbar') . '";');
$globaltemplates = array('04fleerultrafootball');
eval('print_output("' . fetch_template('04fleerultrafootball') . '");');
?>
What do I need to change to get this to work in the forums/review subdirectory?
I forgot to add that when I use the rustysoaptraders.com/forums/reviews/04fleerultrafootball.php I get a blank page.
Also if you can help me on this - How can I get the title of the page 2004 Fleer Ultra Football to show up in the Navigational bar (like the thread titles do)?
To make things less confusing and keep them seperate I would like to keep all the .PHP files seperate from the main forum files. The problem is I cannot get the .PHP file to work unless it is in the main forums directory. Can someone give me help on how to seperate.
My current setup is as follows.
Template Name: 04fleerultrafootball
.php File: 04fleerultrafootball.php
I would like the .php stored in a sub folder like this: rustysoaptraders.com/forums/reviews/04fleerultrafootball.php
This doesnt work but if I put the .php file in the directory rustysoaptraders.com/forums/04fleerultrafootball.php then the file works great.
i just want to keep all the review .php files from cluttering the main board .php files.
This is the .php file that I am using for this:
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', '2004 Fleer Ultra Football Review');
require_once('./global.php');
eval('$navbar = "' . fetch_template('navbar') . '";');
$globaltemplates = array('04fleerultrafootball');
eval('print_output("' . fetch_template('04fleerultrafootball') . '");');
?>
What do I need to change to get this to work in the forums/review subdirectory?
I forgot to add that when I use the rustysoaptraders.com/forums/reviews/04fleerultrafootball.php I get a blank page.
Also if you can help me on this - How can I get the title of the page 2004 Fleer Ultra Football to show up in the Navigational bar (like the thread titles do)?