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
  #12  
Old 09-28-2006, 06:23 PM
FFW's Avatar
FFW FFW is offline
 
Join Date: Apr 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

10.0.0 RC 2

Its strange. I'll do some more digging.
Reply With Quote
  #13  
Old 09-28-2006, 06:45 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could be the version, I'm using v4...
Reply With Quote
  #14  
Old 11-02-2006, 05:31 PM
kremer4 kremer4 is offline
 
Join Date: Jan 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FFW and Greg did anyone get it fixed so that the image numbers are correct?
Reply With Quote
  #15  
Old 11-02-2006, 05:51 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #16  
Old 11-02-2006, 06:21 PM
kremer4 kremer4 is offline
 
Join Date: Jan 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 11-02-2006, 06:24 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow, got a few forums huh?
Reply With Quote
  #18  
Old 11-02-2006, 06:27 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also see it's vbgarage, not the gallery, see this, maybe it will help you...

https://vborg.vbsupport.ru/showthread.php?t=118146
Reply With Quote
  #19  
Old 11-02-2006, 06:35 PM
kremer4 kremer4 is offline
 
Join Date: Jan 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That just a rename in the language and phrases, it's Noppids latest Vbpicgallery
Reply With Quote
  #20  
Old 11-02-2006, 07:00 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope he doesn't kill you for that.... cause you know the drama between him and TriGunFlame about the gallery/garage?
Reply With Quote
  #21  
Old 11-02-2006, 07:08 PM
kremer4 kremer4 is offline
 
Join Date: Jan 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did not, I will fix it. It ended up changing accidently when I tried to change the nav text.
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:37 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.05302 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
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)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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