Back to vBulletin 3.6 Template Modifications

Lightbox/ThickBox works with Inline Editing
Mod Version: 1.00, by redgoals22

This modification is in the archives.
vB Version: 3.6.0 Rating: (3 votes - 3.67 average) Installs: 52
Released: 13 Sep 2006 Last Update: Never Downloads: 433
Not Supported  

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: http://www.bwtorrents.com/showthread.php?p=1111887

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>
Step 3: Modify the template postbit/postbit_legacy and add this to the very top,

Code:
<if condition="$show['thumbnailattachment']">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>
</if>
Step 4: Modify the template postbit_attachmentthumbnail and add this to the a href tag,

Code:
rel="gallery-thumbs" class="thickbox"
this may work on previous versions of vb but dont quote me on that as its untested on prev versions.

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.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s thickbox_v2.zip (17.9 KB, 128 downloads)
File Type: %1$s thickbox_v2_1.zip (17.9 KB, 430 downloads)

Similar Mods

Mini Mods highslide integration with vB attachments - lightbox alternative - inline too. Modification Graveyard
vBPicGallery + Lightbox/Thickbox vBulletin 3.6 Template Modifications
Add-On Releases Lightbox/thickbox for attachment on CMPS module vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024