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
  #342  
Old 04-12-2004, 11:59 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 SVTOA
Can you explain this a little better? You mean you ran the install process for the upgrade over again?
Hrm. STVOA, please paste your vbgarage_editgarage template. The one that's currently not working for you.
Reply With Quote
  #343  
Old 04-13-2004, 12:00 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will do. I have tried everything!

Stand by
Reply With Quote
  #344  
Old 04-13-2004, 12:02 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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="$vboptions[vbgmaxfilesize]">

<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_text]:</b><br /><br /><br /><br />
		<span class="smallfont">$vbphrase[vbgarage_text_desc]</span>

</td>
	<td class="alt2"><textarea name="text" rows="20" cols="70">$data[text]</textarea></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>
Reply With Quote
  #345  
Old 04-13-2004, 12:04 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess my question is why does it work for me only, and why will it work when the OLD vbgarage.php file is used (renamed the upgraded file temp and re-uploaded the original)
Reply With Quote
  #346  
Old 04-13-2004, 12:23 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To add: If I turn the Garage off in the admin cpanel, I get this:

Fatal error: Call to undefined function: can_administer() in /home/edited/public_html/vb3/vbgarage.php on line 50
Reply With Quote
  #347  
Old 04-13-2004, 12:26 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 SVTOA
Ok, what happens with even a "fresh" garage is that the browse box is not there, and this is even with members who have never uploaded even one pix?

I checked in the admin cpanel, even upped the minimum images to 8, still no joy. As I said, if I revert to the 3.01 version of the vbgarage.php file, the upload ability returns.

I'm thinking something is not right with the 3.1.0 version of the file?
In vbgarage_editgarage:

FIND:
HTML Code:
$vbgarage_total_images
REPLACE with:
HTML Code:
$vboptions[vbgmaxupload]
Make sure you're now using the 3.1.0 version of the file, also, be sure to do the modifications to the file in the post below this. Or, you can just download the already "fixed" vbgarage.php in the upgrade thread here
Reply With Quote
  #348  
Old 04-13-2004, 12:28 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 SVTOA
To add: If I turn the Garage off in the admin cpanel, I get this:

Fatal error: Call to undefined function: can_administer() in /home/edited/public_html/vb3/vbgarage.php on line 50
In vbgarage.php:

FIND:
PHP Code:
require_once('./includes/functions_user.php'); 
Add BELOW:
PHP Code:
require_once('./includes/adminfunctions.php'); 
Sorry about that. I need to update the .ZIP file.
Reply With Quote
  #349  
Old 04-13-2004, 12:37 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No need to be sorry. It's all good again, I am very happy.

You can release your latest update to me if you want me to test it?
Reply With Quote
  #350  
Old 04-13-2004, 12:42 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 blitzkrg
any chance you'd add image magik support?
I know even less about Imagemagick than I do about GD. I could possibly add Imagemagick support, but it would be later once everything has calmed down a bit.
Reply With Quote
  #351  
Old 04-13-2004, 01:28 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same problem!

Help!




Quote:
Originally Posted by SVTOA
I'm having a little glitch I can't figure out? Some members have no "upload button" anymore, since the last upgrade. If I use the original vbgarage.php for testing, then the browse button comes back. If I use the upgraded version, the upload pix function goes away again, but for me as an admin, it always works?

Any ideas??
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 03:34 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.10273 seconds
  • Memory Usage 2,329KB
  • Queries Executed 28 (?)
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
  • (1)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_php
  • (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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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