 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
January 11th, 2005, 08:28 AM
|
#1 (permalink)
| | Senior Member Verified Customer
Join Date: Jun 2003 Location: London, UK
Posts: 562
| 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?
|
| |
January 11th, 2005, 08:32 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
There should be no need to any of this in 4.8.6
what red x's you talking about link to forum?
|
| |
January 11th, 2005, 08:47 AM
|
#3 (permalink)
| | Senior Member Verified Customer
Join Date: Jun 2003 Location: London, UK
Posts: 562
| |
| |
January 11th, 2005, 08:55 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
| |
| |
January 12th, 2005, 02:27 PM
|
#5 (permalink)
| | Senior Member Verified Customer
Join Date: Jun 2003 Location: London, UK
Posts: 562
| http://scene-out.com/party/index.php
Something's not right because the arrow icons in the 'View last review posted' & 'Last Product Upload' colums is using the icons from vBulletin. The Photopost area is also all white instead of grey and white like you see at http://scene-out.com/forums/index.php |
| |
January 12th, 2005, 11:09 PM
|
#6 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 7
| same issue
criscokid,
If you solve this please let me know. I just installed 4.8.6 today and the only problem I have is the images when using VB3 styles. My VB installation is completely default with no enhancements so it is certainly an issue. I am an expert php and perl programmer (not so good as css though) so I could certainly hack a fix for this if I tried but want to see if Photopost puts out a patch.
|
| |
January 12th, 2005, 11:22 PM
|
#7 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 7
| problem solved
the default VB3 templates in the current version do not include absolute paths, in order to make them work you have to edit all the "Image Paths" in your VB3 admin to make them absolute instead of relative. That will fix all of the images in Photopost when using style integration.
|
| |
January 13th, 2005, 04:50 AM
|
#8 (permalink)
| | Senior Member Verified Customer
Join Date: Jun 2003 Location: London, UK
Posts: 562
|
Just to make sure I'm editing the correct thing - is it the image paths in all of the templates that I'll be editing?
|
| |
January 13th, 2005, 06:57 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
ngtrout
The default VB templates of a normal VB3 are relative and we autotranslate those to absolute there is not need to edit anything
The only issue issue is when the forums use a program like vb advanced or such that alter those url's to absolute then you have a problem with our templates and you need to remove the $Globals['vbulletin'] call like I stated in our vbenhanced templates
Crisco
You have not done as instructed. See your image paths http://scene-out.com/forums//forums/...lapse_tcat.gif
Your url's are not relative like a normal vb3 install thus you need to adjust your templates
In your vb3 enhanced templates you need to find these lines
src="{$Globals['vbulletin']}/$stylevar[imgdir_button]
change to this
src="$stylevar[imgdir_button]
Last edited by Chuck S; January 13th, 2005 at 07:20 AM.
|
| |
January 13th, 2005, 07:20 AM
|
#10 (permalink)
| | Senior Member Verified Customer
Join Date: Jun 2003 Location: London, UK
Posts: 562
|
I've already removed the $Globals['vbulletin'] form the enhanced templates and still using vBulletin's icons.
|
| |
January 13th, 2005, 07:23 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
Okay if you supposedly did this how come when I view the source of missing images your forum url is being entered in front of the image paths?
Did you remember that the VB3 enhanced templates get copied to your regular templates directory?
|
| |
January 13th, 2005, 07:27 AM
|
#12 (permalink)
| | Senior Member Verified Customer
Join Date: Jun 2003 Location: London, UK
Posts: 562
|
I'd edited the VB3 enhanced templates but not copied them to my regular templates directory - sorry. I've copied them over but the vBulletin icons are still there.
|
| |
January 13th, 2005, 07:36 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
Yes and the vb3 icons show as they should now  thus problem fixed
|
| |
January 13th, 2005, 07:41 AM
|
#14 (permalink)
| | Senior Member Verified Customer
Join Date: Jun 2003 Location: London, UK
Posts: 562
|
I don't want the vb3 icons - I want the icons from the Imagize theme that I'm using.
|
| |
January 13th, 2005, 07:45 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
I don't quite follow you here.
Your using VB3 integration. Your using advanced vb3 integration. The collapse Icons I see are the same ones used in your forum when I view your forum. It pulls the style images of the theme your using
There is nothing wrong with anything that I can see.
|
| |
January 13th, 2005, 07:48 AM
|
#16 (permalink)
| | Senior Member Verified Customer
Join Date: Jun 2003 Location: London, UK
Posts: 562
|
It's not the collapse icons I'm talking about it's the icons that take you to the last post / photo. Take a look at my forums at http://scene-out.com/forums/ and you'll see that the icons used there are from my Imagize theme.
|
| |
January 13th, 2005, 07:52 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
Okay thats not a part of the normal coding
For information or help hacking your code for something that is not part of the normal distribution you may post at http://www.photopostdev.com |
| |
January 13th, 2005, 07:58 AM
|
#18 (permalink)
| | Senior Member Verified Customer
Join Date: Jun 2003 Location: London, UK
Posts: 562
|
I just assumed that those icons would change according to the skin that get's used. Do those arrows have a specific name? (Makes it easier searching / expalining to others what I want to do).
|
| |
January 13th, 2005, 08:03 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
right click the image and see the name  lastpost.gif they are defined in pp-inc.php
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 03:31 PM. | |