PDA

View Full Version : vBGarage Latest Uploads on FORUMHOME 3.5


Qwest
05-27-2006, 10:00 PM
vBGarage In FORUMHOME template -AND- vBAdvanced CMPS Homepage

Full Working Demo at my Honda Prelude Forums (http://www.preludezone.com)

Summary
Simply put this addon to the popular vBgarage gallery for 3.5 (https://vborg.vbsupport.ru/showthread.php?t=109924) will take the the latest uploads (or a random set) in vbGarage and display them on your forum homepage.

About this hack
Finally!! I waited a month, searching every week for it and just said the heck with it and did it myself. I personally like to display RANDOM images instead of the latest because right now my gallery isn't busy enough so the images get old lol :)

Requirements
Obviously you MUST already have vBGarage for 3.5.x (https://vborg.vbsupport.ru/showthread.php?t=109924) installed on your board for this to work as it uses a template from that hack. This is an Addon hack. All credit for the original vbGarage code goes to magnus (https://vborg.vbsupport.ru/member.php?u=10713) and of course credit to Trigunflame (https://vborg.vbsupport.ru/member.php?u=19191) who ported it to vbulletin 3.5

Installation
Simple...
1) Install the plugin
2) Do 1 simple template edit.

NOTE: Please download the type of display you want. I have a separate file for both LATEST uploads and RANDOM images.

Template Edit

In the FORUMHOME template

FIND:
<body>
$header
$navbar

Under that ADD:
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td class="tcat" colspan="5"><b>Latest Member Galleries</b></td>
</tr>
<tr>
$latestbits
</tr>
</table>

That's it!!

Now in your AdminCP just go to Plugin System > Manage Plugins > Add/Import Product and upload the vbulletin-plugins.xml file.

Please Click Install

NOTE: I just added a text file showing how to add this to your vBadvanced Homepage. Just download that text file and follow the instructions. 1 tempalte edit and one vbadvanced file edit.

Qwest
05-28-2006, 01:02 AM
Screenshot Attached.

Please Click install as I plan to add enhancements like limit the number of photos AND switch from random to latest via the AdminCP. :bunny:

Josh Combs
05-28-2006, 01:25 AM
thanks

www.ecotecforum.com

Qwest
05-28-2006, 11:58 AM
Cool I see you have it working in your forumhome :)

http://www.ecotecforum.com/forums/index.php

You should remove it from your CMS homepage as it won't work there currently. I'll release a patch for that in a day or 2.

paulblackgsx
05-30-2006, 01:04 AM
Great plugin/mod for VBGarage! Installed! If you want to see it in action you can see it here: www.gadsm.org

tbradham
06-07-2006, 12:39 PM
How can I get this on my cmps home page? It works great on the forum home page.

noppid
06-07-2006, 02:50 PM
How can I get this on my cmps home page? It works great on the forum home page.

