View Full Version : Broken images
Snake
02-11-2006, 03:17 PM
Well it looks like most of the skin images are broken on the portal's page so how do I fix it?
http://www.psplanet.net/
Brian
02-11-2006, 03:19 PM
Have you checked the post in the FAQ forum reagarding broken images?
Snake
02-11-2006, 03:22 PM
Yeah I did already and still getting the same result. Is it because I'm using a subdomain for my forums?
Snake
02-11-2006, 04:10 PM
Bump!
Brian
02-11-2006, 04:17 PM
Please do not bump your posts like that.
http://www.vbadvanced.com/forum/announcement.php?f=89&a=2
If you read the post in the FAQ forum then it tells you how to manually change those image paths if the install script cannot change them for you.
Snake
02-12-2006, 04:55 AM
Yeah sorry about that. I've already changed those image paths manually and still ain't working. Brian, I do not know what's the problem so I've PM'ed you with an admin info access to my forums. Hopefully you're willing to fix it! :)
KW802
02-12-2006, 04:23 PM
Well it looks like most of the skin images are broken on the portal's page so how do I fix it?
http://www.psplanet.net/ The style is using replacement variables that points to the folder where the images are stored. If you go ACP => Styles & Templates => Style Manager => NexGen3 and then scroll all the way to the button you'll see two replacement variables named "gg" and "g" -- Just update them so that the path is fully qualfied.
To clarify, "gg" is currently..../images/cinvin_nexgen3/nexgen3... so that would be changed to...http://forums.psplanet.net/images/cinvin_nexgen3/nexgen3... and "g" is currently..../images/cinvin_nexgen3... so that would be changed to...http://forums.psplanet.net/images/cinvin_nexgen3All of the various paths and image references in CinVin styles use replacement variables so that way updating the image paths for use with portals like vBa CMPS can be done by just updating one value (OK, two in the case of NexGen3 :p ) instead of having to play with any of the templates. :D
Snake
02-13-2006, 08:52 AM
Thanks Kevin, I'd to edit the template bits including the style sheet. It works just fine now although there's one thing. Take a look at my portal once again.
http://www.psplanet.net/index.php
You should see a white background at the center page of the forums. I suppose it should be silver, not white just like on the forums page (http://forums.psplanet.net).
KW802
02-13-2006, 09:44 AM
Snake, by default you should be seeing a white body background. Check out the unmodified version here (http://www.cinvin.com/forums/?styleid=24) to see what I mean.
Snake
02-13-2006, 09:54 AM
Uh no man, I'm talking about the white BG at the center of my forums. Here's what I mean.
http://img130.imageshack.us/img130/3387/bb12pc.jpg
How do I fix it?
Also the banner needs to be fixed. It should stretch all way to the right. Any idea?
KW802
02-13-2006, 01:34 PM
Uh no man, I'm talking about the white BG at the center of my forums. Here's what I mean. How do I fix it?OOhh.... you mean while viewing a CMPS page, not in general. When I get back to the house I'll find the code; essentially what's going to happen is we need to put a conditional in there to say if we're on a CMPS page then use code X else do BAU (business as usual).
Also the banner needs to be fixed. It should stretch all way to the right. Any idea?Looks like whomever modified the header changed it from being a series of sliced graphics to be one giant image. The image really should've been changed using PhotoShop (or compatible program) with the PSD files in the package so that the header could then be re-saved with the sliced images intact.
KW802
02-13-2006, 01:36 PM
[ Thread split ]
Snake
02-13-2006, 02:06 PM
OOhh.... you mean while viewing a CMPS page, not in general. When I get back to the house I'll find the code; essentially what's going to happen is we need to put a conditional in there to say if we're on a CMPS page then use code X else do BAU (business as usual).
Looks like whomever modified the header changed it from being a series of sliced graphics to be one giant image. The image really should've been changed using PhotoShop (or compatible program) with the PSD files in the package so that the header could then be re-saved with the sliced images intact.
Yeah I'm talking about the CMPS page, not the forums homepage. Alrighty, I'll be waiting for you.
Oh well I did used PhotoShop 7.0 and to be honest with you, when I've opened the PSD header it wasn't sliced already. It was a gaint-one image by default and don't ask me why or how that turned to 'cause I've no idea.
Akagi
02-14-2006, 07:20 AM
Hi, I had this problem too. and my forums is located in subdomain..that's the problem i guess..
The simplest solution to this is to copy your /homedir/forums/images to /homedir/images
not the best of solutions but it will solve your broken image problem.
cheers
KW802
02-14-2006, 09:44 AM
Hi, I had this problem too. and my forums is located in subdomain..that's the problem i guess..
The simplest solution to this is to copy your /homedir/forums/images to /homedir/images
not the best of solutions but it will solve your broken image problem.
cheersNo, the problem is not related to the fact that it's in a sub-domain. If the image paths are fully qualified then everything will work fine, there is no reason to move the images directory.
KW802
02-14-2006, 10:16 PM
Snake,
Modify your "adv_portal" template and near the top right right below "$navbar" look for the code below and remove the class="page" parameter...<table align="center" class="page" cellspacing="0" cellpadding="0" width="100%">
KW802
02-15-2006, 10:00 AM
[ Thread split... again ]
I'm closing this thread.... the problem & solution discussed in this thread is unique to styles by CinVin and as such won't apply to other styles. The only time the solutions discussed in this thread would work for you is if your style was using a global replacement variable like the CinVin styles all do.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.