View Single Post
Old June 26th, 2004, 06:32 PM   #1 (permalink)
tteal
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 24
Integrating with VB3

As you see in this forum, there is a bar up top (User CP, FAQ, etc) I would like to have that when in the photopost & classifieds, however, have been unable to do that. I tried making the changes to the header-inc.php file and the format is all messed (it's like the css file does not take effect) once I make all of those changes outlined below.

Here is an example of that file:

$vbpath ="/var/www/hosts/YourDomain.com/forum"; // change to your path
$pppath ="/var/www/hosts/YourDomain.com/classifieds"; // change to your path
chdir($vbpath);
require("/Ichangedthistoo/global.php");

eval('$navbar = "' . fetch_template('navbar') . '";');

$vbheader = "$stylevar[htmldoctype]
<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\"><head>
$headinclude";

$vbheader .= "</head>
<body>
$header
$navbar
<div align=\"center\">";

eval('$vbfooter = "' . fetch_template('footer') . '";');
$vbfooter = process_replacement_vars($vbfooter);
$vbfooter = "</div>$vbfooter";
chdir($pppath . "/");

$HTTP_POST_FILES = $_FILES;
$HTTP_POST_VARS = $_POST;
?>

Once I commented all of that out, it's like the "css" don't take effect and I get a "plain white" background and my css file is not taking effect. By the way, I did change the parameters above for my specific site.

Any help would be greatly appreciated.

Cheers,
T. Teal
tteal is offline   Reply With Quote