View Full Version : image path issues
stephlb
06-08-2004, 10:53 PM
I changed the path and its messing up the images on my forum. any ideas?
When I add forums/ to it the forum images dont work; when I dont include it, then the portal images dont work...
Steph
TexasOutdoors
06-08-2004, 11:10 PM
in your style, enter the full url:
http://yourdomain.com/forum/images/etc
for each set of images and see if that fixes it up.
stephlb
06-08-2004, 11:33 PM
Thanks! That worked!
:D http://www.webphilia.com/cmps_index.php
Steph
Having a similar issue.
The images on my forum work just fine. However, the images on my CMPS have the incorrect path.
I've changed my styles to the full url and still no luck.
Brian
07-11-2004, 08:26 PM
There's no reason they wouldn't work if you entered the full, correct URL.
Works fine now and I didn't even change anything since. Weird.
Perhaps it was just my cache. No matter now, all is well.
Again, GREAT portal!!! Thanks!!!
I've entered the full paths, but the image path to the smilies are still wrong on the portal.
The path on the portal's front page is www.myhomepage.com/images/smilies/smilie.gif when it should be www.myhomepage.com/forum/images/smilies/smilie.gif.
Brian
07-14-2004, 09:49 PM
The image paths should have been updated as the last step in the install file... If they weren't, you can upload the install file again and go to http://yoursite.com/forum/admincp/vbacmps_install.php?do=doimages and that will update them for you. ;)
Thank you!
I'll try that. :)
That fixed it!
Thanks a lot. :)
jamesuk
09-14-2004, 01:47 PM
hmm, I had the same problem (missing forum/ in the path) only with my deficon. If I re-run the install php with the do=doimages as above, it sees that the 'showdeficon' is currently wrong and then says it's updated it :)
only it hasn't........ :(
Is there a way I can force that path variable manually?
thanks :)
58sniper
09-14-2004, 04:58 PM
The one thing I do after install vBulletin is go through and make the paths absolute - both in the style settings and in the templates. In most cases, I add "$vboptions[bburl]/" or "$stylevar[imgdir_misc]/" or whatever is relevant. I do this for all of the images and all of the links.
That way, no matter how I extend vB, the templates work. Whether it's vBAdvanced, a gallery, or whatever.
This is truly the one thing I think Jellsoft should do in future versions. Too many people are extending vb and have to deal with pathing problems.
jamesuk
09-14-2004, 05:41 PM
so is there a way I can edit a file or run a query to set the path because the install php won't do it properly for me
thanks :)
58sniper
09-15-2004, 05:50 PM
You have to set the path manually in the ALL STYLE SETTINGS section of the style. Then, go through templates like header, footer, etc making them absolute.
I'm not aware of a way to do it different than that.
jamesuk
09-16-2004, 11:13 AM
cheers, I'll give that a go
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.