Use the code/query info in this mod. Copy and paste it into this vBPicGallery on CMPS (https://vborg.vbsupport.ru/showthread.php?t=101542) mod where necessary and you should/could get the desired result.

tbradham
06-07-2006, 03:09 PM
That gets me the heading on the cmps page, but no pics?

noppid
06-07-2006, 03:16 PM
That gets me the heading on the cmps page, but no pics?

IIRC, yes. All these gallery pics on forumhome hacks for galleries are basically the same piece of code. The one I linked to should help you do thumbs on CMPS for this gallery with a little editing. Feel free to reuse the code and post it as a hack for this gallery to display on CMPS if the code helps you.

EDIT: ya know, I think I misunderstood your post to be honest.

Xoxideforums
06-08-2006, 02:04 AM
Much Like
tbradham and Josh Combs

All i'm getting is the header and no thumbnails.
Any suggestions???

3.5.4

Xoxideforums
06-09-2006, 04:04 PM
I added Lightbox 2.0 to vbgarage

click here to check it out

http://www.thirdgen.org/techboard/vbgarage-member-42479.html

Qwest
06-09-2006, 04:09 PM
Where do we get that code?

Tell me now you must!!I added Lightbox 2.0 to vbgarage

click here to check it out

http://www.thirdgen.org/techboard/vbgarage-member-42479.html

Xoxideforums
06-09-2006, 05:09 PM
you just want the code for lightbox v2.0

or do you want all the code i wrote up to make this actually work

i'm thinking about releasing it as a hack.

http://www.huddletogether.com/projects/lightbox2/

Qwest
06-09-2006, 05:36 PM
Yes release it as a hack.

But if you could give me the code you used to make it work I'd appreciate it.

- Q

Xoxideforums
06-09-2006, 06:03 PM
I released a 3.5 version that includes Lightbox v2.0

check it out here

https://vborg.vbsupport.ru/showt...57#post1003357

cyberbeggar
06-12-2006, 10:50 AM
I installed it here (www.beaututes.com) but where the hell is the link to my garage? Sorry if this is a stupid question.

Qwest
06-14-2006, 09:29 PM
UPDATE

I just added the ability to put this on your vBAdvanced Homepage. All I did was edit the text file developed by noppid (https://vborg.vbsupport.ru/showthread.php?t=101542) to use my code.

Just download the latest text file and follow the instructions.

Enjoy :)

tbradham
06-15-2006, 07:56 PM
I tried that and I get:

There seems to have been a problem with the USJeeps database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience.


I revert to the previous vba_cmps_include.php and it corrects the problem.

Is there something in the code that needs to be changed specific to my site?

// begin vBPicGallery extension
$result_latest = $db->query_read("SELECT vbpicgalleryid,id FROM " . TABLE_PREFIX . "vbpicgallery_images ORDER BY u_date DESC LIMIT 5 ");

while ($latest = $db->fetch_Array($result_latest))
{
eval('$latestbits .= "' . fetch_template('vbpicgallery_latestbits') . '";');
}
$db->free_result($result_latest);
// end vBPicGallery extension

Qwest
06-15-2006, 10:21 PM
Well first of all you should be editing includes/vba_cmps_include_bottom.php not teh file you mentioned.

Second that's not even the code that I gave in the text file.

Did you use the text file attached to this thread??

myridespace
06-16-2006, 01:26 AM
thanks for this mod, it works great. one question, i want to use this in my usercp only as a mini garage for my members so they can keep track of the fav rides, or buddies, or a dream garage. anyone help me?

tbradham
06-17-2006, 11:45 AM
Sorry, I used the code from the other referenced thread. The instructions here worked great, thanks!

noppid
06-17-2006, 03:42 PM
The lightbox is cool. However, consider this... If you have 1000 photos, you just lost 1000 content pages indexed in the SERPS.

Tulsa
06-17-2006, 10:20 PM
<center><b>Latest Member Galleries</b></center>


For Firefox users, at least with a MAC, you'll want to wrap the center tags around that line of the code.

Qwest
06-20-2006, 04:41 PM
The lightbox is cool. However, consider this... If you have 1000 photos, you just lost 1000 content pages indexed in the SERPS.
Really?

I may have to reconsider the lightbox thing then.

rluna559
07-24-2006, 08:01 AM
Installed! Works great with vBGarage with Lightbox. Check it out in action here: CaliberSRT4.net Forums (http://www.calibersrt4.net)

Harley D
08-06-2006, 01:18 PM
Is there a way to fix this?
Uncached templates: vbgarage_latestbits (4)
To get it to cach, in other words.

BlueKnight
08-31-2006, 07:33 AM
This worked great on forum home but on vbadvanced I took your advice and used the welcome block and um it wiped out my entire left center right structure. Anyway to make it um not so wide? maybe just 2 photos? Also latest and random are exactly the same code in the read mes. i tried to do random in cms and latest on forum home.

blacklancer
11-17-2006, 08:57 PM
this is awesome. i can't believe i just found this!

anyone know how to make it show the cars in a vertical row instead of horizontal?? i'm trying to fit them into a column on the side of my forumhome.

Chevy Nick
11-27-2006, 11:09 PM
great mod, works perfect

smoknz28
12-14-2006, 03:21 AM
Installed on vB 3.6.4.

Thanks for sharing this code with us. :banana:

Gadget_Guy
07-04-2010, 12:17 AM
Is there a way to set permissions on this?

Our Galleries and vbGarage is only for Registered members... we don't want guests to view our pictures.

How can I implement this?

D.