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
VbGarage 3.5 Details »»
VbGarage 3.5
Version: 1.4, by Trigunflame Trigunflame is offline
Developer Last Online: Nov 2019 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-08-2006 Last Update: 03-09-2006 Installs: 370
DB Changes Template Edits
Additional Files  
No support by the author.

VbGarage 3.5
Let Your Members Show Off Their Rides !!!


Summary:

This is a semi-direct port of the hack located at:
https://vborg.vbsupport.ru/showthread.php?t=63681

The author has given me permission to re-release this hack under his 3.1.1 codebase, and as such I have converted it Vbulletin 3.5 support which involved a good many changes.

Also I changed a couple templates, and some html fixes so it will look a little better than it used to, feel free to suggest any other bugs that need to be fixed.

One last thing, although I will "Try" to get around to fixing any bugs that come in, this is NOT my hack, and therefore I will not associate myself with supporting this hack; I merely have done a service for the people that requested the port.

Credit goes to the original authors: magnus, noppid, action-n

Again: THIS IS NOT MY CODE. AND IT IS NOT SUPPORTED.


Information:

1. Make sure you have a writable tmp directory.
2. This script only supports jpg, png, gif files.
3. I dont plan on re-writing this entire script to make it bug free, so please dont ask me to do so.

Upgrade From Vbulletin 3.x.x :

1. There is no upgrader; you just need 2 do a couple things.
2. More than likely you can leave your old vbg tables (havnt tested).
3. You _Do_ need to delete any previous settings/phrases/templates though.
4. Use phpmyadmin or w/e you use, and search your database for vbg with a wildcard it should locate anything that has that name in it; and delete them. Then follow the INSTALL.txt

Installation:

1. Download Zip File
2. Read INSTALL.txt
3. Click install if you like


Changes:

3/10/2006 8:43am - Fixed Comments; they now post to correct Garage.
3/9/2006 10:37pm - Image Types are determined manually.
1. Did some actiontemplate optimizations, so only the necessary templates are loaded on the pages needed.
2. Removed the text field limit for describing your ride.
3/9/2006 10:37pm - Image Types are determined manually.
3/9/2006 12:54pm - A change to image output.
3/9/2006 12:06pm - Attempt to fix image corruption.


To Upgrade:

Simply overwrite the vbgarage.php file.

Show Your Support

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

Comments
  #332  
Old 12-12-2006, 11:51 AM
Umberto Umberto is offline
 
Join Date: May 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great!
I want to add two things, I don't know if they are discussed allready...
First thing, is that the 2nd index page doesn't work
and the 2nd is that if you go to the 2nd page (after fixing it) the id count starts with 1 again...

Here some fixes
open vbgarage.php and replace


PHP Code:
$pagenav construct_page_nav(
        
$pagenumber$perpage$garagecount[garages], 
        
'vbgarage.php?' $vbulletin->session->vars['sessionurl'] . 'do=$_REQUEST[do]'''
        
. (!empty($vbulletin->GPC['perpage']) ? "&perpage=$perpage"")
    ); 
with

PHP Code:
$pagenav construct_page_nav(
        
$pagenumber$perpage$garagecount[garages], 
        
'vbgarage.php?' $vbulletin->session->vars['sessionurl'] . 'do=list'''
        
. (!empty($vbulletin->GPC['perpage']) ? "&perpage=$perpage"")
    ); 
for the ID fix:

Search for
PHP Code:
$user fetch_userinfo($list[userid]); 
add below:
PHP Code:
$list['number']=$pos+$counter
then open
vbgarage_listbits in your style manager
replace:
PHP Code:
<td class="alt2" align="center">$count</td
with

PHP Code:
<td class="alt2" align="center">$list[number]</td
done....
Reply With Quote
  #333  
Old 12-14-2006, 01:31 AM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know why my searches didn't bring me here when I was looking for vBGarage....??

At any rate...I've installed this hack: https://vborg.vbsupport.ru/showthread.php?t=118146 which included vBGarage. I can't seem to get the faded background to work though for some reason.

Umberto, thank you for posting the code for us. I've made the changes, so hopefully it will save me some heartache once this hack gets going with my users.

Also, I've read some threads indicating that there's a 4.x version of vBGarage....I gotta tell ya...I'm very confused with this hack. Seems like there's 3 different coders that have or are working on this.

Can someone point me to the latest version of vBGarage that I can download.

Thanks guys...
Reply With Quote
  #334  
Old 12-14-2006, 05:44 PM
kderentz kderentz is offline
 
Join Date: Jan 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ +1

Also Im wondering if anyone figured out how to set up permissions on this. I want only one user group to be able to set up their garages and everyone else to be able to view them but not have a garage.
Reply With Quote
  #335  
Old 12-15-2006, 04:37 AM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Umberto View Post
and the 2nd is that if you go to the 2nd page (after fixing it) the id count starts with 1 again...
Easy fix for the page numbering issue:

https://vborg.vbsupport.ru/showpost....&postcount=326

You change line 313 in vbgarage.php:

From This:
Code:
$count = 0;
To this:
Code:
$count = $pos;
- Justin
Reply With Quote
  #336  
Old 12-15-2006, 04:39 AM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smoknz28 View Post
I don't know why my searches didn't bring me here when I was looking for vBGarage....??

At any rate...I've installed this hack: https://vborg.vbsupport.ru/showthread.php?t=118146 which included vBGarage. I can't seem to get the faded background to work though for some reason.

Umberto, thank you for posting the code for us. I've made the changes, so hopefully it will save me some heartache once this hack gets going with my users.

Also, I've read some threads indicating that there's a 4.x version of vBGarage....I gotta tell ya...I'm very confused with this hack. Seems like there's 3 different coders that have or are working on this.

Can someone point me to the latest version of vBGarage that I can download.

Thanks guys...

Gonzo,

The download found here in this thread is the latest version of this hack. The one associated with lightbox that you downloaded is the same hack, just with the lightbox files included in the download.

I'll look into your lightbox issue and reply, as I am in the process of converting my board to 3.6.4 as I type this....

- Justin
Reply With Quote
  #337  
Old 12-15-2006, 03:43 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
Originally Posted by smoknz28 View Post
Thanks Justin...
NP man......

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

So I just upgraded my board to 3.6.4, and I'm having an issue with vBGarage.

All of the images are still in the database, and each of my member's garages open fine, but none of the photos they have uploaded display (see attachment).

Any ideas what might be causing this?

- Justin
Reply With Quote
  #340  
Old 12-18-2006, 04:26 AM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In Who's Online, how can I get the user's Location to display correctly when they are in the vBGarage?

See attachment

Thank you,
Gonzo
Reply With Quote
  #341  
Old 12-18-2006, 08:29 PM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smoknz28 View Post
In Who's Online, how can I get the user's Location to display correctly when they are in the vBGarage?

See attachment

Thank you,
Gonzo
I don't know of any fixes for that....mine does the same thing.

- Justin
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 03:14 PM.


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.11503 seconds
  • Memory Usage 2,337KB
  • 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
  • (6)bbcode_php
  • (4)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
  • (2)pagenav_pagelinkrel
  • (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