vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBGarage Latest Uploads on FORUMHOME 3.5 (https://vborg.vbsupport.ru/showthread.php?t=116879)

Qwest 05-27-2006 10:00 PM

vBGarage Latest Uploads on FORUMHOME 3.5
 
vBGarage In FORUMHOME template -AND- vBAdvanced CMPS Homepage

Full Working Demo at my Honda Prelude Forums

Summary
Simply put this addon to the popular vBgarage gallery for 3.5 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 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 and of course credit to Trigunflame 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:
Quote:

<body>
$header
$navbar
Under that ADD:
Quote:

<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

Quote:

Originally Posted by tbradham
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 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

Quote:

Originally Posted by tbradham
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/vb...ber-42479.html

Qwest 06-09-2006 04:09 PM

Where do we get that code?

Tell me now you must!!
Quote:

Originally Posted by Xoxideforums
I added Lightbox 2.0 to vbgarage

click here to check it out

http://www.thirdgen.org/techboard/vb...ber-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 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 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?

Code:

// 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

Code:

<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

Quote:

Originally Posted by noppid
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

Harley D 08-06-2006 01:18 PM

Is there a way to fix this?
Quote:

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.


All times are GMT. The time now is 04:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01134 seconds
  • Memory Usage 1,800KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete