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 3.5 (https://vborg.vbsupport.ru/showthread.php?t=109924)

AzianStang 06-30-2006 08:56 PM

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.

Shazz 06-30-2006 09:21 PM

Car sites...
________
buy vaporizers

tbradham 07-02-2006 03:20 PM

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?

AzianStang 07-03-2006 02:18 AM

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?

GrCh_Jeff 07-03-2006 11:15 PM

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.

bouncer18 07-03-2006 11:43 PM

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=


AzianStang 07-04-2006 02:26 AM

So just edit the vbgarage.php to look like the above?

AzianStang 07-04-2006 04:23 PM

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') . '");');



GrCh_Jeff 07-04-2006 06:53 PM

Nice looking garage.

trinigamers 07-04-2006 09:38 PM

can somone modify this for pc specs?


All times are GMT. The time now is 10:12 PM.

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.01645 seconds
  • Memory Usage 1,778KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete