Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VbGarage 3.5 Details »»
VbGarage 3.5
Version: 1.4, by Trigunflame Trigunflame is offline
Developer Last Online: Nov 2019 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-08-2006 Last Update: 03-09-2006 Installs: 370
DB Changes Template Edits
Additional Files  
No support by the author.

VbGarage 3.5
Let Your Members Show Off Their Rides !!!


Summary:

This is a semi-direct port of the hack located at:
https://vborg.vbsupport.ru/showthread.php?t=63681

The author has given me permission to re-release this hack under his 3.1.1 codebase, and as such I have converted it Vbulletin 3.5 support which involved a good many changes.

Also I changed a couple templates, and some html fixes so it will look a little better than it used to, feel free to suggest any other bugs that need to be fixed.

One last thing, although I will "Try" to get around to fixing any bugs that come in, this is NOT my hack, and therefore I will not associate myself with supporting this hack; I merely have done a service for the people that requested the port.

Credit goes to the original authors: magnus, noppid, action-n

Again: THIS IS NOT MY CODE. AND IT IS NOT SUPPORTED.


Information:

1. Make sure you have a writable tmp directory.
2. This script only supports jpg, png, gif files.
3. I dont plan on re-writing this entire script to make it bug free, so please dont ask me to do so.

Upgrade From Vbulletin 3.x.x :

1. There is no upgrader; you just need 2 do a couple things.
2. More than likely you can leave your old vbg tables (havnt tested).
3. You _Do_ need to delete any previous settings/phrases/templates though.
4. Use phpmyadmin or w/e you use, and search your database for vbg with a wildcard it should locate anything that has that name in it; and delete them. Then follow the INSTALL.txt

Installation:

1. Download Zip File
2. Read INSTALL.txt
3. Click install if you like


Changes:

3/10/2006 8:43am - Fixed Comments; they now post to correct Garage.
3/9/2006 10:37pm - Image Types are determined manually.
1. Did some actiontemplate optimizations, so only the necessary templates are loaded on the pages needed.
2. Removed the text field limit for describing your ride.
3/9/2006 10:37pm - Image Types are determined manually.
3/9/2006 12:54pm - A change to image output.
3/9/2006 12:06pm - Attempt to fix image corruption.


To Upgrade:

Simply overwrite the vbgarage.php file.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #252  
Old 06-30-2006, 08:56 PM
AzianStang AzianStang is offline
 
Join Date: Jan 2006
Location: Arkansas
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The link to page 2 of the garage has a corrupt URL. Can anyone help?

Incorrect URL when clicking page 2: http://synergy501.net/forums/vbgarage.php?do=$_REQUEST[do]&page=2&perpage=25

Correct URL (what it should be): http://synergy501.net/forums/vbgarag...e=2&perpage=25

As a result, the gallery does not update on forum home with the latest thumbnails.
Reply With Quote
  #253  
Old 06-30-2006, 09:21 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Car sites...
________
buy vaporizers
Reply With Quote
  #254  
Old 07-02-2006, 03:20 PM
tbradham tbradham is offline
 
Join Date: Jun 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Page two of my garage is empty?

Here is page one:

http://www.usjeeps.com/upload/vbgarage.php?do=list

Here is page two:

http://www.usjeeps.com/upload/vbgarage.php?do=$_REQUEST[do]&page=2&perpage=25

Any ideas as to why it says there is a page two?
Reply With Quote
  #255  
Old 07-03-2006, 02:18 AM
AzianStang AzianStang is offline
 
Join Date: Jan 2006
Location: Arkansas
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbradham
Page two of my garage is empty?

Here is page one:

http://www.usjeeps.com/upload/vbgarage.php?do=list

Here is page two:

http://www.usjeeps.com/upload/vbgarage.php?do=$_REQUEST[do]&page=2&perpage=25

Any ideas as to why it says there is a page two?
Also having the same problem above (previous post), can anyone help?
Reply With Quote
  #256  
Old 07-03-2006, 11:15 PM
GrCh_Jeff's Avatar
GrCh_Jeff GrCh_Jeff is offline
 
Join Date: Dec 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack needs the following and I desperately need to know how to do (1) and it would be nice to know how to do (2)

Quote:
(1) How to make images show up in 2 columns instead of 1
(2) How to create a module type shell around the text info and have it at the top instead of in the middle of the page.If you have more than a couple images you have to scroll a mile to see the text.
(3) How to make the thread title make model etc. not only show up as title but in a table like vb gallery image info.
Also I don't like the way your "powered by" notice is placed.I would like to see it maybe centered above the "all times are" above the footer.
Reply With Quote
  #257  
Old 07-03-2006, 11:43 PM
bouncer18 bouncer18 is offline
 
Join Date: Mar 2002
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AzianStang
Also having the same problem above (previous post), can anyone help?

PHP Code:
http://www.usjeeps.com/upload/vbgarage.php?do=$_REQUEST[do]&page=2&perpage=25 

it is either on the .xml or the vbgarage.php... gonna have to search for it cause i dont remember where i edited it at.....?

anyways just make it look like..
PHP Code:
vbgarage.php?&perpage=25&page=
Reply With Quote
  #258  
Old 07-04-2006, 02:26 AM
AzianStang AzianStang is offline
 
Join Date: Jan 2006
Location: Arkansas
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So just edit the vbgarage.php to look like the above?
Reply With Quote
  #259  
Old 07-04-2006, 04:23 PM
AzianStang AzianStang is offline
 
Join Date: Jan 2006
Location: Arkansas
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is what the list section of my vbgarage.php looks like:

PHP Code:
if ($_REQUEST['do'] == 'list')
{
    
$vbulletin->input->clean_array_gpc('r', array(
        
'pagenumber'     => TYPE_INT,
        
'perpage'     => TYPE_INT
    
));

    
$pagenumber = &$vbulletin->GPC['pagenumber'];
    
$perpage = &$vbulletin->GPC['perpage'];
    
$perpage intval($perpage);
    if (
$perpage == or $perpage 200) { $perpage 25; }
    if (
intval($pagenumber) == 0) { $pagenumber 1; }
    
$limitlower = ($pagenumber 1) * $perpage 1;
    
$limitupper = ($pagenumber) * $perpage;
    
$counter 0;
    
$garagecount $vbulletin->db->query_first("SELECT COUNT(*) AS garages FROM " TABLE_PREFIX "vbgarage_users");
    
$numberpages $garagecount['garages'] / $perpage;
    
$numberpages ceil($numberpages);    
    if (!isset(
$pagenumber) or ($pagenumber 1) or ($pagenumber $numberpages))
    
$pagenumber 1;
    
$pos = ($pagenumber 1) * $perpage;
    
$result_list $vbulletin->db->query_read("SELECT * FROM " TABLE_PREFIX "vbgarage_users ORDER BY userid ASC LIMIT $pos,$perpage");
    
$counter 0;
    
$count 0;

    while (
$list $vbulletin->db->fetch_Array($result_list) AND $counter++ < $perpage)
    {
        
$count++;
        
$list['year'] = unhtmlspecialchars($list['year']);
        
$list['make'] = unhtmlspecialchars($list['make']);
        
$list['model'] = unhtmlspecialchars($list['model']);
        
$list['text'] = unhtmlspecialchars($list['text']);
        
$list['lastactivity'] = vbdate($vbulletin->options['dateformat'],$list['lastactivity'],true);
        
$user fetch_userinfo($list[userid]);
        eval(
'$listbits .= "' fetch_template('vbgarage_listbits') . '";');
    }
    
    
$result_latest $vbulletin->db->query_read("SELECT * FROM " TABLE_PREFIX "vbgarage_images ORDER BY vbgarageid DESC LIMIT 5");
    while (
$latest $vbulletin->db->fetch_Array($result_latest))
    {
        eval(
'$latestbits .= "' fetch_template('vbgarage_latestbits') . '";');
    }

    
$pagenav construct_page_nav(
        
$pagenumber$perpage$garagecount[garages], 
        
'vbgarage.php?' $vbulletin->session->vars['sessionurl'] . 'do=$_REQUEST[do]'''
        
. (!empty($vbulletin->GPC['perpage']) ? "&amp;perpage=$perpage"")
    );

    
$navbits construct_navbits(array('' => 'vBGarage'));
    eval(
'$navbar = "' fetch_template('navbar') . '";');
    eval(
'print_output("' fetch_template('vbgarage_listgarage') . '");');

Reply With Quote
  #260  
Old 07-04-2006, 06:53 PM
GrCh_Jeff's Avatar
GrCh_Jeff GrCh_Jeff is offline
 
Join Date: Dec 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice looking garage.
Reply With Quote
  #261  
Old 07-04-2006, 09:38 PM
trinigamers trinigamers is offline
 
Join Date: Mar 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can somone modify this for pc specs?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13002 seconds
  • Memory Usage 2,353KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete