Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
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
  #47  
Old 04-09-2004, 10:13 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dede1,

I checked out your site. One note, you might want to add a space to the end of your vbgarage_imagebits template. It will wrap the pictures, rather than having them all in a single line.

Just, literally, add a space to the end, that's it.
Reply With Quote
  #48  
Old 04-09-2004, 10:17 PM
dede1 dede1 is offline
 
Join Date: Mar 2002
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

magnus

schau times with you are please here the fig. 3 with me all 6 next to
each other next to each other sees bloed out with me which must I
change around there as with you the in addition-gotten?

http://63.246.136.220/Board/vbgarage.php?do=view&id=1
Reply With Quote
  #49  
Old 04-09-2004, 10:27 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 dede1
magnus

schau times with you are please here the fig. 3 with me all 6 next to
each other next to each other sees bloed out with me which must I
change around there as with you the in addition-gotten?

http://63.246.136.220/Board/vbgarage.php?do=view&id=1
Like I said above, edit your vbgarage_imagebits template, go to the end of the last line, and press the spacebar, leaving a space at the end. Then, click save. That's it!
Reply With Quote
  #50  
Old 04-09-2004, 10:45 PM
dede1 dede1 is offline
 
Join Date: Mar 2002
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #51  
Old 04-09-2004, 10:55 PM
Envy-UK Envy-UK is offline
 
Join Date: Mar 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed everything, it appeared to be fine.

However, when vbgarage.php is called (both by /vbgarage.php?do=list & vbgarage.php), I end up with a blank screen.

Anyone?
Reply With Quote
  #52  
Old 04-09-2004, 11:08 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 Envy-UK
I've installed everything, it appeared to be fine.

However, when vbgarage.php is called (both by /vbgarage.php?do=list & vbgarage.php), I end up with a blank screen.

Anyone?
You're missing templates. Check your templates list, you should have the following:

vbgarage_editgarage
vbgarage_editimagebits
vbgarage_imagebits
vbgarage_listbits
vbgarage_listgarage
vbgarage_popup
vbgarage_viewgarage

If they all exist, check to make sure there is data inside.
Reply With Quote
  #53  
Old 04-09-2004, 11:17 PM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are pics thumnailed automatically?
Reply With Quote
  #54  
Old 04-10-2004, 12:55 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 corsacrazy
are pics thumnailed automatically?
No, there's no "thumbnails". The pictures are simply displayed using "width=" tags. Once I figure out exactly how GD works, I'll be adding that so it will create actual thumbnails.
Reply With Quote
  #55  
Old 04-10-2004, 05:01 AM
RaceJunkies RaceJunkies is offline
 
Join Date: Jun 2003
Location: Aruba
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed everything but I don't see any of the options of vbgarage in the UserCP...
Reply With Quote
  #56  
Old 04-10-2004, 06:47 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, are the pictures generated by thumbs?
Reply With Quote
  #57  
Old 04-10-2004, 07:26 AM
Envy-UK Envy-UK is offline
 
Join Date: Mar 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
You're missing templates. Check your templates list, you should have the following:

vbgarage_editgarage
vbgarage_editimagebits
vbgarage_imagebits
vbgarage_listbits
vbgarage_listgarage
vbgarage_popup
vbgarage_viewgarage

If they all exist, check to make sure there is data inside.
The install script only appears to add these templates to the initial style ID, however, I'm using another as default.

"New templates added to styleid 1", can I change this to install to both style ID's?

Edit: Templates were added to my second style manually.

Quick question, is there any way to remove the "text" aspects from vbgarage.php?do=editgarage and vbgarage.php?do=view&id=x?

I'm looking to just have the images on the page.
Reply With Quote
  #58  
Old 04-10-2004, 08:55 AM
esoin esoin is offline
 
Join Date: Jan 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it working! thanks
However
How can i change "Make:" into "Color:" ?
Reply With Quote
  #59  
Old 04-10-2004, 01:21 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 MaxBoost
I installed everything but I don't see any of the options of vbgarage in the UserCP...
There are no options in the UserCP. All the options are under the "Usergroup" options.
Reply With Quote
  #60  
Old 04-10-2004, 01:22 PM
Ian Cunningham Ian Cunningham is offline
 
Join Date: Feb 2002
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
No, there's no "thumbnails". The pictures are simply displayed using "width=" tags. Once I figure out exactly how GD works, I'll be adding that so it will create actual thumbnails.
I think VB has a function to do this automatially? It shouldn't be too hard to add (I think!), so I might have a go at it later and send you the code if I can do it
Reply With Quote
  #61  
Old 04-10-2004, 01:30 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 Envy-UK
The install script only appears to add these templates to the initial style ID, however, I'm using another as default.

"New templates added to styleid 1", can I change this to install to both style ID's?

Edit: Templates were added to my second style manually.

Quick question, is there any way to remove the "text" aspects from vbgarage.php?do=editgarage and vbgarage.php?do=view&id=x?

I'm looking to just have the images on the page.
Sure. Replace the following templates with the specified data:

VBGARAGE_EDITGARAGE:
HTML Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head><title>$vboptions[bbtitle] - $vbphrase[vbgarage]</title>
$headinclude
</head>
<body>
$header
$navbar

<form action="vbgarage.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="max_file_size" value="1000000">

<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
	<td class="tcat" colspan="2"><b>$bbuserinfo[username]'s $vbphrase[vbgarage]</b></td>
</tr>
<tr>
	<td class="thead" colspan="2"><b>$vbphrase[edit_options]</b></td>
</tr>
$logincode
<tr>
	<td class="alt2"><b>$vbphrase[vbgarage_year]:</b></td>
	<td class="alt2"><input type="text" class="bginput" name="year" size="4" maxlength="4" value="$data[year]" /></td>
</tr>
<tr>
	<td class="alt2"><b>$vbphrase[vbgarage_make]:</b></td>
	<td class="alt2"><input type="text" class="bginput" name="make" size="19" maxlength="50" value="$data[make]" /></td>
</tr>
<tr>
	<td class="alt2"><b>$vbphrase[vbgarage_model]:</b></td>
	<td class="alt2"><input type="text" class="bginput" name="model" size="19" maxlength="50" value="$data[model]" /></td>
</tr>
<tr>
	<td class="alt2"><b>$vbphrase[vbgarage_uploaded_images]:</b><br />
	<span class="smallfont">$vbphrase[vbgarage_allowed_total]</span></td>
	<td class="alt2"><table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" class="alt2">
	<tr>
	$editimagebits
	</tr>
	</table></td>
<tr>
<if condition="$count != $vbgarage_total_images">
<tr>
	<td class="alt2"><b>$vbphrase[vbgarage_file]:</b></td>
	<td class="alt2"><input type="file" class="bginput" name="src" size="30" /></td>
</tr>
</if>
</table>
</td></tr></table>

<br />

<table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center">
<tr>
	<td align="center">
	<input type="submit" class="button" value="$vbphrase[submit]" accesskey="s" />
	<input type="hidden" name="do" value="edit" />
	</td>
</tr>
</table>

</form>

$footer

</body>
</html>
VBGARAGE_VIEWGARAGE:
HTML Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head><title>$vboptions[bbtitle] - $user[username]'s vBGarage</title>
$headinclude

<script language="javascript" type="text/javascript"> 
function PopupPic(sPicURL) { 
	newWin=window.open( sPicURL, 'newWin', 
	'resizable=1,HEIGHT=200,WIDTH=200'); 
	newWin.focus(); 
} 
</script> 
</head>
<body>
$header
$navbar

<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
	<td class="tcat" colspan="2"><b>$user[username]'s $data[year] $data[make] $data[model]</b></td>
</tr>
<tr>
	<td class="alt2" width="40%" valign="top" align="center">
		<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
		<tr>
		<td class="tcat">Photos</td>
		</tr>
		<tr>
		<td class="alt2">$imagebits</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
<td class="tcat" colspan="3" align="right"><span class="smallfont">$vbphrase[vbgarage_footer]</span></td>
</tr>

</table>
</td></tr></table>

$footer

</body>
</html>
That should do the trick.
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 08:00 AM.


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.12211 seconds
  • Memory Usage 2,406KB
  • Queries Executed 31 (?)
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_html
  • (7)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
  • (3)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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