![]() |
Lightbox/ThickBox works with Inline Editing
Hey all,
Just thought id release this mod which is a fix to the previous lightboxes on vb that break the: inline quick-edit feature multi quote Also the prev lightboxes on here were abit heavy on the size front. this one weighs in at 27kb, and i think it looks nicer anyway. Demo: Here Step 1: Download the file attached and upload its contents to your forum root or wherever you want (just remember the path) Step 2: Modify the template headinclude and add this to the bottom, Code:
<if condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost'"> Code:
<if condition="$show['thumbnailattachment']"> Code:
rel="gallery-thumbs" class="thickbox" click install if you find this useful :rolleyes: nJoy. .......... Update: The CSS file in the package was an old one and it was clashing with postbit_legacy, please use the new css file in the package on the right. Update 2: This is the final update of this hack, i have removed the scrolling annoyance for larger images, they will display fully on the page. If you want the new update use the second attachment on the right. |
I have a problem with the hack... it till take me to the loading page but will not show any image. Any suggestions? Thank you
|
what is the website?
|
www.TradersLaboratory.com
try loggin in with username redgoals22, pass: redgoals22 visit: http://www.traderslaboratory.com/for...2.html#post788 Thanks |
Quote:
1. the attachment link is pointing to an invalid file http://www.traderslaboratory.com/for...6overnight.jpg 2. you copied the code wrong at step 4, change: gallery-thumbs="" class="thickbox" to: rel="gallery-thumbs" class="thickbox" |
Edited
|
Quote:
<a rel="gallery-thumbs" class="thickbox" href= |
Thank you very much redgoal.... I managed to get it to work.
Great hack :) First to install! |
Quote:
ps: can u remove the code above in ur 2posts its stretching ma thread , thanks :) |
Is there anyway to expand the lightbox to fit the actual image size?
|
Quote:
|
My mistake.. i thought the lightbox forced the images into a certain size.
|
heres another version of the same script, but it will allow for larger sized attachments to be displayed full-size on the page
if u find it useful click install :rolleyes: edit: slight problem with the attachment it has been updated. edit2: apologies for the attachment, it contained an old css file which was clashing with postbit_legacy, please use the new attached package |
Thanks redgoals. Great hack!
|
had to uninstall. It was messing up the style of postbitlegacy. If I take out the headinclude edit everything is back to normal.
|
Quote:
|
yea that fixed it.
|
mmmm am i missing something. ive set Thumbnail Creation to yes but my attached images are still coming up as links?
|
Should I use the new css file as well?
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Code:
<a rel="gallery-thumbs" class="thickbox" href="attachment.php.... Code:
<if condition="$show['imageattachment']"> |
Sweet! Somebody finally made a jQuery mod for vB! *hugs*
I'll install once you get the bugs ironed out. |
Quote:
i know that thats why i asked what settings i need to change to make thumbnails appear. i have made the changes. its made no difference supprisingly because thumbnails are not showing even know thumbnail creation is on "YES" that why i asked is there something or some setting im missing ..... |
Quote:
|
mmmm its on yes! and it just shows the link
my php info shows i have gd Quote:
|
Quote:
|
Quote:
Quote:
The thickbox.css should be uploaded to forum root! |
A little bug/error, if the image is large (in vertical) than the screen, if you want to see the full image you can't. The image will follow you and you will not be able to see the edges or close button for example.
|
Quote:
|
And where I can change it?
|
I have installed geeks article system and seem to encounter one problem. The lightbox does not work with attachments placed inside the article hack.
Would you know how I can fix this problem? thank you |
redgoals22:
I would love to be able to do this to my vBPicGallery... I tried a few things but it didn't work. I'm sure it's simple for you to do, any help would be appreciated. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
That's is what I have downloaded and still don't have a fixed position. The hack take too much time to load some images. I try to compress the Javascript but don't work with compression. Is possible to make it more fast? |
All times are GMT. The time now is 05:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|