PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 26th, 2004, 06:32 PM   #1 (permalink)
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
Old June 27th, 2004, 07:54 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
The issue is you are using VB stylesheets by file not inline. Since VB uses relative path the link stylesheet statement if you view your page source is looking for clientscript/somestylesheet.css

and you need to use the full url so Photopost can find it. The easy fix is of course to use inline CSS
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 29th, 2004, 12:58 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2003
Posts: 27
so, what are we really suppose to do in details?
sinhvien is offline   Reply With Quote
Old June 29th, 2004, 07:15 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
use inline css or find in VB3 where the relative path to the stylesheets is found and change it. I beleive this is what I posted in my last post
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 18th, 2004, 04:51 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Northern California
Posts: 383
Can't get my vb3 headers to show either

Quote:
Originally Posted by omegatron
use inline css or find in VB3 where the relative path to the stylesheets is found and change it. I believe this is what I posted in my last post
Well, I have a similar problem I am afraid, but I don't know where your last post was - maybe it's relevant to my problem

I changed the vb3 headerinclude to an absolute path as recommended above, but there seem to be other issues. I am sure my paths for $vbpath and $pppath are correct, but I get the following errors

Quote:
Warning: main(): open_basedir restriction in effect. File(./languages/english/pp-inc.php) is not within the allowed path(s): (/home/bonsai/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/bonsai/public_html/forsale/pp-inc.php on line 64

Warning: main(./languages/english/pp-inc.php): failed to open stream: Operation not permitted in /home/bonsai/public_html/forsale/pp-inc.php on line 64

Fatal error: main(): Failed opening required './languages/english/pp-inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bonsai/public_html/forsale/pp-inc.php on line 64
The vb3 Integration suggestions and notes posted in the (reviews and photopost) forums seem to be written for a different version of header-inc.php than currently exists. They reference vb2 and vb3 versions of the code which is all very confusing today, although I am sure it was correct at one moment in time.

I can use any help I can get.

Regards,

Matt
memobug is offline   Reply With Quote
Old September 18th, 2004, 09:59 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Your path statement in your config for classifieds is set to . set this to /home/bonsai/public_html/forsale instead
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrating with vBulletin mOdEtWo Before You Buy 4 September 21st, 2005 02:10 PM
vB3.5 integrating with 2 instances of PhotoPost encaustic Before You Buy 1 September 17th, 2005 08:15 AM
Error on integrating bill03 Photopost Pro How Do I...? 0 August 1st, 2005 10:44 PM
integrating ipb 2.0.3 with pp 5.0 Bap Photopost Pro Installation & Upgrades 5 May 8th, 2005 09:41 AM
Problem with integrating VB3.0.3 aberg Photopost Pro Installation & Upgrades 8 July 17th, 2004 04:07 PM


All times are GMT -5. The time now is 05:29 AM.

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