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
  #662  
Old 04-29-2004, 08:14 PM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey thanks, I'm no expert either, I just didn't want to bother you to do this for me, figured I'd try it myself. I'm going to use your code of course..
Reply With Quote
  #663  
Old 04-29-2004, 08:24 PM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just updated my tempates with your cleaned-up code Magnus. Thanks again bro.
Reply With Quote
  #664  
Old 04-30-2004, 01:19 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok - what do I do with this? LOL

SVTOA - the problem occurs when you have more then a few pics -- its like the data is vertically centered against the overall pics entered......... I am liberal and allow alot of pics ---- What I need to do is get the data to start at the top of the block


Quote:
Originally Posted by SVTBlackLight01
dcevoclub,

Check this part the timeslip add-on in your template.

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 />
<!-- 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 -->
It looks your missing the part in bold itallics.
Reply With Quote
  #665  
Old 04-30-2004, 01:25 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your forum setup is WIDE man! all those ad banners you have kind of expand things a little bit.

Without going off in 10 different directions here, first thing is to determine if your only issue is how this displays. As I said before, it worked fine for me when I created a garage on your board and filled out the custom fields.
Reply With Quote
  #666  
Old 04-30-2004, 08:18 AM
djnth djnth is offline
 
Join Date: May 2003
Location: AZ
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You know, thinking about it you're right. It definitely is nice that users can add their own touches with the code. I still would like to have the option of adding some custom fields because there is some information I would like to make sure that everyone includes and I'm definitely not a PHP coder so going in and adding my own fields would just be asking for trouble.

I would like to have one field be a checkbox asking the user if they are a DJ and then I would like to create a menu item that would take someone to a page that shows a listing of everyone that checked YES to the DJ question. Is this sort of thing possible?

Thanks!!

djnth



Quote:
Originally Posted by SVTOA
Like Magnus has said, this thing is template driven, so you can set things up how you wish to. Example- if you created some fields that you want the user to fill out for the VBgarage, you can certanly force them to do so. I'm just tinkering with my own version of this hack, and I know a lot of you use the timeslip hack as well, so I thought I'd toss this out. I mean, you could go as far as you want to with this- you could edit my conditional statements to return any number of results based on what they put in these fields.
The way I did this, there aren't any "empty" fields displayed. You could edit this to make it so NOTHING shows up, no box, no message, nothing, unless the user enters timeslip data.
Personally, I like being able to "freeform" UBB code in the text area. Many of my members have made some very cool garages using the free-form setup.
If you wanted to make this act like say "cardomain" you could setup a system where all the info that shows up in the text area is relative to input in custom fields for the garage.
Reply With Quote
  #667  
Old 04-30-2004, 09:37 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
Your forum setup is WIDE man! all those ad banners you have kind of expand things a little bit.

Without going off in 10 different directions here, first thing is to determine if your only issue is how this displays. As I said before, it worked fine for me when I created a garage on your board and filled out the custom fields.

actually, its set to 100% ---

Here is 3 screenshots -- starting with yours ---see how even on yours the title bar on the data side isnt even with the title bar on the pic side?

as we add more pics it becomes lower and lower as demonstrated in pics 2 & 3
Reply With Quote
  #668  
Old 04-30-2004, 11:26 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djnth
You know, thinking about it you're right. It definitely is nice that users can add their own touches with the code. I still would like to have the option of adding some custom fields because there is some information I would like to make sure that everyone includes and I'm definitely not a PHP coder so going in and adding my own fields would just be asking for trouble.

I would like to have one field be a checkbox asking the user if they are a DJ and then I would like to create a menu item that would take someone to a page that shows a listing of everyone that checked YES to the DJ question. Is this sort of thing possible?

Thanks!!

djnth
What you are saying is that when the garage is created by the end user, if they check off this box they get a different display action in the finished product? You need to explain a little better what you are trying to do. It would be possible to use a conditional statement so that "if" that checkbox="yes" than "this style is displayed". That would actually be rather easy. Example- in my performance stats hack, "if" the et field = "0.00" then the text "this member has not entered any et info..." displays. You can make that text into a hyperlink or even display an image or an entire different block of data. So, using your request, say you want to display a header on any "garage" (using garage as a reference, your idea may have nothing to do with cars) where the member has checked off "yes" to "DJ? YES/NO" then a hyperlink leading to to a separate page displays, or a graphic that pertains to the subject displays, etc.

You have given me an idea... I could alter my own code so that "if" et field="12." then display graphic "12secondclub.gif"

As far as being a PHP coder- that's a state of mind. Take some code and play with it to see what the effect of your changes has on the end result. That's how you can learn.

These guys like Magnus and Evil LS1 are TRUE coders, I'm the kind who knows a little about a lot and just enough to get myself in trouble. :nervous:
Reply With Quote
  #669  
Old 04-30-2004, 11:33 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeychgo
actually, its set to 100% ---

Here is 3 screenshots -- starting with yours ---see how even on yours the title bar on the data side isnt even with the title bar on the pic side?

as we add more pics it becomes lower and lower as demonstrated in pics 2 & 3

Joey, regardless of what width you have your tables configured at, the fact is that on a 1024x768 setting, I have to scroll to see the full page no matter what I am doing on your website, and that IMHO detracts from the look. As for the dropping headers, it seems somewhere in your viewgarage template you have placed code in the middle of a <tr> or <td> tag. What is happening on your pages is not happening on my website. Some of my members have 12 photos and all that happens is the page grows longer not wider. The top header of the garage never moves from the top. Perhaps you can test out the code by restoring to the original viewgarage template and seeing if there is a change in the look...

You have a very nice website, I just prefer to be able to see the whole page when I have my browser set to 1024x768.
Reply With Quote
  #670  
Old 04-30-2004, 11:40 AM
dcevoclub dcevoclub is offline
 
Join Date: Jul 2003
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SVTBlackLight01
I only say that because, looking at your page source this is what is on the page.

Code:
<td class="tcat"><span class="smallfont"><b>My 2003 Evolution Performance Stats</b></span></td>
</tr>
<tr>
<td class=""><span class="smallfont">



This member has not added ET data to their vB Garage.


</span>
</td>
</tr>
<!-- best mph field -->
The cell class is not defined (it wasn't showing up at all before).



Ok so this tells me that that variable is not set.... so where can i set this variable?

Also TO ANYONE, is there a way i can say X user group can view/edit garage but Y group can only view garage?
Reply With Quote
  #671  
Old 04-30-2004, 11:52 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That functionality is already built into the hack. For the group that you wish to have "view only" simply go to your usergroup manager and select said group. Scroll down to "can use vb garage yes/no" and select no. Now they will still be able to see the garages but will have no means to edit or create one.

Here's the area of my add-on that you could play with:

Code:
<if condition="!$user['userid']">
<else />
<if condition="$user[field55] !='00.00'">
<font color="black"><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>
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 06:56 AM.


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.10336 seconds
  • Memory Usage 2,330KB
  • 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
  • (3)bbcode_code
  • (6)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