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..
Funny you said that.. was the first way I tried it also. Would only make sence though. Still showing up the last person's name on the page and doesnt show anything for information
Anyways dont worry about it.. it was something I was just trying to help out with thats all. I will continue to look for it.. Maybe one day you might come across it and have it added
Funny you said that.. was the first way I tried it also. Would only make sence though. Still showing up the last person's name on the page and doesnt show anything for information
Anyways dont worry about it.. it was something I was just trying to help out with thats all. I will continue to look for it.. Maybe one day you might come across it and have it added
Just to confirm, which template are you adding this information to?
<!-- added gallery code here --><div class="smallfont"><br><br><a href="$vboptions[bburl]/photopost/showgallery.php?cat=500&ppuser=$data[userid]&thumb=1"><smallfont>View my photo gallery</smallfont></a><br><!-- end gallery code-->
That was the ticket! And what I did to make it fit in with the garage, is edit the vbgarage_viewgarage template like so:
found "PHOTOS" and replaced the table with:
Code:
<td class="tcat">My MMA Garage Photos <!-- added gallery code here --><div class="smallfont"><a href="$vboptions[bburl]/photopost/showgallery.php?cat=500&ppuser=$data[userid]&thumb=1"><smallfont>You may also click HERE to see my MMA photo gallery pix!</smallfont></a>
<!-- end gallery code--> </td>
That would require an additional template to be create and a little hacking. Hrm.. when I get home today, I see if I can make it a toggle in the AdminCP, "Use Popups?".
That would require an additional template to be create and a little hacking. Hrm.. when I get home today, I see if I can make it a toggle in the AdminCP, "Use Popups?".
Sounds good to me.
I know the basics, so I'd be able to build the template, however, calling the appropriate image may be a problem for me.
Then, you can use [high]$latestuser[username][/high] to display the username. However, if you really want to view the vehicle info, it would requiring an extra query. If you don't mind an extra query, I can paste code for that, too.
Then, you can use [high]$latestuser[username][/high] to display the username. However, if you really want to view the vehicle info, it would requiring an extra query. If you don't mind an extra query, I can paste code for that, too.
Extra Query doesnt bother me.. heck im all about killing the CPU :P if it was on forumhome or something i would have to think twice
So sure another query would be fine.
BTW.. your addition worked fine. However now I am confused as ever. Im thinking I need to go open a php book or something. Just makes no sence to me why you have to basically do two things to make one output code.
But hey thats why i only do minor custom changes to fit my website now.. or I can get myself in real big trouble