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..
are my pics ment to look like this ? i have gd 2 +
Yes. Unfortunately I'm not a GD wizard, so if the image quality for thumbnails is unsatisfactory, there's not much I can at the moment. I'm still learning about GD, so if I come across anything that might help, I'll share the info.
Yes. Unfortunately I'm not a GD wizard, so if the image quality for thumbnails is unsatisfactory, there's not much I can at the moment. I'm still learning about GD, so if I come across anything that might help, I'll share the info.
I upgraded from v3 to v3.1 successfully. I don't have GD support. I get red "x" where all the thumbnails used to be. Is there a way to revert back to thumbnail resizing? Thanks
Yes. In both vbgarage_imagesbits and vbgarage_editimagesbits you will change [high]?do=thumb&width=100[/high] to [high]?do=getimage[/high]. Then, set appropriate [high]width=[/high] variables for the <IMG> tags.
case 'bugs':
$userinfo['action'] = construct_phrase($vbphrase['viewing_x'], 'Bugs'); // Don't report 'bugs' as needing to be translated please :p
break;
Add BELOW:
PHP Code:
case 'vbgarage':
$userinfo['action'] = construct_phrase($vbphrase['viewing_x'], $vbphrase[vbgarage]);
break;
FIND:
PHP Code:
case 'bugs.php':
$userinfo['activity'] = 'bugs';
break;
Add BELOW:
PHP Code:
case 'vbgarage.php':
$userinfo['activity'] = 'vbgarage';
break;
"You'll either need to enlarge the table, or reduce the thumbnail size. By default, I set thumbnails to 100x100, and that way they display in 2 columns."
"You'll either need to enlarge the table, or reduce the thumbnail size. By default, I set thumbnails to 100x100, and that way they display in 2 columns."
How do I enlarge the table?
in teh template view garage change the 40% to 50 and change the 60% to 50% aswell
"You'll either need to enlarge the table, or reduce the thumbnail size. By default, I set thumbnails to 100x100, and that way they display in 2 columns."
How do I enlarge the table?
By passing [high]width="{x}%"[/high] variables for that specific [high]<td>[/high] column. It's something you'll need to tinker with until you get it how you want it.