Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
vBGarage v3.1.1 (now with GD-Lib support!) Details »»
vBGarage v3.1.1 (now with GD-Lib support!)
Version: 1.00, by magnus magnus is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-08-2004 Last Update: 04-13-2004 Installs: 371
DB Changes
 
No support by the author.

[high]***[/high]CLICK HERE FOR vB3.0.5 INSTALLER/UPDATE[high]***[/high]


vBGarage v3.1.1 (now with GD-Lib support!)

Description
This hack will allow your users to create a virtual garage where they can store photos, details, etc.. about their vehicle (this can be modified to suit forums of other interests).

Latest Uploads will be displayed on Garage List.

Forum users can now leave comments in member garages.

Admin functions are available in the AdminCP.

This version contains the ability to limit access by usergroup(s). All templates are 100% XHTML Verified!

Information
Tested and developed on vB 3.0.0 Gold.

Requires
GD 2.0+ Library

Demo
http://www.sffba.net/forum/vbgarage.php?do=list (Temporary)

This hack, as like the rest of my hacks, are FREE. However, if you enjoy this hack and feel the need to donate something for my time you can do so by clicking the icon below:


*NOTE: Those who donate are explicitly granted permission to remove the "Powered by" information from the vBGarage footer.

*NOTE: When donating, please include your forum url. Thanks!

Version History
v3 - Initial release. Let's hope I don't have alot of entries here.
v3.0.1 - Added GD-Lib Support!
v3.1.0 - Added User Comments, Latest Uploads on Garage List, AdminCP Options
v3.1.1 - Added ability for Admin to "edit" users' garages. Use ImageCopyResampled(); over ImageCopyResized(); for better thumbnail quality.

Planned Features
- Multiple entries per user.
- Possible integration with Photopost/Coppermine/etc..

If you use this, please click

* Installation script by John

[hr]-[/hr]
UPGRADES

v3.1.0 -> v3.1.1 UPGRADE INSTRUCTIONS

v3.0.1 -> v3.1.0 UPGRADE INSTRUCTIONS

v3.0 -> v3.0.1 UPGRADE INSTRUCTIONS

[hr]-[/hr]
MODIFICATIONS/ADD-ONS

[high]1. Add "Who's Online" Location by magnus[/high]
[high]2. Organize Your vBGarage Templates by magnus[/high]
[high]3. Increase Thumbnail Image Quality (v3.1.1 and older) by magnus[/high]
[high]4. Alphabetize Garage List by magnus[/high]
[high]5. Add "Latest Uploads" to FORUMHOME by magnus[/high]
[high]6. EvilLS1's Timeslip Database Integration by SVTOA[/high]
[high]7. Installer/Uninstaller by Action-N[/high]
[high]8. vBulletin 3.0.5 Compatible Installer/Update by noppid[/high]

Supporters / CoAuthors

Show Your Support

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

Comments
  #512  
Old 04-22-2004, 06:16 PM
White Knight White Knight is offline
 
Join Date: Nov 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
Just an update. v3.2.0 is coming along nicely. There's much more AdminCP control over how vBGarage acts now. I'm also devising a variable template engine, which will sort of allow you to design HOW you want the users detail input to be displayed. The template will be populated by the users input, rather than having the user design the "template" themselves, as they do now.

I'm also considering making some of the variables more 'global', so you can call them rather easily from other portions of the site. For instance, if you wanted to call the "Latest Uploads" from FORUMHOME, etc. Though, this is secondary, at the moment.

Oh, and there is definately going to be a need for database restructuring in v3.2.0. I'm hoping I can devise a "migration"-type script. Otherwise, there's going to be a little (read: repititious/tedious) work involved for the admin (read: YOU!).

If anyone here is a SQL genius, and would like to help with this migration-script, shoot me a PM. I'm decent with SQL, but by no means do I know it inside and out (yet).
Well I am glad I dropped by to see how this is coming along.. Good work my friend. I for one am still running my customized Sportbike version with no problems at all.

I just had a thought.. if your going to have it so people can design how it looks for people.. maybe a search engine in this would be nice.. so there location being in IL can be found or FL or so on.. Just a idea.. dont know how hard it would be to add in. This way there can be a "Owners Registry" intergrated with it.

Keep up the good work my friend.. top notch
Reply With Quote
  #513  
Old 04-23-2004, 04:08 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when viewing the garage, instead of clicking on a thumbnail and it going to the users garage, can this link be made to popup the image?

also, this is a big step to a photo gallery for vb. anyway to make this a official gallery, instead of a car garage...with maybe editing the informtion that is inputed on images, changing the upload area through the user cpanel.

also, can multiple images be uploaded @ once instead of 1 @ a time.

also, doing "vbgarage.php?do=view&id=1" or any users garage, the pictures are aligned right, is there a way to just make them center when not having text in the "Text"field.

The ideas/throughts i got here are to make this more of a gallery for users...
Reply With Quote
  #514  
Old 04-23-2004, 10:04 AM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Da_GoTTi
when viewing the garage, instead of clicking on a thumbnail and it going to the users garage, can this link be made to popup the image?

also, this is a big step to a photo gallery for vb. anyway to make this a official gallery, instead of a car garage...with maybe editing the informtion that is inputed on images, changing the upload area through the user cpanel.

also, can multiple images be uploaded @ once instead of 1 @ a time.

also, doing "vbgarage.php?do=view&id=1" or any users garage, the pictures are aligned right, is there a way to just make them center when not having text in the "Text"field.

The ideas/throughts i got here are to make this more of a gallery for users...
The answer to everything you asked is, yes. As I've stated before, over and over ad nauseum, this is completely template and phrase based. You can make it look and act almost however you feel like. It's just a simple matter of designing the templates differently.
Reply With Quote
  #515  
Old 04-23-2004, 10:08 AM
Envy-UK Envy-UK is offline
 
Join Date: Mar 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any plans to have the images use GD 1.6 to display?

Is there a way around using GD 2.0 (other than simply using a scaled down version of the image)?

My host are taking their time to upgrade.
Reply With Quote
  #516  
Old 04-23-2004, 11:16 AM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Envy-UK
Any plans to have the images use GD 1.6 to display?

Is there a way around using GD 2.0 (other than simply using a scaled down version of the image)?

My host are taking their time to upgrade.
In vbgarage.php, replace all instances of [high]CreateImageTrueColor[/high] with [high]CreateImage[/high].
Reply With Quote
  #517  
Old 04-23-2004, 05:35 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 things:

1. i would like to just have it where users can upload image, removing the required fields in the "vbgarage.php?do=editgarage", how can i do this?

2. when viewing "vbgarage.php?do=list", be better if the thumbnails on here would be made to do the popup to the image instead of going to the uploaders gallery. how can this be done.
Reply With Quote
  #518  
Old 04-23-2004, 09:25 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Da_GoTTi
2 things:

1. i would like to just have it where users can upload image, removing the required fields in the "vbgarage.php?do=editgarage", how can i do this?

2. when viewing "vbgarage.php?do=list", be better if the thumbnails on here would be made to do the popup to the image instead of going to the uploaders gallery. how can this be done.
https://vborg.vbsupport.ru/showpost....&postcount=513
Reply With Quote
  #519  
Old 04-24-2004, 12:48 AM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a way to do the thumbnails using vB's function for creating the thumbnails in threads... You have to write a temp file for the image function to work from, not a big deal... I used all the vB variables for the temp directory and such.

Code:
		if (!empty($_FILES['src']['tmp_name'])) {
			require_once('./includes/functions_image.php');

			$name = $_FILES['src']['name'];
			$data = addslashes(fread(fopen($_FILES['src']['tmp_name'], "r"), filesize($_FILES['src']['tmp_name'])));
			$type = $_FILES['src']['type'];

			$filename = tempnam(ini_get('upload_tmp_dir'), 'tmpimg');
			$fp = @fopen($filename, 'wb');
			@fwrite($fp, stripslashes($data));
			@fclose($fp);

			$attachment[tmp_name] = $filename;
			$attachment[name] = $name;
			$thumb = addslashes(fetch_thumbnail_from_image($attachment,$imageerror));
			@unlink($filename);
// insert into DB table here...
		}
Reply With Quote
  #520  
Old 04-24-2004, 06:16 AM
dede1 dede1 is offline
 
Join Date: Mar 2002
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@magnus

I have from vB 3.0.0 to vB 3.0.1 update now get I this error message and can
however nothing find:

Fatal error: Call to undefined function: can_administer() in /var/www/html/Board/vbgarage.php on line 50
Reply With Quote
  #521  
Old 04-24-2004, 07:44 AM
Envy-UK Envy-UK is offline
 
Join Date: Mar 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eoc_Jason
Here's a way to do the thumbnails using vB's function for creating the thumbnails in threads... You have to write a temp file for the image function to work from, not a big deal... I used all the vB variables for the temp directory and such.

Code:
		if (!empty($_FILES['src']['tmp_name'])) {
			require_once('./includes/functions_image.php');

			$name = $_FILES['src']['name'];
			$data = addslashes(fread(fopen($_FILES['src']['tmp_name'], "r"), filesize($_FILES['src']['tmp_name'])));
			$type = $_FILES['src']['type'];

			$filename = tempnam(ini_get('upload_tmp_dir'), 'tmpimg');
			$fp = @fopen($filename, 'wb');
			@fwrite($fp, stripslashes($data));
			@fclose($fp);

			$attachment[tmp_name] = $filename;
			$attachment[name] = $name;
			$thumb = addslashes(fetch_thumbnail_from_image($attachment,$imageerror));
			@unlink($filename);
// insert into DB table here...
		}
A little more guidance with this would be great.
Reply With Quote
Reply

Thread Tools

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:53 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.06359 seconds
  • Memory Usage 2,326KB
  • Queries Executed 26 (?)
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
  • (5)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
  • (5)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