![]() |
|
#1
|
|||
|
|||
|
When I leave the cmps_index.php in the root folder, let's say at /home/ the images don't show up, example: www.veguild.org/main.php not matter if I rename it to index.php, i always get the same error.
If I Leave it in the forums folder, everything is fine, example: http://www.veguild.org/forums/index.php. Anyway I would like to use the indexpage directly from the root, can anyone help me? |
|
#2
|
||||
|
||||
|
You need to tell vBadvanced where your images are. It is looking in a folder called /images/foldername/imagename.gif when it should be looking for that image folder in the forum. When you move the cmps_index file to the root, which is what I did too, you have to give it more information about your images. I have found the best way to do that is to give it the full url. You can write our the full url (http://www.yoursite.com/forums/images/subfolder/picture.gif) or you can use the vBulletin options, $vboptions[bburl] to shorten the amount of code. It also will be to your advantage if for some reason you ever move your forum. The code would now be like so: $vboptions[bburl]/images/subfolder/picture.gif. I have found it pretty easy to search for the string "/images" and then add $vboptions[bburl] to the beginning of that address where necessary (you may find it's more than just images that need the full URL).
Jim
__________________
If my post was helpful to you, or made you or ,please take the time to register at my forum and ask a question you've always wanted to know about floors. The Floor Pro Community |
|
#3
|
|||
|
|||
|
Quote:
Or are you talking aboutchaning $forumpath='home/veguild/forums/' to $forumpath='http://www.veguild.org/forums/' ? Last edited by Dimitrio; 09-30-2006 at 06:42 PM. |
|
#4
|
||||
|
||||
|
Answered your PM.
__________________
If my post was helpful to you, or made you or ,please take the time to register at my forum and ask a question you've always wanted to know about floors. The Floor Pro Community |
|
#5
|
|||
|
|||
|
Hi eJM,
I'm having the same issue, new install (been working on a phpNuke -> phpBB -> vBulletin migration all day). I searched all the CMPS files for "/images" and only found one instance in vba_cmps_include_bottom.php. I made the edit but it doesn't seem to work. Any advice would be greatly appreciated! |
|
#6
|
||||
|
||||
|
vBadvanced uses the same images as the forum. If you use a portal page (cmps_index.php or similar) that is located in the forum folder there is no need to be concerned about the images. However, I prefer to use my cmps_index.php page as my home page at the root of my website, which is higher up the chain than the forum ( http://www.thefloorpro.com/community is my own structure ). In that case, the images may not show, or show broken links on that page and any other page you make with vBa. That is why you should use the full URL for all your images. It's a lot of editing, but it only has to be done once. Some may even argue that for optimum search engine results, you should use full URLs throughout your site, but that's a bit too much for even me.
Edit these areas to show full URLs to your images: Styles & Templates | Style Manager | All Style Options (complete all URLs) User Ranks | User Rank Manager (edit all paths if they are to show anywhere on a vBadvanced page) Post Icons | Post Icon Manager (edit all paths if they are to show in any thread/news module) Smilies | Smilie Manager (edit all paths if they are used in vBa pages) That should be all of them. Even if they are unnecessary, the only drawback to using full URLs in your templates is a very slightly larger file size for each page that loads. A full path should look like this: http://www.yoursite.com/forum/images/finish/path/to/pics.jpg Naturally, if you don't use WWW., then don't put it in the path. I hope that helps, Jim
__________________
If my post was helpful to you, or made you or ,please take the time to register at my forum and ask a question you've always wanted to know about floors. The Floor Pro Community |
|
#7
|
|||
|
|||
|
Hi Jim,
Thanks for all that detail, this is quite helpful!
|
|
#8
|
|||
|
|||
|
Yeah, thank you, now it works partially, the gradients are not showing up. Anyone knows how can I make the gradients to show up?
Last edited by Dimitrio; 10-01-2006 at 08:33 AM. |
|
#9
|
||||
|
||||
|
Quote:
Styles & Templates | Style Manager | All Style Options It is a very detailed section and you must look closely for the image paths. Gradients are usually background images, so look in the boxes for something like #B3DEB2 url(images/stylename/stylename_alt2.gif) repeat and change it to #B3DEB2 url(http://www.yoursite.com/forum/images/stylename/stylename_alt2.gif) repeat Just be thorough and you will do fine. Jim
__________________
If my post was helpful to you, or made you or ,please take the time to register at my forum and ask a question you've always wanted to know about floors. The Floor Pro Community |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image path | Crazylike | Troubleshooting & Problems | 11 | 07-20-2006 07:59 AM |
| Trying to reupload image path | FrankieFive | Troubleshooting / "How do I..." Questions | 6 | 02-10-2005 11:57 AM |
| Image Path | cpmike | Troubleshooting & Problems | 2 | 01-02-2005 01:30 PM |
| image path issues | stephlb | Troubleshooting / "How do I..." Questions | 14 | 09-16-2004 11:13 AM |