vBPicGallery + Lightbox/Thickbox
This modification is in the archives.
If you're using http://www.cpurigs.com/forums/index.php?t=2056 and you're using Redlines Lightbox/Thickbox, here's how to make them work together if you wish to include a lightbox for viewing your images in your galleries.
Template edits 3: In vbpicgallery_imagebits replace all the code with the following: Code:
<a rel="gallery-thumbs" class="thickbox" style="cursor:pointer; cursor-hand" href="$vboptions[bburl]/vbpgimage.php?$session[sessionurl]do=full&p=$image[vbpicgalleryid]"> <img src="$vboptions[bburl]/vbpgimage.php?do=thumb&p=$image[vbpicgalleryid]" alt="$image[name]" border="0" /> </a> Code:
<script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/thickbox.js"></script> Code:
<if condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost'"> Code:
<if condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost' OR THIS_SCRIPT=='vbpicgallery'"> UPDATE: I have included a .js file to replace the file in http://www.yoursite/forums/js thickbox.js in the zip file comments out the Prev Next buttons in the thickbox because of some TB_Count errors they generate on newer versions of vBPicGallery. Unzip the file and copy it up to your http://www.yoursite/forums/js directory, overwriting the one there. Download
This modification is archived, downloads are still allowed. Screenshots |
Similar Mods
Lightbox/ThickBox works with Inline Editing | vBulletin 3.6 Template Modifications |
Add-On Releases Lightbox/thickbox for attachment on CMPS module | vBulletin 3.6 Template Modifications |