View Single Post
Old January 11th, 2005, 09:28 AM   #1 (permalink)
criscokid
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
Photopost with vb intergration - the images are all showing as red X's

In http://www.photopost.com/members/for....php?p=1080901 concering PhotoPost and vBulletin intergtation Michael P wrote:

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. Simply prepend $vboptions[bburl]/ in front of every url relative link.

a href="$vboptions[bburl]/$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.


I've gone in to vbUlletin's Style Manager, selected by theme/skin and then the header template. I search for 'a href="/$vboptions[forumhome].php' in the template but nothing is found. AM I editing the correct header template?
criscokid is offline   Reply With Quote