PDA


View Full Version : common vbadvanced problem?


lammypie
11-10-2005, 12:53 PM
I have noticed a problem with the images on the vbadvanced pages, I think I have identified what the problem is.

They were all working fine. The only thing I have changed is that I moved the cmps_index.php from the public_html/forums to public_html and renamed it index.php so that it loads as soon as people visit my domain.

Since I have done that some of the images won't load, the link they too are mydomain.com/images/misc

when they should link to mydomain.com/forums/images/misc

I moved the index.php file back to cmps_index.php in the mydomain.com/forums folder and it all starts working again.

This only effects the vbadvanced pages, not the vbulletin ones.

This tells me that there is a variable wrong in vbadvanced somewhere which specifies the working folder, or the folder from which folder paths are based.

Does this make sense? hopefully.

sure in places in these forums it is recommended that I can go into style manager and manually change all of the image strings from 'images/misc' to 'mydomain.com/forums/images/misc' and yes this does correct the issue (until I change my domain name)
but perhaps if something in the code for vbadvanced could be changed to address this issue, then it would make things an awful lot easier for newbies like myself, as every time I install a new style I have to custom edit the path files as above to the full path. This takes a bit more time, and is much less convenient that simple installing a new paid for style, and if I did change my domain name, then I have to reenter all of these variables. I recently did change domain name, that my forums were based on, and vbulletin moved perfectly (simply re-inputting the forum url once ), it would be fantastic if vbadvanced could do the same.

Just a suggestion .....

Kind Regards

Chris

Brian
11-10-2005, 01:12 PM
http://www.vbadvanced.com/forum/showthread.php?t=1345

You should be able to use the install script to update your paths at any time. Or, if you're worried about changing your domain name, just enter /forums/images/whatever for the paths instead.

lammypie
11-10-2005, 01:27 PM
thanks brian. The install script will not do this, (haven't tried fresh install) it only appears to allow this to be done for post or thread icons.

so it has to be done manually (in my case at least)

It would be nice if there in the future was some way to make this automatic.

I did wonder if there could not be a new variable set to specify the main forums directory so this problem would be bypassed

Brian
11-10-2005, 01:31 PM
IIRC, there is a problem doing things that way due to the smilies and such.

lammypie
11-10-2005, 01:32 PM
ok thanks