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)

kderentz 10-01-2006 12:33 AM

Hey I just installed this as a upgrade and am wondering two things.

1) On my previous install I had it list the garages in Alphabetical order of user names yet I cant remember the hack to do this. Can any one point me in the right direction?

2) Where do I go to edit out certain user groups from being able to use the garage? I though it was under the usergroups / edit permissions/ but I dont see it anywhere.

GlitterKill 10-17-2006 08:16 PM

Are phrases/sections able to renamed so that this could be used for a PC garage? :)

kderentz 10-17-2006 08:17 PM

any idea of when a upgrade with permissions will be released ????

Shazz 10-17-2006 08:28 PM

Quote:

Originally Posted by kderentz
any idea of when a upgrade with permissions will be released ????

Trigun was last on at

Last Online:
Mar 2006

Basically Mmm not really :(

LeftCoastBias 10-18-2006 03:17 AM

Quote:

Originally Posted by AzianStang
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') . '");');



anyone figure out how to make page 2 start at #26, instead of starting over at #1 again?

interceptor 10-19-2006 09:02 AM

Problem..
I run that hack on 3.5.4
Then i upgrade on 3.6.0 and run ok
thaen 3.6.1 also ok
and now on 3.6.2 i get that errors

Database error in vBulletin 3.6.2:

Invalid SQL:
SELECT id FROM vb_gars_module_set_details WHERE cacheon=3;

MySQL Error : Table 'citroen_vb.vb_gars_module_set_details' doesn't exist Error Number : 1146
Date : Thursday, October 19th 2006 @ 03:06:14 AM
Script : http://www.citroenbilten.com/forum/c...p?&rand=479011
Referrer : http://www.citroenbilten.com/forum/
IP Address : 193.77.253.186
Username : Neregistriran
Classname : vb_database

help for now is that only one eroe on my bord how repair that..

Tru2Chevy 10-30-2006 06:05 PM

Installed and working on 3.6.2 :)

- Justin

interceptor 11-01-2006 08:22 AM

yes i reinstal garage and repair that problems with secod page ..
and seems to work not , but i see in next few days if error stop come..

beansbaxter 11-02-2006 03:02 AM

Is this working with 3.6.2? Is there any bugs or problems with this after installed??

Tru2Chevy 11-02-2006 05:02 PM

Quote:

Originally Posted by beansbaxter
Is this working with 3.6.2? Is there any bugs or problems with this after installed??

Have you read any posts in this thread at all?

Yes, it works fine on 3.6.2, and yes there are some issues, but there are fixes.

- Justin


All times are GMT. The time now is 11:03 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.01679 seconds
  • Memory Usage 1,774KB
  • 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
  • (1)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