View Single Post
Old September 23rd, 2006, 01:42 PM   #1 (permalink)
Edward
Junior Member
Verified Customer
 
Join Date: Apr 2005
Location: Gwinn, Michigan, USA
Posts: 29
VBportal and.....

I'm so confused.. I would have posted a ticket on this but, well.. the ticket system isn't working here right now.. Anyway..
I'm re-installing the latest version and trying to integrate it into my VBPortal site... The instructions say to "Follow the instructions in the Header-inc.php"....
Here are the lines I found in the Header-inc.php..
#1 - All the lines already had the slashes removed.
#2 - I can't seem to find the "path" lines this small bit of instruction is talking about..
#3 - where is this "mainfile.php" it talks about below...

Any help would be appreciated.

line 274 .. // vBPortal Integration
275 ... // If you want to include the vBPortal header, footer, and left menu, remove
etc.. // the "//" slashes from the beginning of the 16 lines of code below, and change
etc.. // "/home/public_html/vbportal" to your actual path to vbportal's main directory,
// and change "/home/public_html/photopost" to your actual path to PhotoPost's
// directory. This will override the default header and footer variables set in the
// PhotoPost admin panel.

if ( VBP2_INTEGRATION == "on" )
{
chdir($vbportal . "/");
require("mainfile.php");
$index = 0;
global $Pmenu,$Pheader;
$Pheader="P_themeheader";
$Pmenu="P_thememenu_photopost";
require("header.php");
$vbheader = ob_get_contents();
ob_end_clean();
ob_start();
require("footer.php");
$vbfooter = ob_get_contents();
ob_end_clean();
chdir($rppath . "/");
}

?>
Edward is offline   Reply With Quote