Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
vBPicGallery + Lightbox/Thickbox Details »»
vBPicGallery + Lightbox/Thickbox
Version: 1.00, by |oR|Greg |oR|Greg is offline
Developer Last Online: Nov 2008 Show Printable Version Email this Page

Version: 3.6.0 Rating:
Released: 09-17-2006 Last Update: 11-02-2006 Installs: 14
Template Edits
 
No support by the author.

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&amp;p=$image[vbpicgalleryid]">
<img src="$vboptions[bburl]/vbpgimage.php?do=thumb&amp;p=$image[vbpicgalleryid]" alt="$image[name]" border="0" />
</a>
In vbpicgallery_viewgallery after $navbar add:

Code:
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>
In headinclude find:

Code:
<if condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost'">
Replace it with:

Code:
<if condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost' OR THIS_SCRIPT=='vbpicgallery'">
That should do it, you should get results like these attached images.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-08-2007, 01:23 AM
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Location: East Texas
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #33  
Old 10-20-2007, 07:26 PM
Jdm Ej1 Coupe Jdm Ej1 Coupe is offline
 
Join Date: Apr 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #34  
Old 10-21-2007, 10:11 PM
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Location: East Texas
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jdm Ej1 Coupe View Post
I installed this on my site when I go to the usercp to Edit vBGarage I get this
Can anyone help me with this? What did I do wrong?
Do you have the latest version of VBPic gallery installed? The new version has built in lightbox effect.

The new version took about about 10 - 15 minutes to upgrade, and my users love the new effects.
Reply With Quote
  #35  
Old 10-21-2007, 10:24 PM
Jdm Ej1 Coupe Jdm Ej1 Coupe is offline
 
Join Date: Apr 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where is the lastest one at I thought this was the lastest one
Reply With Quote
  #36  
Old 10-21-2007, 10:46 PM
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Location: East Texas
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09101 seconds
  • Memory Usage 2,255KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete