![]() |
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?
|
All times are GMT. The time now is 01:36 AM. |
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:
|