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.
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..
Yeah i am going to dip into the code as soon as Magnus is done with all the additions.. but at this rate I love watching his updates and changes.. becuase I never know if its already going to cover what I am looking for.. hahaha
I do have a few ideas which I think might be good coded in!
WYSIWYG Editor - Should make posting MUCH easier for n00bs!
A small message posted after clicking "submit" to update details, informing that the page has actually been uploaded. A few of my users got confused and thought the script didn't work.
More than one vBGarage per person, which has been a frequent request from my users.
This is such a good hack you have created here! Let me know if I can help with any parts in anyway!
I am going to take a look at how GD2 works, as I use it for a gallery somewhere and the thumbs look a little different.
WYSIWYG Editor - Should make posting MUCH easier for n00bs!
Yea, I'm looking into that. I believe filburt mentioned it earlier. I'm not sure I can use the vB WYSIWYG Editor, since I'm not using the vB posting system. But, we'll see.
Quote:
Originally Posted by Ian Cunningham
A small message posted after clicking "submit" to update details, informing that the page has actually been uploaded. A few of my users got confused and thought the script didn't work.
Do you have vB redirects disabled? I'm pretty sure I put a redirect message in there.
Quote:
Originally Posted by Ian Cunningham
More than one vBGarage per person, which has been a frequent request from my users.
Yup. Already working on it. It's pretty much done, just working out the kinks.
Quote:
Originally Posted by Ian Cunningham
I am going to take a look at how GD2 works, as I use it for a gallery somewhere and the thumbs look a little different.
By all means.. if you stumble upon anything, let me know.
I do have a few ideas which I think might be good coded in!
WYSIWYG Editor - Should make posting MUCH easier for n00bs!
A small message posted after clicking "submit" to update details, informing that the page has actually been uploaded. A few of my users got confused and thought the script didn't work.
More than one vBGarage per person, which has been a frequent request from my users.
This is such a good hack you have created here! Let me know if I can help with any parts in anyway!
I am going to take a look at how GD2 works, as I use it for a gallery somewhere and the thumbs look a little different.
Ian, the "more than one garage" is easy- you can do that now with no modifications other than to perhaps change the text of the first three input fields-
You can "cheat" so to speak by simply manipulating what text you enter in those boxes- I have two cars, so what I did:
field "year" entry: "2003"
field "make" entry: "Azure Blue Mach1 and"
field "model" entry: "1994 Rio Red Cobra"
Result is my Garage title appears as so:
"2003 Mach's 2003 Azure Blue Mach1 and 1994 Rio Red Cobra"
Then I just listed the Mach1 first and uploaded the pix for it first, then listed the Cobra second and uploaded the pix second, result is a garage with two cars in it.
Sweet. I got the thumbnails working. However, they are not working in the "Latest Uploads" table. Did I miss a part?
does my imagebits look correct to you?
Make the same changes in your vbgarage_latestbits template. Replace [high]do=thumb&width=100[/high] with [high]do=getimage[/high] and add width=100 in the <IMG> tag.
Ian, the "more than one garage" is easy- you can do that now with no modifications other than to perhaps change the text of the first three input fields-
You can "cheat" so to speak by simply manipulating what text you enter in those boxes- I have two cars, so what I did:
field "year" entry: "2003"
field "make" entry: "Azure Blue Mach1 and"
field "model" entry: "1994 Rio Red Cobra"
Result is my Garage title appears as so:
"2003 Mach's 2003 Azure Blue Mach1 and 1994 Rio Red Cobra"
Then I just listed the Mach1 first and uploaded the pix for it first, then listed the Cobra second and uploaded the pix second, result is a garage with two cars in it.
See screenshot:
I think he was referring to two separate garages. Although, your idea works fine for the meantime. I will be allowing multiple garages (which is definable in AdminCP) in a future release.