![]() |
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:
|
10.0.0 RC 2
Its strange. I'll do some more digging. |
Could be the version, I'm using v4...
|
FFW and Greg did anyone get it fixed so that the image numbers are correct?
|
I've never looked into it actually. I am yet to update to the newer gallery and as such, still don't have any problems. I don't know about FFW.
|
Neither has FFW, if you get a chance to upgrade please let me know if you get it working.
http://www.importcarforums.com/gallery.html |
wow, got a few forums huh?
|
I also see it's vbgarage, not the gallery, see this, maybe it will help you...
https://vborg.vbsupport.ru/showthread.php?t=118146 |
That just a rename in the language and phrases, it's Noppids latest Vbpicgallery :)
|
I hope he doesn't kill you for that.... cause you know the drama between him and TriGunFlame about the gallery/garage?
|
I did not, I will fix it. It ended up changing accidently when I tried to change the nav text.
|
For some reason the pics won't open up in IE7, only loading screen.
|
LOL, nevermind it works forgot I wasn't logged in and it doesn't give you an error message like it did before lightbox.
|
Greg since the image numbers are all messed up can you tell me how to remove those links from the image including the "prev" and "next" links.
|
I'll look into it, it's more then likely in the .js file.
|
I updated the mod.
|
Works beautifully, thanks.
|
You're welcome. If you decide to look inside the .js file, the section I commented out with the // is all about the counting.. so if you feel like experimenting and correcting the math, it will fix the problems you're having and you'll be able to keep the next/prev buttons.
|
I will retry this mod........The problem i ran into is that i have a thumbnails mod in vbpicgallery. So my mod and your mod were confusing each other.....
Thanks for keeping this mod up todate........hotwheels |
Does this hack only work with red lines? I have the highslide mod from this link installed
Will your mod and this highslide mod work together? I am about to buy vbpicgallery, but would really like some kind of highslide / light box integration. |
I could not find the text in the headinclude file.
|
I found the text, its from the redgoals22 mod
I have tried and tried to get this mod to working. To start with I was using the mini2 highslide mod, so I totally removed that an did a fresh step by step install of redlines. When I click on the image, the picture appears a mile down the screen. |
I installed this on my site when I go to the usercp to Edit vBGarage I get this
Database error in vBulletin 3.6.4: Invalid SQL: SELECT year,make,model,text FROM vbgarage_users WHERE userid = 2; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'make,model,text FROM vbgarage_users WHERE userid = 2' at line 1 Error Number : 1064 Date : Saturday, October 20th 2007 @ 02:26:05 PM Script : http://www.jdmcoupecouncil.com/forum...?do=editgarage Referrer : http://www.jdmcoupecouncil.com/forum/usercp.php IP Address : 24.63.66.223 Username : EJWone Dina Classname : vB_Database Can anyone help me with this? What did I do wrong? |
Quote:
The new version took about about 10 - 15 minutes to upgrade, and my users love the new effects. |
where is the lastest one at I thought this was the lastest one
|
The cpurigs / VBPic gallery forum - http://www.cpurigs.com/forums/
Log in with your username so you can see the paid members section. Scroll down until you see the "LCS Software and Professional Support" Here is the gallery on my site - http://www.survivalistboards.com/vbp...p?do=view&g=92 To see the light box effect, click one of the thumbnails on the left. |
All times are GMT. The time now is 04:59 PM. |
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:
|