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)

Tru2Chevy 10-27-2006 11:05 PM

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

Immortal_Shades 10-28-2006 10:18 PM

Call me stupid, where is that imagebit template located at!?

Immortal_Shades 10-28-2006 10:24 PM

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'


Tru2Chevy 10-30-2006 05:25 PM

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

Tru2Chevy 10-30-2006 06:07 PM

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

Immortal_Shades 10-31-2006 03:06 PM

Where is the imagebits template located under??

Tru2Chevy 10-31-2006 05:24 PM

Quote:

Originally Posted by Immortal_Shades
Where is the imagebits template located under??

It's prolly under "vbgarage_imagebits"

- Justin

Immortal_Shades 11-01-2006 04:39 PM

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/

Tru2Chevy 11-01-2006 05:42 PM

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

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

- Justin

Immortal_Shades 11-01-2006 06:05 PM

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.


All times are GMT. The time now is 02:12 PM.

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.01269 seconds
  • Memory Usage 1,748KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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