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
  #182  
Old 04-13-2006, 11:20 AM
cablemirc cablemirc is offline
 
Join Date: Sep 2003
Location: El Cajon, Ca
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SQL query:
UPDATE vbgarage_images SET TYPE = 'image/jpeg' WHERE TYPE = 'image/pjpeg'

just for all of you who are not SQL junkies out there, i just spent 2 hours learning how t do that, as i know diddly about SQL.

you can run that query within your SQL database from phpmyadmin, or with adequate permissions, from the SQL section of the vbulletin control panel.
Reply With Quote
  #183  
Old 04-14-2006, 12:16 AM
Deska's Avatar
Deska Deska is offline
 
Join Date: Aug 2002
Location: Asia
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use this one for multipages:

PHP Code:
$pagenav construct_page_nav(
        
$pagenumber$perpage$garagecount[garages], 
        
'vbgarage.php?' $vbulletin->session->vars['sessionurl'] . 'do=list'''
        
. (!empty($vbulletin->GPC['perpage']) ? "&perpage=$perpage"")
    ); 
Reply With Quote
  #184  
Old 04-15-2006, 01:56 AM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone figer out how to delete cars?
everytime i click it says page not found?
Reply With Quote
  #185  
Old 04-16-2006, 12:42 PM
MoveOver.cc MoveOver.cc is offline
 
Join Date: Dec 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone advise how I (admin) can add another members car details to Vb Garage??
Reply With Quote
  #186  
Old 04-19-2006, 02:55 AM
jadkar jadkar is offline
 
Join Date: Feb 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please don't mind me...... I'm just a novice coder. I have however come up with a super simple little piece of code you can put in the "postbit" so you can get to each members vbGarage.

I'm sure someone can add conditionals to actually check to see if the person has a garage, but it doesn't seem to be needed. If they don't have a garage it just comes up blank.


In postbit search for:

Code:
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a> &nbsp;</if>

Insert after:
Code:
<a href="$vboptions[bburl]/vbgarage.php?do=view&amp;id=$post[userid]"> <img class="inlineimg" src="$stylevar[imgdir_statusicon]/garage.gif" alt="Check out my garage" border="0" /></a>&nbsp;
You can also list something like this in your "memberlist_resultbit":
Code:
<a href="$vboptions[bburl]/vbgarage.php?do=view&amp;id=$userinfo[userid]"> vbGarage</a>&nbsp;
Please keep in mind that I created a gif called "garage.gif". You will have to do the same thing and place it in your....

"images\statusicon" directory of each of your styles. Once this is done you will have a little icon next to the "reputation link" icon that will take you to the garage.


Once again... I'm just learning Someone could add conditionals or even a phrase so the "hover over" is a little more intuitive, but this works. I hope this helps some people out.
Reply With Quote
  #187  
Old 04-20-2006, 01:57 AM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone figure out how to delete garages? Seems to take you to a Page Cannot Be Found Page???
Reply With Quote
  #188  
Old 04-21-2006, 04:01 PM
PBX1 PBX1 is offline
 
Join Date: Mar 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anybody tell me where in the code it grabs your URL from when it displays the picture. I changed domain names on the forum so now when you click on a user to see their garage it takes you to the old domain.

Thank you

Never mind... major brain fart... it is now working!
Reply With Quote
  #189  
Old 04-26-2006, 12:30 AM
blacklancer's Avatar
blacklancer blacklancer is offline
 
Join Date: Jan 2006
Location: so cal
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my garage was working fine and for some reason i checked it tonight and the pictures are not in 2 colums, they are all in one. is there somewhere i can fix that???

http://www.sclc.net/forum/vbgarage.php?do=view&id=1

they used to be 2 columns of 3 pictures....
Reply With Quote
  #190  
Old 04-26-2006, 03:26 AM
Josh Combs's Avatar
Josh Combs Josh Combs is offline
 
Join Date: Oct 2002
Location: Cincinnati Ohio
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having an issue with uploading images, I have searched through this thread and saw a few people state this and one guy even said it was a server issue. I am wanting to add this to my forums because it would greatly help out my members share about their cars.

-Thanks
Joshua
Reply With Quote
  #191  
Old 04-26-2006, 09:13 AM
PBX1 PBX1 is offline
 
Join Date: Mar 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blacklancer
my garage was working fine and for some reason i checked it tonight and the pictures are not in 2 colums, they are all in one. is there somewhere i can fix that???

http://www.sclc.net/forum/vbgarage.php?do=view&id=1

they used to be 2 columns of 3 pictures....
Mine has always been in 1 column. I don't think I've seen an example with 2 columns. Sorry I can't help you.
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 11:57 AM.


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.04717 seconds
  • Memory Usage 2,323KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_php
  • (1)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