3.5.x vBGarage w/ Lightbox v2.0
This modification is in the archives.
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>
and change the imagebits template to PHP Code:
[<a style="cursor:pointer; cursor-hand" href="vbgarage.php?do=getimage&id=$image[vbgarageid]" rel="lightbox[$data[userid]]"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&width=175&id=$image[vbgarageid]" alt="$image[name]" border="0" /></a>
p.s i dont have vbseo Close
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. |