The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Big Picture messing up your design? Install this Details »» | |||||||||||||||||||||||||||
Big Picture messing up your design? Install this
Developer Last Online: Oct 2004
What does this hack do?
This hack will check if an image that a member of your forums has inserted in the post is below the allowable width. If not, the image will be replaced with a small button that basicly says "Image too big, click here to view". When clicked, the image will appear right in the post but without messing up your forum design one bit. Example? Working example can be found here: http://www.designworldwide.com/forum/t35-s.html (note: This is on VB2 but should have the same effect. If you installed it on Vb3, send me a link so I can post it here) VB2 thread if anyone wants it: https://vborg.vbsupport.ru/showthread.php?t=63429 Please post any bugs/comments/questions here. While making this hack I had some trouble with reg. expressions and had to go around them a little (php developers can see this). Ive been coding for years now but never had the need to learn those Image: https://vborg.vbsupport.ru/showthrea...725#post495725 (Image now included in ZIP) Anyways, Enjoy! Dimitry Show Your Support
|
Comments |
#2
|
||||
|
||||
u got a pic we can use?
|
#3
|
|||
|
|||
Completely slipped my mind
Here's one I made quickly Dimitry |
#4
|
||||
|
||||
if there have many images in on post the getimagesize function maybe slowly.
|
#5
|
||||
|
||||
interesting, but does it work for images that link from other servers?
|
#6
|
||||
|
||||
a nice mode you have
|
#7
|
||||
|
||||
object js error (object required: line 722 - character 2 in showthread.php)
It is displaying the image but with that error |
#8
|
||||
|
||||
oooh now this is handy thnx a lot this is gonna save a few headaches with clients
|
#9
|
|||
|
|||
I tried this on VB3, nothing changed. Doesnt display the image too big button, doesnt give errors. Strange.
|
#10
|
|||
|
|||
very very nice mod
|
#11
|
||||
|
||||
Is there a way to have the button say "Close this image" (or something like that) after clicking it to open it? I had to play with it to figure out I had to hit the same button to close the image.
|
#12
|
|||
|
|||
I dont have VB3 myself (Have Vb2 installed on my server), so I cant test the hack. It was made blindfolded (after testing with Vb2 of course).
If anyone whos having trouble is willing to give me access to their server, Ill be willing to figure it out and fix the hack. Sorry, not much time this morning, Ill reply to all posts in a few hours Dimitry |
#13
|
||||
|
||||
Installed at: www.scifi-meshes.com and working fine.
It turns on a layer with the image when you click on the button. I'm concerned that this will work in all browsers.. but it looks fine in IE for me. Aceman |
#14
|
||||
|
||||
I've found that for images that are say 1024x768 the icon shows up fine. But for some reason I have to reload the page sometimes to get it to work and show the layer with the image when you click on it. Additionally, some images only showed part of the images, it's like it would only show upto the hieght of the post. I think this pertained to threads that were posted before I put in the hack. But new threads seemed to show all the image. It's like it didn't know how tall the image was. (pulled this hack from server pending a revision.. but I really would like to use it.)
Is it possible to modify the code so that it just pops up another window completely with just the image, rather then show it in a hidden layer? Aceman |
#15
|
|||
|
|||
Quote:
Yes, it's really easy to make it open in a new window. I will add 2 revisions of the hack later today. One will be so you can use text instead of an image. And 2nd, to open in a new window. Thanks for the ideas Dimitry |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|