vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   3.5.x vBGarage w/ Lightbox v2.0 (https://vborg.vbsupport.ru/showthread.php?t=118146)

Xoxideforums 06-08-2006 10:00 PM

3.5.x vBGarage w/ Lightbox v2.0
 
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

Ntfu2 06-09-2006 06:14 PM

:woot: Look what i started, pretty soon, vBulletin is going to be one big lightbox :)

Xoxideforums 06-09-2006 06:19 PM

Lightbox is pretty exciting.

I just checked out your mod. that's way cool. my friend and I were just talking about that idea after we did the vbgarage.

Thanks for the inspiration and letting us know it was done before we wasted our time putting it together.

Maybe you can help me modify it so that non SEO users could use this.

Ntfu2 06-09-2006 06:24 PM

Should work on SEO and non SEO boards the same.

I dont have garage to test it on though so i can not be of to much assitance

Good job on it though :yesway:

Edit: Just downloaded your package, you may want to make sure you are allowed to redistrbute the vBGarage code

Barakat 06-09-2006 08:20 PM

love it thanks toooo much

bouncer18 06-09-2006 10:13 PM

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

Xoxideforums 06-10-2006 03:56 PM

Like I said it's my first hack I just put in everything that I knew was needed to install it fully

but it's good to see that it works without vbseo

xtreme2 07-10-2006 11:22 PM

hey bouncer, I did what you said, and when I click on the images everything pops up, but it doesn't have teh prev/next and close X buttons visible. You can tell they are there when you scroll over, but you cannot actually see them... any idea why?

http://forums.probe-enthusiast.com/v...p?do=view&id=5

there is the link to my personal vbGarage site... you can see what it is doing there...

tbroush 07-11-2006 12:21 AM

Quote:

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
It work like a charm thanks very cool.

FROGGYJ 07-11-2006 12:28 AM

cool idea...but when I go to your site as an example you can't see the next and prev buttons by default..you can see the close. The only way I found the other buttons was moving my mouse around and somehow came across them and then they popped up. This was tested with both IE and Firefox. That is a must fix.


All times are GMT. The time now is 08:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01145 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete