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
  #632  
Old 04-28-2004, 09:51 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
from: https://vborg.vbsupport.ru/showpost....&postcount=147

the code you talk about here is not showing the image in a new thread. im using 3.1.1...any ideas?
This is going to be obsolete with v3.2.0. However, in the meantime if you wish, simply modify the code to reflect the v3.1.1 format. That was posted with v3.0.1 in mind, I believe.
Reply With Quote
  #633  
Old 04-28-2004, 10:34 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ight magnus, sorry for buggin so much...i set my page load on here to show 100 posts per page, so i see it now....

ANOTHER quesiton of mine...

when a thumbnail is viewed in the popup, its showing the entire image...but if the image is bigger then the viewable screen, its not showing a scroll bar...that is a problem cuz on some high res images, im only getting 50% or w/e of the image...how can this be fixed?
Reply With Quote
  #634  
Old 04-28-2004, 10:37 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh, this is def a HOTM right here...i would consider this a great addon for vbulletin. if it was modified to be a actual photo gallery, its the first ever that is or the board by the board.

great job magnus.
Reply With Quote
  #635  
Old 04-28-2004, 10:45 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

another idea:

placing the images on the forumhome has worked, thanx for that....idea is now, the images load on forum home, but can it be made to show the user beneath the image who loaded it as well?
Reply With Quote
  #636  
Old 04-28-2004, 11:06 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
another idea:

placing the images on the forumhome has worked, thanx for that....idea is now, the images load on forum home, but can it be made to show the user beneath the image who loaded it as well?
Yea, look through the posts here where someone asked how to do that with the Latest Uploads. Just apply that same process.
Reply With Quote
  #637  
Old 04-28-2004, 11:36 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is the information to put hte "Latest Uploads" on forumhome.

magnus if you can put this in your 1st post as modifications or something, make it easier for us to find these great modifications.
Reply With Quote
  #638  
Old 04-28-2004, 11:39 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
here is the information to put hte "Latest Uploads" on forumhome.

magnus if you can put this in your 1st post as modifications or something, make it easier for us to find these great modifications.
No need for a .txt file, I'll just put a link like I did for all the other modifications.
Reply With Quote
  #639  
Old 04-28-2004, 11:43 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres the link chief.

https://vborg.vbsupport.ru/showpost....&postcount=542
Reply With Quote
  #640  
Old 04-29-2004, 01:31 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when a picture is deleted through the garage area, does it remove the image from the DB as well?
Reply With Quote
  #641  
Old 04-29-2004, 01:42 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have written a little add-on for this awesome hack. What this does is create a custom block of info that displays 1/4 Mile info in the text area. You create 4 custom fields for the mod, then edit one template and you're done. If a member does not fill in the first custom field, an alternate message displays. If they leave any of the other custom fields blank, no info for that field displays (as opposed to 00.00)

Attached is a screenshot of how it looks and the instructions, which I will also post:

Code:
ADD A CUSTOM BLOCK TO YOUR VB GARAGE TO DISPLAY MEMBER 1/4 MILE TIMES.
MAY BE CUSTOMIZED ANY WAY YOU WISH TO USE IT.
This minor template modification to the VB GARAGE by MAGNUS will create a custom block in the text area of the member's 
garage that displays 1/4 mile stats and RWHP if the member has filled in these custom fields.
If the member has not filled them in, rather than display empty data the box displays an alternate message that you 
Can also customize.


###############################################################################################################
Installation is quite easy.

Step 1:

Create 4 custom user profile fields:
"1/4 Mile ET"
"BEST MPH"
"BEST 60 FOOT TIME"
"RWHP"

Step 2:
Note the field ID numbers of the fields you created in step one, and edit the code below with your field #'s in order for 

this mod to work on your forum. The field ID #'s in the code below are examples from my forum. If you do not match the proper 

field id's from your forum then the info dispayed in the user's VB Garage will not be correct!


Step three:  Open template "vbgarage_viewgarage" and find:  

#####################################################
<td class="alt2" width="60%">$data[text]
#####################################################


Add this after:

##################################################
<!-- performance stats block by SVTOA -->
<br>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" 

width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>My $data[year] $data[model] Performance Stats</b></span></td>
</tr>
<tr>
<td class="$getbgrow"><span class="smallfont">

<if condition="!$user['userid']">
<else />
<!-- YOU MUST EDIT THE FIELDS BELOW TO MATCH THE NUMBERS OF YOUR FORUM CUSTOM FIELDS -->
<if condition="$user[field6] !=''">
<font color="black"><b>My Best ET: <font color="red">$user[field6]</font>
<else />

<!-- the next line may be changed to say whatever you want it to say -->
This member has not added ET data to their vB Garage.
</if>
</if>
</span>
</td>
</tr>
<!-- best mph field -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field8] !=''">
<font color="black"><b>My Best MPH: <font color="red">$user[field8]</font>
</if>
</span>
</td>
</tr>
<!-- rwhp field -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field11] !=''">
<font color="black"><b>My RWHP: <font color="red">$user[field11]</font>
</if>
</span>
</td>
</tr>
<!-- best 60 foot time -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field9] !=''">
<font color="black"><b>My Best 60 foot time: <font color="red">$user[field9]</font>
</if>
</span>
</td>
</tr>
</td>
</tr>

</table>
<br/>

<!-- End PERFORMANCE STATS BLOCK -->
########################################################
Reply With Quote
  #642  
Old 04-29-2004, 03:18 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are like me and use both Magnus's VB Garage Hack, and you also use EvilLs1's TIMESLIP DATABASE then you're going to love this!

Simply edit your 'vbgarage_viewgarage' template this way:

FIND:
Code:
<td class="alt2" width="60%">$data[text]

Add right after:

Code:
<!-- performance stats block by SVTOA -->
<br>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>My $data[year] $data[model] Performance Stats</b></span></td>
</tr>
<tr>
<td class="$getbgrow"><span class="smallfont">

<if condition="!$user['userid']">
<else />
<if condition="$user[field55] !='00.00'">
<b>My Best ET: <font color="red">$user[field55]</font>
<else />
This member has not added ET data to their vB Garage.
</if>
</if>
</span>
</td>
</tr>
<!-- best mph field -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field56] !='00.00'">
<b>My Best MPH: <font color="red">$user[field56]</font>
</if>
</span>
</td>
</tr>
<!-- rwhp field -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field51] !='0.0'">
<b>My RWHP: <font color="red">$user[field51]</font>
</if>
</span>
</td>
</tr>
<!-- best 60 foot time -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field52] !='0.000'">
<b>My Best 60 foot time: <font color="red">$user[field52]</font>
</if>
</span>
</td>
</tr>
</td>
</tr>

</table>
<br/>

<!-- End PERFORMANCE STATS BLOCK -->

DONE!!!!

Now if a member has filled out the timeslip database "vehicle profile" fields, the info will display in this custom block! If they have not filled out the ET field, then all that will display is the message "This member has not added ET data to their vB Garage." (which you can edit to say whatever you want)

If they do not fill out the other fields, they simply will not display.

You do not have edit the field id's with this mod because EvilLS1's hack configures those fields the same on every board.


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

Quote:
Originally Posted by White Knight
Sure would be and something I was going to add soon anyways. I just know I have to modify the code for sportbikes a little bit

But just like the vbGarage it just takes a little template fixing and database changing

But yes that timeslip hack would be very nice!

Yes indeed. I did get it to work how I envisioned it would...

https://vborg.vbsupport.ru/showpost....&postcount=641
Reply With Quote
  #644  
Old 04-29-2004, 08:03 AM
djnth djnth is offline
 
Join Date: May 2003
Location: AZ
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like a great hack!! Have you thought about adding the ability to have some custom fields that can be added via the admincp so that there is some information that all users must submit. It would add some uniformity to the garages and would open up more possibilities for boards that aren't car related.

Can't wait to see your future releases.

djnth
Reply With Quote
  #645  
Old 04-29-2004, 10:47 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great addition svtoa

Ok, I have 2 issues. First, how can i make it so the user info stays at the top? See screenshot 1 below.........

Second -- I also have the ad colums hack --- but instead opf appearing on the side, it appears below on the users page-- (see screenshot2) but not on the main page of the garage. FYI I ahve the same probelm with the timeslips page.
Reply With Quote
  #646  
Old 04-29-2004, 10:58 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SVTOA
I have written a little add-on for this awesome hack. What this does is create a custom block of info that displays 1/4 Mile info in the text area. You create 4 custom fields for the mod, then edit one template and you're done. If a member does not fill in the first custom field, an alternate message displays. If they leave any of the other custom fields blank, no info for that field displays (as opposed to 00.00)

Attached is a screenshot of how it looks and the instructions, which I will also post:


Its not looking like your screenshot for me. what am I missing? I've barely started to learn html so maybe thats why --- here is a screenshot.
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:08 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.07154 seconds
  • Memory Usage 2,388KB
  • 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
  • (3)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
  • (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