The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
New PHP file Linking Help Needed
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 Code:
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)? |
#2
|
||||
|
||||
before:
error_reporting(E_ALL & ~E_NOTICE); add, chdir('/path/to/your/forum/'); |
#3
|
|||
|
|||
Ok I added:
chdir('/reviews/'); This was done since the directory goes forums/reviews Is this correct because it still doesnt work. Chris |
#4
|
||||
|
||||
it must be PATH_TRANSLATED, usually /home/your_account/public_html/forums
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|