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
  #342  
Old 12-18-2006, 10:40 PM
kderentz kderentz is offline
 
Join Date: Jan 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump for help with permissions please!
Reply With Quote
  #343  
Old 12-20-2006, 02:13 AM
Enajizer Enajizer is offline
 
Join Date: Feb 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Umberto View Post
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....
You don't know how long I have been wanting to fix the id count on each page. I thought it was somewhere in the php file where it was calling the garage list and have searched over and over again trying to find how to fix it. Not a major issue, but kind of annoying when viewing the different pages of the garage.

Anyway, thanks for posting the fix!
Reply With Quote
  #344  
Old 12-20-2006, 02:24 AM
Enajizer Enajizer is offline
 
Join Date: Feb 2003
Posts: 5
Благодарил(а): 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
If you haven't already, you need to add vbgarage.php to your functions_online.php file.

Just open the includes/functions_online.php and find...

Code:
case 'threadrate':
			$userinfo['action'] = $vbphrase['rating_thread'];
			if ($seetitle)
			{
				$userinfo['where'] = '<a href="showthread.php?' . $vbulletin->session->vars['sessionurl'] . "t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
			}
			break;
and below it add...
Code:
case 'vbgarage':
			$userinfo['action'] = $vbphrase['vbgarage'];
			$userinfo['where'] = "<a href=\"vbgarage.php?$session[sessionurl]\">In the Garage</a>";
			break;
Then find....
Code:
case 'archive':
		$userinfo['activity'] = 'archive';
		break;
and below that add
Code:
case 'vbgarage.php':
		$userinfo['activity'] = 'vbgarage';
		break;
This is how mine currently looks and it works fine...hope it helps.
Reply With Quote
  #345  
Old 12-22-2006, 12:51 AM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Enajizer, thank very much for sharing your code with me. Works great!

Thank you again for your help. :up:
Reply With Quote
  #346  
Old 12-27-2006, 10:51 AM
shepdogg shepdogg is offline
 
Join Date: Dec 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi there everyone 1st time post, love this mod installed it fine but for some reason i can only add a car or edit a car if i am logged in as admin, if i try to add a vehicle as a registered user it says i have insufficant rights? any body help me please?

Chris
Reply With Quote
  #347  
Old 12-27-2006, 11:01 AM
shepdogg shepdogg is offline
 
Join Date: Dec 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorted
Reply With Quote
  #348  
Old 12-29-2006, 12:34 AM
Silver_2000_)! Silver_2000_)! is offline
 
Join Date: Mar 2002
Location: Texas
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How many have this working on 3.6.4 ?
Reply With Quote
  #349  
Old 12-29-2006, 05:07 AM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Silver_2000_)! View Post
How many have this working on 3.6.4 ?
I'm one...

www.f-bodyhideout.com/forums

I'm still however on the lookout for the 4.x version of vBGarage...it's been pulled off this site....so I'm still in search....argh!
Reply With Quote
  #350  
Old 12-29-2006, 05:22 AM
Silver_2000_)! Silver_2000_)! is offline
 
Join Date: Mar 2002
Location: Texas
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smoknz28 View Post
I'm one...

www.f-bodyhideout.com/forums

I'm still however on the lookout for the 4.x version of vBGarage...it's been pulled off this site....so I'm still in search....argh!
there are so many different opinions and different sucesses that Im going to wait I think.. Dont need another cool mod like the timeslip database that falls into disrepair ...
Reply With Quote
  #351  
Old 12-29-2006, 05:29 AM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uhhh...actually I have the Timeslip hack working on my 3.6.4 forums as well..
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 05:16 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.05372 seconds
  • Memory Usage 2,339KB
  • 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
  • (4)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