vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=237650

Seven Skins 22 Jan 2013 13:46

This hack does not work in albums, please read the info ...

Quote:

This hack resizes external images (not attachments) in cms, blogs, posts, new thread preview, signatures, private messages, visitor messages and vBadvanced CMPS.
Try adding the code below in the additional CSS.

#picturelink img {
width: 100%;
}

If this doesnot work try this.

#picturelink img {
max-width: 800px;
}

Seven Skins 22 Jan 2013 13:52

Quote:

Originally Posted by Mr_Running (Post 2398667)
If the image is clicked it redirects to the Full Forum page? Is that by design?
I would prefer it did not re-direct :)

This hack does not alter the URL of image. If the url does not have the home page link in it ... it will not redirect.

fxdigi-cash 22 Jan 2013 13:56

Thanks Seven,

This code worked great, thanks.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I thought there is a way how to resize pictures in the albums....

Thanks again

artcrimes 24 Jan 2013 11:02

nice plugin! thank you

BadgerDog 04 Feb 2013 20:43

Originally donated via PayPal with thanks, to support mod ... :up:

Been working fine for a long time...

Still running v1.3 along with vBulletin 4.1.3pl5...

Width set to 900 and height set to 0 ...

Started to get reports from members that when they clicked on yellow bar, the pic would enlarge, but the option to click on the yellow bar to reduce the pic back to the original smaller size stopped working.. :confused:

In other words, the yellow bar remains in the expanded pic state and it's no longer active...

Not sure what's wrong or what's changed that would cause this? I haven't added any other mods in a very long time...

I didn't want to upgrade to v1.6 just in case it blew something else up, but should I do that to see if it fixes the problem? I have an old 1.3 zip file, so can I retrograde downwards if I try the 1.6 and it causes other issues?

Thanks for any feedback .. :)

Regards,
Doug

Seven Skins 06 Feb 2013 15:11

I visted the site which is in your profile here and saw there are many javascripts running on your webpage it may be that one of them are causing conflict or bowser cache issue or html errors. Can you please send a link to the page where large image is posted. If not here then use the contact us form at my site.

BadgerDog 06 Feb 2013 16:40

I think you might be right, but I don't remember adding or changing any JS code that would cause this to stop working, when it's been running fine for so many years ... :)

http://www.milsurps.com/showthread.php?t=42580

Thanks for checking...

Regards,
Doug

Seven Skins 06 Feb 2013 17:25

After removing the line below from your webapge this hack seems to work properly.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

.

BadgerDog 06 Feb 2013 18:14

Quote:

Originally Posted by Seven Skins (Post 2402436)
After removing the line below from your webapge this hack seems to work properly.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

.

That's interesting... :confused:

That's the Skimlinks service installed by vBulletin as an optionally revenue producing associate brand. I think it's been there for some time, but I'll check with vBulletin and SkimLinks to see why their JS has started acting up, affecting the Image Resizer ..

Thanks for looking into it partner... :up:

Regards,
Doug

Follw up: As a test, I removed the code and tested Resizer again. Yes, sometimes it worked, but other times it wouldn't present the second option to reduce the pic to smaller size. It always enlarges the pic, but it's after that it won't reduce it.

So, you think going to 1.6 of the code won't help with whatever conflict is happening?

Seven Skins 06 Feb 2013 18:55

In 1.6 javascipt is almost the same so it may conflict.

In the head tag I see this: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
This line making the IE browser go to quirks mode and may be causing this error.
Try removing the above code and see what happens.

PS. Clear cookies and temp file before testing.

.

BadgerDog 06 Feb 2013 19:18

Quote:

Originally Posted by Seven Skins (Post 2402460)
In 1.6 javascipt is almost the same so it may conflict.

In the head tag I see this: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
This line making the IE browser go to quirks mode and may be causing this error.
Try removing the above code and see what happens.

PS. Clear cookies and temp file before testing.

.

I see what you're referring to in headerinclude template, but that is vBulletin code that's always been there?

Quote:

<vb:if condition="$show['member']"><vb:else /><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /></vb:if>
Should I really delete it?

I'm using FireFox 18.0.1 and I've tested the problem on IE10, and also Safari. It exists there as well, so you think removing this will help? I'll try it if you want me to...

Thanks for your help .. :)

Regards,
Doug

Seven Skins 06 Feb 2013 20:25

Remove it and test the site ... you can always add the code back again.

As far as I know the code you posted is not default vbulletin code.

BadgerDog 07 Feb 2013 22:07

Quote:

Originally Posted by Seven Skins (Post 2402474)
Remove it and test the site ... you can always add the code back again.

As far as I know the code you posted is not default vbulletin code.

Removed it and tested... still doesn't restore to small size, but always enlarges ...

Put code back since it didn't make any difference..

Regards,
Doug

tourajabbasi 11 Feb 2013 17:52

doesnt work on 4.2 ... at least didnt work on mine

Seven Skins 11 Feb 2013 18:19

Live demo: http://www.atoztalk.com/threads/2790...unrise-TV-show

Send the link to your site if need more help.


All times are GMT. The time now is 03:50.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.