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
  #842  
Old 05-24-2004, 10:00 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by flat6
Not sure how relevant this is but I'm currently coding my own vB garage... it's not going to be released, since it's too much of a custom application, tying in with the main website (runs off the car model database) but here's how it looks... still a work in progress, BTW.
Looks good ... So how much would we have to beg you to get a copy? The customisations are so close to what I want it would save me a hell of a lot of time.

Was it easy to attach the wysiwyg editor?
Reply With Quote
  #843  
Old 05-24-2004, 11:55 AM
eob eob is offline
 
Join Date: Jan 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Come on, release it, you know it makes sense... all those 'Designed By:' links raking in traffic to your own car website...
Reply With Quote
  #844  
Old 05-24-2004, 12:17 PM
flat6 flat6 is offline
 
Join Date: Apr 2004
Location: Toronto
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I'm going to finish coding it in about a month, right now only the admin part in the CP is done, so I'll come back then and update you guys and maybe put up some code for download.

To answer the wysiwyg editor question, it looks like a lot of code, but since it's just recycled vB3 code, it wasn't hard to implement, mainly just cut and paste, with a little fixing and customization.

The code:

PHP Code:
// ############################################################################
// ############################################################################
// ############################# THE CAR'S STORY ##############################
// ############################################################################
// ############################################################################

// ############################ start edit owner_history ##########################
if ($_REQUEST['do'] == 'edit_story')
{
    require_once(
'./includes/functions_newpost.php');
    
$htmlcodeon iif($vboptions['allowhtml'], $vbphrase['on'], $vbphrase['off']);
    
$bbcodeon iif($vboptions['allowbbcode'], $vbphrase['on'], $vbphrase['off']);
    
$imgcodeon iif($vboptions['allowbbimagecode'], $vbphrase['on'], $vbphrase['off']);
    
$smilieson iif($vboptions['allowsmilies'], $vbphrase['on'], $vbphrase['off']);

    
// only show posting code allowances in forum rules template
    
$show['codeonly'] = true;

    eval(
'$forumrules = "' fetch_template('forumrules') . '";');

    if (!isset(
$preview))
    {
        
$result $DB_site->query("
            SELECT story
            FROM f6_car_owned WHERE car_owned_id=
$car_owned_id
        "
);
        while (
$car mysql_fetch_array($result))
            {
            
$story $car[story];
            }
    }

    require_once(
'./includes/functions_editor.php');

    
// set message box width to usercp size
    
$stylevar['messagewidth'] = $stylevar['messagewidth_usercp'];
    
construct_edit_toolbar(htmlspecialchars_uni($story), 000);
    
    
// draw cp nav bar
    
construct_usercp_nav('garage');

    
$navbits[''] = $vbphrase['edit_garage'];
    
$templatename 'modify_story';
}


// ########################### start update owner_history #########################
if ($_POST['do'] == 'update_story')
{
    
globalize($_POST, array('WYSIWYG_HTML''message' => STR'preview'));


    
    if (isset(
$WYSIWYG_HTML))
    {
        require_once(
'./includes/functions_wysiwyg.php');
        
$story convert_wysiwyg_html_to_bbcode($WYSIWYG_HTML$vboptions['allowhtml']);
    }
    else
    {
        
$story trim($message);
    }

    if (isset(
$preview))
    {
        if (
is_array($errors))
        {
            
$errorlist '';
            foreach (
$errors AS $key => $errormessage)
            {
                eval(
'$errorlist .= "' fetch_template('newpost_errormessage') . '";');
            }
            
$show['errors'] = true;
        }

        require_once(
'./includes/functions_bbcodeparse.php');
        
$previewmessage parse_bbcode2($story$vboptions['allowhtml'], $vboptions['allowbbimagecode'], $vboptions['allowsmilies'], $vboptions['allowbbcode']);
        
// save a conditional by just overwriting the phrase
        
$vbphrase['submit_message'] = "Save Car's Story";
        eval(
'$preview = "' fetch_template('newpost_preview') . '";');
        
$_REQUEST['do'] = 'edit_story';
    }
    else
    {
        
$DB_site->query("
            UPDATE f6_car_owned
            SET story = '" 
addslashes($story) . "'
            WHERE car_owned_id = 
$car_owned_id
        "
);
        
        
$url "garage.php?$session[sessionurl]do=garage_home";
        eval(
print_standard_redirect('redirect_updatethanks'));
    }

And the template:

HTML Code:
<form action="garage.php" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return validatePost(this, 0, 0, 0);" onreset="vB_RESET(this);"</if>>

$preview

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">Edit Car's Story</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
			
		<!-- message area -->
		<div class="smallfont">This is a story of how you got it, why you got it, what you're doing with it, and whatever else your creative mind wants to write about.<br /><br /></div>
		$messagearea
		<!-- / message area -->
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="do" value="update_story" />
		<input type="submit" class="button" value="Save Car's Story" accesskey="s" tabindex="1" />
		<input type="submit" class="button" value="Preview Car's Story" name="preview" accesskey="p" tabindex="1" />	
	</div>
	</td>
</tr>
</table>

<br />

$forumrules

</form>
Reply With Quote
  #845  
Old 05-24-2004, 12:50 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

flat6:
You should put a ranking system, so users can vote monthly on who has the best car. This way, the one with the highest votes will get car of the month!
Reply With Quote
  #846  
Old 05-24-2004, 01:36 PM
flat6 flat6 is offline
 
Join Date: Apr 2004
Location: Toronto
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's a good idea. Currently what I'm doing with votes is... well, when you add a car, the site automatically starts up two new threads with the user's account, a logbook and a guestbook, for each new car added. The guestbook's Thread Rate has now been replaced with Car Rate, so that that the thread where users comment on the car actually holds the votes for that car. I'll probably have to bring it out further, make it its own button accessible from outside of the actual thread.
Reply With Quote
  #847  
Old 05-24-2004, 02:40 PM
443dds 443dds is offline
 
Join Date: May 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking forward to an updated vBGarage to allow for multiple cars...
Reply With Quote
  #848  
Old 05-24-2004, 02:44 PM
0ptima 0ptima is offline
 
Join Date: Feb 2002
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by moonclamp
The customisations are so close to what I want it would save me a hell of a lot of time.
I agree!
Reply With Quote
  #849  
Old 05-24-2004, 07:04 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admincp - Categories for garage: edit / make cats with sub cats and description
Multi garages per usergroup
Admincp to allow users X amount of garages per usergroup.
File system for images vs. storage in SQL
Links page listing of categories (like a show case with sorting options)

:tired:

/me heads back to his cave.
Reply With Quote
  #850  
Old 05-24-2004, 07:19 PM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by flat6
Not sure how relevant this is but I'm currently coding my own vB garage... it's not going to be released, since it's too much of a custom application, tying in with the main website (runs off the car model database) but here's how it looks... still a work in progress, BTW.
Holy Geeze, I'd pay for that setup. Where can I sign?
Reply With Quote
  #851  
Old 05-24-2004, 07:25 PM
eob eob is offline
 
Join Date: Jan 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We went through loads of formats for our YaBB enabled vGarage, the conclusion we came to in the end was to give the user 4 basic fields, manufacturer name, model name, engine size (cc's or cu's depending on your boards users), 'but i'd sell it for...'(the dream price someone would part with their car for), with 2 textarea boxes, one to list modifications, another to describe the car, then with the obvious photo upload stuff.

This was by far the most popular arrangement of vGarage for the users, the fixed capacity/model name/price fields made it easy to organise the cars, while the textarea for the description and mods fields allowed them to go into as much or as little information about the car as they liked.
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 02:43 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.05856 seconds
  • Memory Usage 2,356KB
  • 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
  • (1)bbcode_html
  • (1)bbcode_php
  • (3)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_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