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

I have some suggetions I wish to add- (sorry had WAY to much Starbucks tonight!)

It would be REALLY cool to have a link in the member's profile to his individual Garage page as a conditional statement- If the member has created one, then when someone views his/her profile, there is a link to that member's garage. I suppose one can add a custom user profile field for "MY VB GARAGE" and require the member to paste the link into it, but it should not be too hard to make that an automatic process...

With regard to PHOTOPOST, I edited the titlebar that says "PHOTOS" to say "(also check my Photopost gallery for more pix of my cars!)"

This is the postbit code that generates a automatic link to a member's gallery:

Code:
<!-- gallery code  --><a href="http://www.yourwebsite.com/vbulletin/photopost/showgallery.php?cat=500&ppuser=$userinfo[userid]&thumb=1">View my photo gallery</a>
<!-- end gallery code-->
If your Photopost is not integrated with your VB3 database, then you must edit the path to properly reflect what directory your PHOTOPOST files are located in.
Reply With Quote
  #143  
Old 04-11-2004, 06:26 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heheh!! Ok, all you really have to do with VB3 is place a link in your own signature to your VBGARAGE and then when someone views your profile, it shows up in the area that displays your signature.
Reply With Quote
  #144  
Old 04-11-2004, 07:02 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And here is another nice addition for those who have installed this- place this code in your POSTBIT or POSTBIT_LEGACY template and it will automatically create a link to that member's garage. This can also be added to the user profile template.

If anyone wants to edit it to make it conditional (will only display if they have a garage page) please do so!

Code:
<!-- added garage code here --><a href="http://www.yourwebsite.com/vbulletin/vbgarage.php?do=view&id=$userinfo[userid]"><smallfont>View my VbGarage</smallfont></a>
<!-- end garage code-->
Reply With Quote
  #145  
Old 04-11-2004, 09:00 AM
Envy-UK Envy-UK is offline
 
Join Date: Mar 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a couple of suggestions for future releases (as if you've not had enough already):

Firstly, I'd love for it to be able to post these images in threads with the [img] tags, as, at the moment, that's not possible.

Secondly, it would be nice to have some sort of either drop down or pop-up thumbnails that have been uploaded by a specific user available to them when posting in the forum, a click on one of these thumbnails would lead to the inserting of the [img] code into the editor.

Also, I use the following if statement in the MEMBERINFO template:

Code:
<if condition="$post['rank']"><td><strong><a href="/vbgarage.php?do=view&id=$post[userid]"><IMG SRC="http://www.envy-uk.co.uk/vb3bluesaint/buttons/garage_big.gif" BORDER="0"></a></td>
<else /><td><strong>This feature is only available to platinum members. <br><br>Further information regarding this membership can be found by clicking <a href="http://www.envy-uk.co.uk/subscriptions.php?">here.</a></strong></td></if>
See attached image for outcome. Obviously, they are the results in both cases.

I also use the following code in the user ranks, of those with permissions to upload, which acts as the if statement:

Code:
<a href="/vbgarage.php?do=view&id=$post[userid]">View Garage</a>
Reply With Quote
  #146  
Old 04-11-2004, 11:47 AM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Envy-UK
Just a couple of suggestions for future releases (as if you've not had enough already):

Firstly, I'd love for it to be able to post these images in threads with the [img] tags, as, at the moment, that's not possible.

Secondly, it would be nice to have some sort of either drop down or pop-up thumbnails that have been uploaded by a specific user available to them when posting in the forum, a click on one of these thumbnails would lead to the inserting of the [img] code into the editor.

Also, I use the following if statement in the MEMBERINFO template:

Code:
<if condition="$post['rank']"><td><strong><a href="/vbgarage.php?do=view&id=$post[userid]"><IMG SRC="http://www.envy-uk.co.uk/vb3bluesaint/buttons/garage_big.gif" BORDER="0"></a></td>
<else /><td><strong>This feature is only available to platinum members. <br><br>Further information regarding this membership can be found by clicking <a href="http://www.envy-uk.co.uk/subscriptions.php?">here.</a></strong></td></if>
See attached image for outcome. Obviously, they are the results in both cases.

I also use the following code in the user ranks, of those with permissions to upload, which acts as the if statement:

Code:
<a href="/vbgarage.php?do=view&id=$post[userid]">View Garage</a>
u mean i did
Reply With Quote
  #147  
Old 04-11-2004, 12:01 PM
Envy-UK Envy-UK is offline
 
Join Date: Mar 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by corsacrazy
u mean i did
Yes, I just changed the code to fit this hack.

Thank you, though.
Reply With Quote
  #148  
Old 04-11-2004, 12:41 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 Envy-UK
Firstly, I'd love for it to be able to post these images in threads with the [img] tags, as, at the moment, that's not possible.
Actually, you can get around this.. create a new BBCODE, [car] (you can of course name this whatever you like), and have it use the HTML:
HTML Code:
<a href="$vboptions[bburl]/vbgarage.php?do=getimage&amp;id={param}"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&amp;width=100&amp;id={param}" border=0 /></a>
This will allow the user to insert: [car]{picture id}[/car] in a thread, which will be replaced with a thumbnail of that id as well as a link to the original size.

Quote:
Originally Posted by Envy-UK
Secondly, it would be nice to have some sort of either drop down or pop-up thumbnails that have been uploaded by a specific user available to them when posting in the forum, a click on one of these thumbnails would lead to the inserting of the [img] code into the editor.
Hrm.. this could get messy in the long run. I'll see if there's an efficient way to implement that.
Reply With Quote
  #149  
Old 04-11-2004, 12:43 PM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I stayed up to the weeeee hours last night tweaking this and my members love it. We now have it so that there are automatic links to the member's Garage in the user profile and the postbit area.

It looks like with very little changes, this could be changed to something like "Member's Personal Pages" that would fit in with any website theme.

Once again, Great Job Magnus!!
Reply With Quote
  #150  
Old 04-11-2004, 12:44 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like I said before, I would like to see a way to display a few random pics on other pages, and maybe the newest pics posted on the garage page itself...

Otherwise, im loving this.
Reply With Quote
  #151  
Old 04-11-2004, 12:55 PM
Envy-UK Envy-UK is offline
 
Join Date: Mar 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
Actually, you can get around this.. create a new BBCODE, [car] (you can of course name this whatever you like), and have it use the HTML:
HTML Code:
<a href="$vboptions[bburl]/vbgarage.php?do=getimage&amp;id={param}"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&amp;width=100&amp;id={param}" border=0 /></a>
Thanks, all I need now is for my host to update to GD 2.0, something which they ensure me will be done by the end of the week.
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 01:59 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.05458 seconds
  • Memory Usage 2,335KB
  • 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
  • (6)bbcode_code
  • (2)bbcode_html
  • (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_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