PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Forum Menu showing up in Gallery (http://www.photopost.com/forum/photopost-pro-installation-upgrades/109970-forum-menu-showing-up-gallery.html)

thedigichick September 19th, 2004 10:09 AM

Forum Menu showing up in Gallery
 
Okay, so I've got Photopost transferred to my new site and installed. It's integrating with V-Bulletin perfectly...however, the V-Bulletin menu with the links such as "new posts", "private messages", etc. shows up. When I click on them, I get error codes. How can I fix it so that this doesn't happen?

TIA :confused:

Chuck S September 19th, 2004 10:59 AM

You have not integrated it perfectly then ;)

Here is the link to the VB3 Integration FAQ

http://www.photopost.com/members/for...d.php?t=107895

In there you will find that you need to edit several VB templates to make sure the header images and links all work over top of photopost as VB uses relative paths not full url's which are needed to run that header elsewhere besides VB

thedigichick September 19th, 2004 11:15 AM

I swear I looked at that thread and did that....grrr....will look one more time!

thedigichick September 19th, 2004 11:21 AM

So...I go to follow the directions and now I have NO gallery!

Fatal error: main(): Failed opening required '/home/sites/yoursite/photopost/languages/english/pp-inc.php' (include_path='.:/usr/local/lib/php') in /homepages/36/d106697979/htdocs/photopost/pp-inc.php on line 63


Code I'm getting...

thedigichick September 19th, 2004 11:35 AM

Okay, now I've tried re-loading and I get a message saying that the photopost.sql file is missing and needs to be in the same directory as the install.php file. But it is and I've reloaded that several times.

I'm sure I'll figure this out before someone answers me...but can someone at least tell me why it did that?

thedigichick September 19th, 2004 11:42 AM

Okay - as I presumed....I fixed that....now, based upon the FAQ you pointed me to, I have already adjusted my config file as follows:

// Cookie variables
// This should be set to match the path/domain for your cookies,
// $cookie_path = "/"; sets the cookie to be usable throughout the site.
// $cookie_domain = ".domain.com"; sets the cookie to be usable across the domain
// If your BB system has a different setting, then you need to put that path here as well.
$cookie_path = "/";
$cookie_domain = "";

// Cookie Prefix
// Default vB3:
//$cookieprefix = "bb";
// Default phpBB2:
//$cookieprefix = "phpbb2mysql";
// Default Threads:
//$cookieprefix = "w3t_";
$cookieprefix="bb";


and adjusted my V-bulletin admin section. Am I still doing something wrong?


and, my header.php file is changed to this based on your FAQ:

// vBulletin Integration
// Instead of using the static header/footer file specified in the Admin options
// panel, you can use your existing default vBulletin header/footer. Just change
// $vbpath and $pppath below to the proper full paths and remove the "//" slashes
// from the beginning of the 27 lines of code below. If PhotoPost has an odd
// background color or squished width, you will need to edit vbulletin's default
// "header" style input box / template and change "{pagebgcolor}" and "{tablewidth}"
// (near the bottom) to your preferred background color and table width, respectively.

$vbpath ="/kunden/homepages/36/d106697979/htdocs/forums"; // changeme
$pppath ="/kunden/homepages/36/d106697979/htdocs/photopost"; // changeme
chdir($vbpath);
require("./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;
?>

Chuck S September 19th, 2004 11:46 AM

Why are you going to install again etc.

Per the VB Integration FAQ's you need to edit the relative paths in the navbar etc VB TEMPLATES!!! to get rid of relative urls. Edit the footer header header include and navbar templates

Quoted from the FAQ
Quote:

My headers show up, but the images are all showing as Red X's

This is because vB uses relative paths for your images. You will need to update your vB3 header to use absolute paths.

Using your Style Manager edit your header template, find:

a href="/$vboptions[forumhome].php

and for each of the URL's used you will need to update your path. In this case my forums are installed in the root directory, so I added the / to the path. If my forums were in /forums, then I would change the links to read something similiar to:

a href="/forums/$vboptions[forumhome].php

You will need to update all your links to use the absolute paths as PhotoPost is not installed in the same directory as vB and so PhotoPost needs to know where to follow the links to.

Also, check your headinclude template:

var IMGDIR_MISC = "$stylevar[imgdir_misc]";

And either put a / in the path or change your vb configuration to point to /images.

thedigichick September 19th, 2004 01:42 PM

I never even looked at this one because my header didn't have "Red X's" - and I reinstalled because when I did what I thought I should have done based upon the FAQ that seemed to "match" what I was needing - I got errors and no gallery anymore. It screwed it up. I'll look at this one...I think that it would have been less hassle if when I asked the question that someone would have said, either do this - and point to the one or two of many sections posted in this one FAQ.

Michael P September 20th, 2004 08:08 AM

The point of FAQs are to help people find answers to their questions. You should expect to do a little reading weather its a manual or an FAQ.


All times are GMT -5. The time now is 06:06 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97