OK - I know this is dirt simple and I have everything else working perfectly with both
VB and Photopost. But for some reason I am still getting a blank page when I go to my forum index page at
www.samsmarine.com/forums/index.php after I include the two lines in the forum index.php and make the changes to the forum header template.
Here is my index.php file after making the changes...
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');
include('./photopost/inc_features.php');
include('./photopost/inc_photopost.php');
Here is my config-int.php...
// We need to know the server paths to both your
vB installation and your PhotoPost installation
$vbpath = "C:\WebSites\SamsWeb\forums";
$pppath = "C:\WebSites\SamsWeb\photopost";
// We need the URL path to your PhotoPost and
vb installation
$url_path = "http://www.samsmarine.com/photopost";
$vb_urlpath = "http://www.samsmarine.com/forums";
// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://www.samsmarine.com/photopost/data/";
// If your PhotoPost tables have a prefix, put it here
// Example:
// pp_ = "pp_";
$pp_db_prefix = "pp_";
// If you use the mobile phone integration, set this variable to the CatID for the gallery
define( MOBILE_CAT, -1 );
//------------------------------------- vB3 -----------------------------------------//
// VB3_INTEGRATION is for using vB3 headers/footers and styles
// VB3_ENHANCEDINT is for Enhanced vB3 Integration (using vB3 elements in PhotoPost)
// requires that VB3_INTEGRATION also be set to 'on'
// VB3_COMMWYSIWYG is for turning on the WYSIWYG interface on the Post A Comment page
// if you set this to 'off' then only the standard input box will appear
//
// Set to 'on' to enable specific integrations
define(VB3_INTEGRATION, 'on');
define(VB3_ENHANCEDINT, 'on');
define(VB3_COMMWYSIWYG, 'on');
Here is the inc_photopost.php...
require "config-int.php";
// If you have placed PhotoPost into a seperate database, you will need to
// uncomment these lines to connect to the PhotoPost database. It is suggested
// that you install PP into the same database as
vB for better performance.
//
// If you use the same userid/password to access both databases, you don't need to
// uncomment the mysql_connect - this is only if you require different ids to access
// the PhotoPost database.
//
//$link = mysql_connect ("localhost", "dbuserid", "dbuserpassword") or die('I cannot connect to the database.');
//mysql_select_db ("pp_database")or die("Could not select photopost database");
// Sets the number of subcats to show on your list (1 is the default)
$showlevels = 1;
// Set to 1 if you do not want to show the Members Gallery on the index
$showmg = 0;
// If you want to add table headers, set to yes; set to know if you plan to put the categories
// into another table
$pp_headers = "yes";
Here's where I changed the forum home template..
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
$headinclude
</head>
<body>
$header
$navbar
$photopostfeature
<!-- main -->
$photopostcats
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
<td class="tcat" colspan="<.......etc,etc
Here is a link to my phpinfo.. http://www.samsmarine.com/forums/info.php
I can't for the life of me figure out what I'm doing wrong here. Again, using VB3 with PP 5.01 on a Windows server.
Thanks again in advance!