The Arcive of vBulletin Modifications Site. |
|
Lightbox/ThickBox works with Inline Editing Details »»
|
|||||||||||||||||||||||||||
|
Lightbox/ThickBox works with Inline Editing
Developer Last Online: Aug 2012
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'"> <link rel="stylesheet" href="css/thickbox.css" type="text/css" /> </if> Code:
<if condition="$show['thumbnailattachment']"> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/thickbox.js"></script> </if> Code:
rel="gallery-thumbs" class="thickbox" click install if you find this useful 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. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
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
|
|
#3
|
|||
|
|||
|
what is the website?
|
|
#4
|
|||
|
|||
|
www.TradersLaboratory.com
try loggin in with username redgoals22, pass: redgoals22 visit: http://www.traderslaboratory.com/for...2.html#post788 Thanks |
|
#5
|
|||
|
|||
|
Quote:
1. the attachment link is pointing to an invalid file ![]() 2. you copied the code wrong at step 4, change: gallery-thumbs="" class="thickbox" to: rel="gallery-thumbs" class="thickbox" |
|
#6
|
|||
|
|||
|
Edited
|
|
#7
|
|||
|
|||
|
Quote:
<a rel="gallery-thumbs" class="thickbox" href= |
|
#8
|
|||
|
|||
|
Thank you very much redgoal.... I managed to get it to work.
Great hack ![]() First to install! |
|
#9
|
|||
|
|||
|
Quote:
ps: can u remove the code above in ur 2posts its stretching ma thread , thanks
|
|
#10
|
|||
|
|||
|
Is there anyway to expand the lightbox to fit the actual image size?
|
![]() |
|
|