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..
One of the great things about this hack is its versatility. Presently, I am thinking of using this as a hack where photos may be secondary to the actual entry. Some users may have them, some not...like icing on the cake if they do.
So, if you develop a vb...garage...gallery would you consider making that a hack of its own? To preserve the versatility of this hack as it now stands? Or am I misunderstanding your notion entirely?
The whole goal of this hack is to be versatile. No worries there.
edit:
i think a few things got reset.
i added vb garage to the user group php file
but i get a sql error;
mysql error: Unknown column 'canvbgarage' in 'field list'
mysql error number: 1054
should i have a fresh re-install done tomorrow?
Most likely a typo, a couple people have gotten that error and each time it turns out they made a typo. Go over each edit, and verify each character, each closing [high];[/high]. Make sure your ADDED lines rather than REPLACED them where applicable.
What's not working? You get an error, or the link doesn't show up? If it's a matter of not seeing the link, chances are you need to enable the phrase group in the vbgarage.php file. Find out what phrase group the phrase send_private_message_to_x is in.
I just converted over to v-3 and this was the first thing I installed on it. I was using the v-2 version. Some tweaking yet to do, but I'll figure it out eventually. It made a dandy trophy room.
What's not working? You get an error, or the link doesn't show up? If it's a matter of not seeing the link, chances are you need to enable the phrase group in the vbgarage.php file. Find out what phrase group the phrase send_private_message_to_x is in.
I've changed this in vbgarage.php
// get special phrase groups
$phrasegroups = array('user','global');
to include Global phrases
The link is showing up but not adding the userID i.e
The global phrase group is included by default, there's no reason to add it to the $phrasegroups(); array. Also, what variable are you using for the userid? If you're calling this in vbgarage_viewgarage template, you'll need to use [high]$data[userid][/high]
Just letting everyone know, I have installed this on another site with vb 3.0.1 and it works great. (If this has been mentioned already, sorry!, 30-something pages here)
I have VBgarage installed and it would be nice to have 2 of them. 1 for members cars and one for my Pin-Up girls. Is this possible? Can I have 2 of them and users can both add vehicles and on a seprate page, add their pics?
You know like on the main nav bar have VBgarage then a title like pin-up girls. Then in the User CP have the same thing: edit Vbgarage edit you pics. or something like that. It would be cool if this would be possible.