Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
3.5.x vBGarage w/ Lightbox v2.0 Details »»
3.5.x vBGarage w/ Lightbox v2.0
Version: 1.00, by Xoxideforums Xoxideforums is offline
Developer Last Online: Mar 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 06-08-2006 Last Update: 06-08-2006 Installs: 24
Uses Plugins Template Edits
Code Changes Additional Files Is in Beta Stage  
No support by the author.

This is something myself and another guy at work put together this morning.

Lightbox is a cool JS that is based off of scriptaculous & prototype. It slides an image onto a faded background without leaving the page and then you can go through the vbGarage with tabs within the image.
It really takes vbGarage to the next level and I'm getting lots of request to release this as a hack.

I'm not sure if i have the time to support this 100% as I feel there will be lots of questions. But I'll do my best to help you guys out.

This is my first hack and I hope you guys enjoy it.

Refer to THIS POST for the simple install version of this hack

NOTE: I'm being told that you MUST have vbSEO installed for this to run automatically. All the forums we run have this so I have not spent any time making this run with .htaccess rewrite rule. If anyone wants to update this and let me know if they got it to work I will update this for them. Thanks

Click install if you use it.

here's a link to where it's being used.
http://www.thirdgen.org/techboard/vb...ber-42479.html

Show Your Support

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

Comments
  #22  
Old 10-27-2006, 11:05 PM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bouncer18
your making it more difficult then it really is...

all you need to do is add the

PHP Code:
<script type="text/javascript" src="/js/prototype.js"></script>
<
script type="text/javascript" src="/js/scriptaculous.js?load=effects"></script>
<
script type="text/javascript" src="/js/lightbox.js"></script>
<
link rel="stylesheet" href="/css/lightbox.css" type="text/css" media="screen" /> 
above $headinclude on the viewgarage template

and change the imagebits template to
PHP Code:
[<a style="cursor:pointer; cursor-hand" href="vbgarage.php?do=getimage&amp;id=$image[vbgarageid]rel="lightbox[$data[userid]]"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&amp;width=175&amp;id=$image[vbgarageid]alt="$image[name]border="0" /></a
upload your css & .js files of course and the hack is complete.. no need to reinstall vbgarage for those that have it already

p.s i dont have vbseo
I just installed this, works great.

Only thing I noticed was that there is an extra open bracket '[' in the beginning of the code for the imagebits template. It was making a bracket appear before all of my photos in the garage view. I removed that and it works fine.

- Justin
Reply With Quote
  #23  
Old 10-28-2006, 10:18 PM
Immortal_Shades's Avatar
Immortal_Shades Immortal_Shades is offline
 
Join Date: Oct 2006
Location: South Florida
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Call me stupid, where is that imagebit template located at!?
Reply With Quote
  #24  
Old 10-28-2006, 10:24 PM
Immortal_Shades's Avatar
Immortal_Shades Immortal_Shades is offline
 
Join Date: Oct 2006
Location: South Florida
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it almost working in 3.62

I just don't know what to do with this? Since I dont have VBSEO.

Code:
// vbGarage

'vbgarage\.php\?do=view&id=(\d+)$'=>'vbgarage-member-$1.html'

'vbgarage\.php\?do=delgarage&id=(\d+)$'=>'vbgarage-delete-$1.html'

'vbgarage\.php\?do=editgarage&id=(\d+)$'=>'vbgarage-edit-$1.html'

'vbgarage\.php\?do=getimage&id=(\d+)$'=>'vbgarage-image-$1.jpg'
Reply With Quote
  #25  
Old 10-30-2006, 05:25 PM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Immortal_Shades
I have it almost working in 3.62

I just don't know what to do with this? Since I dont have VBSEO.

Code:
// vbGarage

'vbgarage\.php\?do=view&id=(\d+)$'=>'vbgarage-member-$1.html'

'vbgarage\.php\?do=delgarage&id=(\d+)$'=>'vbgarage-delete-$1.html'

'vbgarage\.php\?do=editgarage&id=(\d+)$'=>'vbgarage-edit-$1.html'

'vbgarage\.php\?do=getimage&id=(\d+)$'=>'vbgarage-image-$1.jpg'
If you don't have vBSEO, use Bouncer's code from the first page of this thread....

https://vborg.vbsupport.ru/showpost....89&postcount=6

- Justin
Reply With Quote
  #26  
Old 10-30-2006, 06:07 PM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Xoxideforums....

I was just wondering if you would post up the code that you ended up using on TGO to put a link to the member's garage in the postbit? I saw you asking about it in the other vBGarage thread, but never saw what you ended up coming up with.

Also, what changes did you make to get your list of garages to appear in the order that they had been modified?

Thanks!

- Justin
Reply With Quote
  #27  
Old 10-31-2006, 03:06 PM
Immortal_Shades's Avatar
Immortal_Shades Immortal_Shades is offline
 
Join Date: Oct 2006
Location: South Florida
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is the imagebits template located under??
Reply With Quote
  #28  
Old 10-31-2006, 05:24 PM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Immortal_Shades
Where is the imagebits template located under??
It's prolly under "vbgarage_imagebits"

- Justin
Reply With Quote
  #29  
Old 11-01-2006, 04:39 PM
Immortal_Shades's Avatar
Immortal_Shades Immortal_Shades is offline
 
Join Date: Oct 2006
Location: South Florida
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay I did that but some thing just isn't right!

Excuse the appearence, it is not finished and the site is still under construction.
This is I get: (No options what so ever!)

http://www.girlstreetracing.com/forums/
Reply With Quote
  #30  
Old 11-01-2006, 05:42 PM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks to me like you have installed it ok....

Have you tried to create a garage yet to see if it appears?

- Justin
Reply With Quote
  #31  
Old 11-01-2006, 06:05 PM
Immortal_Shades's Avatar
Immortal_Shades Immortal_Shades is offline
 
Join Date: Oct 2006
Location: South Florida
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's the thing, where do I create a garage?
I see no options for that what so ever!

When I go to edit Garage in my Usercp, there is no drop down box or anything.
I upload an image and it isnt viewable, plus I doesnt look like anything like the ones I have seen.
Reply With Quote
Reply


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 06:32 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.08167 seconds
  • Memory Usage 2,320KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_php
  • (3)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
  • (4)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