![]() |
vBPicGallery + Lightbox/Thickbox
If you're using Noppid's vBPicGallery 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]"> Code:
<script type="text/javascript" src="js/jquery.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. |
Nothin eh? sniff
|
i will be using it............I just haven't had any time to complete my site rebuild, but that is a great addition, i like the uploaded images you shared.....very nice
|
I did try this today and i just couldn't get it to work right, the picture wouldn't pop up as shown in your attachments above, they would appear at the bottom of the page, about 10 miles down......I think it is a thickbox issue, not you mod.......
thanks though.......i appreciate you hard work |
Sorry it didn't work for ya, are you using Redlines last uploaded version of the .CSS files?
|
actually i don't think i am........i will check it out.......thanks
|
No problem. I hope it works for ya.
|
Installed but I'm experiencing an error. For some reason the lightbox shows any images starting from 22 instead of 1. For example in the attached thumb it shows 3 images in a test gallery but identifies them as images 22, 23 and 24 of 26 images. There are no images between 1 and 21 and 25 to 26.
This error occurs on any gallery, no matter how many images are included. Its always first 21 blank and 2 blank after the last image. Any idea why this may be? https://vborg.vbsupport.ru/ |
I'm not really sure why that's happening?
|
Quote:
|
All times are GMT. The time now is 07:14 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:
|