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
  #22  
Old 03-09-2006, 11:56 PM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by drumsy
Will this work with previous uploads? I still have all of the old garage entries in my database.
I have no idea.. theoretically it should work with the old database tables, as I really didnt change the query in regards to how it reads/writes the image table.
Reply With Quote
  #23  
Old 03-09-2006, 11:57 PM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by waza
wow, trigun your going to break the record of most hack releases in one week, nice job man.
I dont know about that, 1 month maybe though
Reply With Quote
  #24  
Old 03-10-2006, 12:09 AM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gifs show Ok but jpg and png don't !?
Reply With Quote
  #25  
Old 03-10-2006, 12:13 AM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suppose this works just like Noppid's version correct?

Job well done. I believe several people have been looking for the ability for users to have their own galleries.
Reply With Quote
  #26  
Old 03-10-2006, 12:33 AM
interceptor's Avatar
interceptor interceptor is offline
 
Join Date: Sep 2004
Location: Slovenia
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found something that prevent to display images.

In SQL in vbgarage_images there is a type in thats shows this " image/pjpeg ".

I have correct this to image/jpeg and image work normaly.

but when user upload image same thing happen again.
Reply With Quote
  #27  
Old 03-10-2006, 12:51 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG
gifs show Ok but jpg and png don't !?
Well on my test on my local forum, i could use jpg/png/gifs. I had no problem whatsoever, like I said in my post this is Not my hack and Im not going to rewrite all the code in this hack; I might as well have made my own if I wanted to do that.
Reply With Quote
  #28  
Old 03-10-2006, 12:52 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by interceptor
I found something that prevent to display images.

In SQL in vbgarage_images there is a type in thats shows this " image/pjpeg ".

I have correct this to image/jpeg and image work normaly.

but when user upload image same thing happen again.
Hmm thats quite interesting, I might could modify the code to get the type from the filename instead of getting it from GD itself.

Ill work on a patch and upload it, that might solve some peoples problems.
Reply With Quote
  #29  
Old 03-10-2006, 12:54 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gio~logist
I suppose this works just like Noppid's version correct?

Job well done. I believe several people have been looking for the ability for users to have their own galleries.
This is based on magnus version, but Im probably going to merge it with noppids code as well as he stopped all developement on his version of vbgarage anyway.
Reply With Quote
  #30  
Old 03-10-2006, 12:55 AM
TunerNetwork TunerNetwork is offline
 
Join Date: Jul 2004
Location: CT
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need to add this back.

But, when i got to import the product, i get this error:
Code:
Database error in vBulletin 3.5.3:

Invalid SQL:

				INSERT INTO setting
				(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
				VALUES
				(
					'vbgenable',
					'vbgarage',
					'1',
					'1',
					'boolean',
					'yesno',
					10,
					0,
					1,
					'_vbgarage'
	),
	(
					'vbgcomments',
					'vbgarage',
					'1',
					'1',
					'boolean',
					'yesno',
					20,
					0,
					1,
					'_vbgarage'
	),
	(
					'vbgmaxupload',
					'vbgarage',
					'6',
					'6',
					'number',
					'',
					30,
					0,
					1,
					'_vbgarage'
	),
	(
					'vbgmaxfilesize',
					'vbgarage',
					'200000',
					'200000',
					'number',
					'',
					40,
					0,
					1,
					'_vbgarage'
	);

MySQL Error  : Duplicate entry 'vbgenable' for key 1
Error Number : 1062
any ideas?
Reply With Quote
  #31  
Old 03-10-2006, 01:09 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TunerNetwork
I need to add this back.

But, when i got to import the product, i get this error:
Code:
Database error in vBulletin 3.5.3:

Invalid SQL:

				INSERT INTO setting
				(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
				VALUES
				(
					'vbgenable',
					'vbgarage',
					'1',
					'1',
					'boolean',
					'yesno',
					10,
					0,
					1,
					'_vbgarage'
	),
	(
					'vbgcomments',
					'vbgarage',
					'1',
					'1',
					'boolean',
					'yesno',
					20,
					0,
					1,
					'_vbgarage'
	),
	(
					'vbgmaxupload',
					'vbgarage',
					'6',
					'6',
					'number',
					'',
					30,
					0,
					1,
					'_vbgarage'
	),
	(
					'vbgmaxfilesize',
					'vbgarage',
					'200000',
					'200000',
					'number',
					'',
					40,
					0,
					1,
					'_vbgarage'
	);

MySQL Error  : Duplicate entry 'vbgenable' for key 1
Error Number : 1062
any ideas?
1. uninstall product
2. delete any vbgarage tables if they exist
3. in the settings, deleted any vbgarage ones..

preferably do step 2,3 from phpmyadmin.
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 01:04 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.05413 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
  • (2)bbcode_code
  • (6)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