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
  #532  
Old 04-24-2004, 09:38 PM
Shahrum Shahrum is offline
 
Join Date: Mar 2004
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And also... is there a way that in the template, instead of "Check out my ride" I can be like "My Ride: 1999 Ford Mustang" and get that info from the info I put in teh vbgarage?
Reply With Quote
  #533  
Old 04-24-2004, 10:25 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 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).
I'm just wondering when this new one will come out and whats its new features?

If I can make a suggestion.....it would be cool that you would be able to sort by year of car, make, model, newest car, etc. When our sites get huge and have thousands of cars, it would be hard to sort out all the ones that you want. For example if you loved SVT's, you wouldn't want to look at the V6's and so on

Also, a feature that would be cool would be some kind of a rating system, something like cardomain uses. You know you can rate everything on their ride like the overall appearance, sound, performance, etc.

I think those would be some cool freatures. But hey, I'm lovin this hack so far, one of the best in my books!
Reply With Quote
  #534  
Old 04-24-2004, 11:13 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 muscle-mustangs
I'm just wondering when this new one will come out and whats its new features?

If I can make a suggestion.....it would be cool that you would be able to sort by year of car, make, model, newest car, etc. When our sites get huge and have thousands of cars, it would be hard to sort out all the ones that you want. For example if you loved SVT's, you wouldn't want to look at the V6's and so on

Also, a feature that would be cool would be some kind of a rating system, something like cardomain uses. You know you can rate everything on their ride like the overall appearance, sound, performance, etc.

I think those would be some cool freatures. But hey, I'm lovin this hack so far, one of the best in my books!
Yes, sorting is implemented. At the momemt, I do have rating, however it's not what I would consider ready to be released. So, I'm not sure if it'll be out in v3.2.0. Possibly as an upgrade.

Keep in mind, v3.2.0 is a major upgrade. I still have to shift alot of focus on (hopefully) developing a migration script for your current database. I'll feel terrible if people are forced to start their databases from scratch.
Reply With Quote
  #535  
Old 04-24-2004, 11:17 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 Shahrum
I think something's wrong with the variable used in the if statement because w/o the if statement, it works fine!
Use this query instead:

[SQL] $posts = $DB_site->query("
SELECT
post.*, vbgarage_users.*, vbgarage_users.userid AS vbgarage, post.username AS postusername, post.ipaddress AS ip,
user.*, userfield.*, usertextfield.*,
" . iif($forum['allowicons'], 'icon.title as icontitle, icon.iconpath,') . "
" . iif($vboptions['avatarenabled'], 'avatar.avatarpath, NOT ISNULL(customavatar.avatardata) AS hascustomavatar, customavatar.dateline AS avatardateline,') . "
" . iif($vboptions['reputationenable'], 'level,') . "
" . iif(!$deljoin, 'NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,') . "
editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason,
post_parsed.pagetext_html, post_parsed.hasimages,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
" . iif(!can_moderate(), $datastore['hidprofilecache']) . "
FROM " . TABLE_PREFIX . "post AS post
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = post.userid)
LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
" . iif($forum['allowicons'], "LEFT JOIN " . TABLE_PREFIX . "icon AS icon ON(icon.iconid = post.iconid)") . "
" . iif($vboptions['avatarenabled'], "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid)") .
iif($vboptions['reputationenable'], " LEFT JOIN " . TABLE_PREFIX . "reputationlevel AS reputationlevel ON(user.reputationlevelid = reputationlevel.reputationlevelid)") . "
" . iif(!$deljoin, "LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND deletionlog.type = 'post')") . "
LEFT JOIN " . TABLE_PREFIX . "editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN " . TABLE_PREFIX . "post_parsed AS post_parsed ON(post_parsed.postid = post.postid)
LEFT JOIN " . TABLE_PREFIX . "vbgarage_users AS vbgarage_users ON(vbgarage_users.userid = user.userid)
WHERE $postids
ORDER BY dateline $postorder
");[/SQL]

Quote:
Originally Posted by Shahrum
And also... is there a way that in the template, instead of "Check out my ride" I can be like "My Ride: 1999 Ford Mustang" and get that info from the info I put in teh vbgarage?
Then, use this in your postbit:

HTML Code:
<if condition="$post['vbgarage']"><br><div><a href="vbgarage.php?$session[sessionurl]do=view&id=$post[userid]">My Ride: $post[year] $post[make] $post[model]</a></div></if>
That should do it!
Reply With Quote
  #536  
Old 04-25-2004, 01:51 AM
spence2 spence2 is offline
 
Join Date: Jun 2002
Location: usa
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since 3.2 will be a major upgrade, for those of us who are holding off installing until it's release...IF WE ALL SWEAR NOT TO HOLD YOU TO IT UNDER PENALTY OF HOT BAMBOOSHOOTS STUCK UNDER OUR FINGERNAILS...could you give us a guesstimate on when you might release 3.2? Days...or weeks?
Thanks.
Reply With Quote
  #537  
Old 04-25-2004, 02:52 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 spence2
Since 3.2 will be a major upgrade, for those of us who are holding off installing until it's release...IF WE ALL SWEAR NOT TO HOLD YOU TO IT UNDER PENALTY OF HOT BAMBOOSHOOTS STUCK UNDER OUR FINGERNAILS...could you give us a guesstimate on when you might release 3.2? Days...or weeks?
Thanks.
Well, provided your prior disclaimer holds true.. about a week. I'm shooting for next weekend (possibly sooner). I was trying for this weekend, except I've been out of town in training this weekend. /sigh
Reply With Quote
  #538  
Old 04-25-2004, 03:37 AM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
Well, provided your prior disclaimer holds true.. about a week. I'm shooting for next weekend (possibly sooner). I was trying for this weekend, except I've been out of town in training this weekend. /sigh

We aren't in any hurry, just make it easy to install for us Newbes, and we won't mind
Reply With Quote
  #539  
Old 04-25-2004, 06:12 AM
spence2 spence2 is offline
 
Join Date: Jun 2002
Location: usa
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Won't mind at all.
Thanks!
Reply With Quote
  #540  
Old 04-25-2004, 10:03 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Geeze, I go away for a few days and there is all this now.........Whew.

Question, has anyone come up with how to place the "latest uploads" panel on other pages, such as the forum home or vba page?
Reply With Quote
  #541  
Old 04-25-2004, 12:24 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 joeychgo
Geeze, I go away for a few days and there is all this now.........Whew.

Question, has anyone come up with how to place the "latest uploads" panel on other pages, such as the forum home or vba page?
Just place the following code in the respective PHP file:

PHP Code:
$result_latest $DB_site->query("
    SELECT vbgarage_images.* 
    FROM " 
TABLE_PREFIX "vbgarage_images
    ORDER BY vbgarage_images.id DESC 
    LIMIT 5
"
);
    
while (
$latest $DB_site->fetch_Array($result_latest))
{
    eval(
'$latestbits .= "' fetch_template('vbgarage_latestbits') . '";');
}

$DB_site->free_result($result_latest); 
Be sure to add the following line to the $globaltemplates(); array, too.
PHP Code:
        'vbgarage_latestbits'
Then, just add [high]$latestbits[/high] into the template you want it displayed in.
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 04:50 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.06827 seconds
  • Memory Usage 2,332KB
  • 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
  • (2)bbcode_php
  • (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
  • (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