PDA

View Full Version : Broken image for multi-quote. Plz help.


lacidious
01-27-2015, 05:59 PM
Hey all,


I have an issue with the multi-quote button, it is showing up as broken. The file is present, so I'm not sure why it is doing this.

https://vborg.vbsupport.ru/external/2015/01/7.png


It's attached to the image "multiquote_40b.png".

Thanks in advance! And please walk me through fixing it step by step as I am a VB 4 newb. (working with 4.2.2 btw)

Dave
01-27-2015, 06:09 PM
Do you have a link to your forum and a test account so we can see it in the live environment?

lacidious
01-27-2015, 08:44 PM
Barkinghard.com

UN- Brownsbeatsucks

PW- test1234

Thank you!

ozzy47
01-27-2015, 09:24 PM
The image is there, it is just the text overlaying it. So add this to your additional.css

.postbitlegacy .postfoot .textcontrols a img, .postbit .postfoot .textcontrols a img {
left: 8px;
position: relative;
top: 1px;


}

lacidious
01-28-2015, 02:30 PM
Thanks ozzy!

That moved over the broken image, but it is still there. It now looks like this:

https://vborg.vbsupport.ru/external/2015/01/4.png

Dave
01-28-2015, 02:43 PM
Somewhere in one of your templates (headinclude template is my guess), you have the following:
<script type="text/javascript">
var IMGDIR_BUTTON = "";
</script>

That makes the image point to http://www.barkinghard.com/multiquote_40b.png, a none existing location. Remove that part in one of your templates and it should work fine again.

lacidious
01-28-2015, 03:03 PM
Thanks Dave!

I did a search in templates and the only thing that came up was in headinclude:

var IMGDIR_BUTTON = "{vb:stylevar imgdir_button}";

I erased it, but the broken image was still there so I put it back.

Dave
01-28-2015, 03:18 PM
Then my guess is that one of your plugins is doing it, that piece of script is not present in the default vBulletin style.

lacidious
01-28-2015, 03:20 PM
Hmmm I disabled and deleted all of my plugins before upgrade. Only thing I have active now is vbshout and seperate sticky threads I believe. I will check.

ozzy47
01-28-2015, 03:33 PM
What browser is this in, cause in FF it did not look like that.

lacidious
01-28-2015, 03:39 PM
I use chrome. Didn't think about looking in other browsers. You guys gave me a "duh" moment though.

What I did was just take the two images that are causing the broken image, and moved them to the root public html directory where it seems to be pointing to for some reason. That fixed it.

I don't understand why it would be pointing to http://www.barkinghard.com/multiquote_40b.png , when it seems it should be pointing to http://www.barkinghard.com/forums/images/buttons/multiquote_40b.png ??

But whatever seems to be working now.

Any reason I shouldn't leave it as is?

Thanks so much, you guys are saints.

Dave
01-28-2015, 03:52 PM
It points to that location because
<script type="text/javascript">
var IMGDIR_BUTTON = "";
</script>
in your template is overwriting the location of the IMGDUR_BUTTON variable to nothing, thus pointing the image to the root.

lacidious
01-28-2015, 04:07 PM
Dave. I looked at my plugins. There was one I couldn't delete, the VbExperience plugin, but it is disabled.

I think the rest of the came default with VB 4? Forumrunner, Panjo, Postrelease, Skimlinks, bbcode_table, VbCode Table, Vbulletin Blog, Vbulletin CMS. (I am looking at this under Installed Products)

Dave
01-28-2015, 04:11 PM
If you search for "var IMGDIR_BUTTON", it only points you to the headinclude template and it only appears one time in that template?