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
eval('$navbar = "' . fetch_template('navbar') . '";');
$vbheader = "$stylevar[htmldoctype]
<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\"><head>
$vbheader .= "</head>
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.
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
so, what are we really suppose to do in details?
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
Can't get my vb3 headers to show either
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
I can use any help I can get.
Your path statement in your config for classifieds is set to . set this to /home/bonsai/public_html/forsale instead
|All times are GMT -5. The time now is 05:36 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0