Back to vBulletin 3.5 Add-ons

3.5.x vBGarage w/ Lightbox v2.0
Mod Version: 1.00, by Xoxideforums

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 4.00 average) Installs: 24
Released: 09 Jun 2006 Last Update: 09 Jun 2006 Downloads: 239
Not Supported Uses Plugins Template Edits Code Changes Additional Files Is in Beta Stage  

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

Spoiler (click to open)


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

Close
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/vbgarage-member-42479.html

Download

This modification is archived and cannot be downloaded.


vblts.ru supports vBulletin®, 2022-2024