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)

trinigamers 06-21-2006 12:59 AM

can someone modify this for COMPUTER SPECS?

lec 06-21-2006 01:38 PM

When you go to 'Who's online' it says:

Unknown Location
/forum/vbgarage.php?do=editgarage&id=165

or

Unknown Location
/forum/vbgarage.php?do=view&id=165

Any idea how to fix this?

jwashburn 06-23-2006 03:02 PM

Sorry for such a simple question, but I have been reading through the various threads and getting myself confused. Is there a muli car option for this garage mod or only if you are on the older 3.0 forum?

Xoxideforums 06-23-2006 07:26 PM

Quote:

Originally Posted by cyberbeggar
You say in Step 4:



I do not have that in my Navbar

Here is what is in my Navbar ...

PHP Code:

<script type="text/javascript">
<!--
function 
log_out()
{
 
ht document.getElementsByTagName("html");
 
ht[0].style.filter "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
 if (
confirm('$vbphrase[sure_you_want_to_log_out]'))
 {
  return 
true;
 }
 else
 {
  
ht[0].style.filter "";
  return 
false;
 }
}
//-->
</script>
<!-- 
who is in flashchat -->
<!-- <if 
condition="$show['wic']">
<
tbody>
 <
tr>
  <
td class="smallfont" width="20%">
   
   
Members Currently In Chat $totalchatters Come join us now!
  </
td>
 </
tr>
</
tbody>
 
</if> -->
<!-- 
end who is in flashchat -->
<
br />
 
<!-- 
breadcrumbloginpm info -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
 <
td class="alt1" width="100%">
  <if 
condition="is_array($navbits)">
   <
table cellpadding="0" cellspacing="0" border="0">
   <
tr valign="bottom">
    <
td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]border="0" /></a></td>
    <
td>&nbsp;</td>
    <
td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]accesskey="1">$vboptions[bbtitle]</a></span$navbits[breadcrumb]</td>
   </
tr>
   <
tr>
    <
td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]border="0" /></a> <h1 class="showthreadh1">$navbits[lastelement]</h1></td>
   </
tr>
   </
table>   
  <else />
   <
div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="Domain Names Forum" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
  </if>
<
center><script type="text/javascript"><!--
google_ad_client "pub-1xxxxxxxxxx";
google_ad_width 728;
google_ad_height 15;
google_ad_format "728x15_0ads_al_s";
google_ad_channel ="";
google_color_border "FFFFFF";
google_color_bg "FFFFFF";
google_color_link "32527A";
google_color_text "000000";
google_color_url "008000";
//--></script>
<script type="text/javascript"
  
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</
script></center> <br />
<if 
condition="THIS_SCRIPT=='poll'">
<
div class="navbar" style="margin-bottom:5pt;margin-top:5px;font-size:8pt">The poll results for <b>$threadinfo[title]</b>. <br /></div>
 
<else />
 
<if 
condition="$thread[title]">
<
br/><div class="navbar" style="font-size:8pt"><b>$thread[title]</b> <if condition="$pagenumber>1">Page $pagenumber</if>. <br/>Discuss <i>$thread[title]</i>, on BeautUtes.com Australia's Best Ute Website!<br/>
You are currently in the forum: $foruminfo[title].<br/>&nbsp;</div>
 
<else />
<if condition="$foruminfo[title]">
 <br/><div class="navbar" style="font-size:8pt">
$foruminfo[title] <if condition="$pagenumber>1">Page $pagenumber </if> on BeautUtes.com Australia'
s Best Ute Website$foruminfo[description]<br/>&nbsp;
 
 </
div>
</if>
</if>
</if>
 </
td
 
 <if 
condition="$bbuserinfo['userid']">
 
  <
td class="alt2" valign="top" nowrap="nowrap">
  <
div class="smallfont">
   <
strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<if 
condition="$bbuserinfo['pmunread']">
    <
a href="http://www.beaututes.com/board/private.php?"><img border="0" src="http://www.beaututes.com/images/newpm.gif" width="22" height="10"></a>
    </if>
   <
phrase 1="$pmbox[lastvisitdate]2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
   <if 
condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]2="$vbphrase[total_x_nav_compiled]3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<!-- [
START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID] -->
            <if 
condition="$show['pager']"><br /><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?action=pager&do=log&folder=inbox','pagerinbox','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=650,height=500'); return false;">$vbphrase[pager_pager_messages]</a><phrase 1="$bbuserinfo[pagerunread]2="$bbuserinfo[pagertotal]">$vbphrase[pager_messages_nav_x_y]</phrase></if>
<!-- [
END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID] -->
  </
div>
  </
td>
  
 <else />
  
  <
td class="alt2" nowrap="nowrap" style="padding:0px">
   
  <!-- 
login form -->
  <
form action="login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
  <
script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
  <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
  <
tr>
   <
td class="smallfont">$vbphrase[username]</td>
   <
td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
   <
td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
  </
tr>
  <
tr>
   <
td class="smallfont">$vbphrase[password]</td>
   <
td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" size="10" accesskey="p" tabindex="102" /></td>
   <
td><input type="submit" class="button" value="$vbphrase[log_in]tabindex="104" title="$vbphrase[enter_username_to_login_or_register]accesskey="s" /><if condition="$show['registerbutton']"><span class="smallfont"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></span></if></td>
  </
tr>
  </
table>
  <
input type="hidden" name="s" value="$session[sessionhash]/>
  <
input type="hidden" name="do" value="login" />  
  <
input type="hidden" name="vb_login_md5password" />
  <
input type="hidden" name="vb_login_md5password_utf" />
  </
form>
  <!-- / 
login form -->
   
  </
td>
  
 </if> 
 
</
tr>
</
table>
<!-- / 
breadcrumbloginpm info -->
 
 
 
<
br />
<if 
condition="$show['forumdesc']">
 <
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
 <
tr>
  <
td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
 </
tr>
 </
table>
 <
br />
</if>
 
<if 
condition="$show['popups']">
<!-- 
NAVBAR POPUP MENUS -->
 
 <if 
condition="$show['searchbuttons']">
 <!-- 
header quick search form -->
 <
div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
  <
table cellpadding="4" cellspacing="1" border="0">
  <
tr>
   <
td class="thead">$vbphrase[search_forums]</td>
  </
tr>
  <
tr>
   <
td class="vbmenu_option" title="nohilite">
   <
form action="search.php" method="post">
    <
input type="hidden" name="do" value="process" />
    <
input type="hidden" name="showposts" value="0" />
    <
input type="hidden" name="quicksearch" value="1" />
    <
input type="hidden" name="s" value="$session[sessionhash]/>
    <
input type="text" class="bginput" name="query" size="20" />$gobutton<br />
   </
form>
   </
td>
  </
tr>
  <
tr>
   <
td class="vbmenu_option"><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
  </
tr>
  </
table>
 </
div>
 <!-- / 
header quick search form -->
 </if>
 
 <if 
condition="$show['member']">
 <!-- 
user cp tools menu -->
 <
div class="vbmenu_popup" id="usercptools_menu" style="display:none">
  <
table cellpadding="4" cellspacing="1" border="0">
  
  <
tr><td class="thead">$vbphrase[quick_links]</td></tr>  
  <if 
condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
  <
tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
  <
tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<!-- [
START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID] -->
        <
tr><td class="vbmenu_option"><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?$session[sessionurl]do=buddylist','pagerbuddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;">$vbphrase[pager_open_vbpager]</a></td></tr>
<!-- [
END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID] -->    
  <
tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
  <if 
condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
  <!--<if 
condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
  <
tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
  <
tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
  
  <
tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
  <if 
condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]">$vbphrase[private_messages]</a></td></tr></if>
  <
tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]">$vbphrase[subscribed_threads]</a></td></tr>
  <
tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
  <if 
condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
  
  </
table>
 </
div>
 <!-- / 
user cp tools menu -->
 </if>
<!-- / 
NAVBAR POPUP MENUS -->
 
<!-- 
PAGENAV POPUP -->
 
 <
div class="vbmenu_popup" id="pagenav_menu" style="display:none">
  <
table cellpadding="4" cellspacing="1" border="0">
  <
tr>
   <
td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
  </
tr>
  <
tr>
   <
td class="vbmenu_option" title="nohilite">
   <
form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
    <
input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
    <
input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]/>
   </
form>
   </
td>
  </
tr>
  </
table>
 </
div>
 
<!-- / 
PAGENAV POPUP -->
</if>
$welcomeheaders 

Where would I put
PHP Code:

<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

Thanks

DONT even worry about latest additions. That part of the module i couldn't even get working right on mine.

burntire 06-24-2006 12:40 AM

Just installed with no problems.
What is the max file size most are using?

kurtbarker 06-24-2006 03:13 PM

is this compatible with 3.6?

It was said that most hacks should be, but due to some hook changes, we should check with the author first...

Tru2Chevy 06-24-2006 04:00 PM

Quote:

Originally Posted by trinigamers
can someone modify this for COMPUTER SPECS?

It's been posted many times that all of the phrasing in this hack is able to be changed.....

- Justin

burntire 06-25-2006 03:56 AM

Quote:

Originally Posted by Sir William
I like the mod, but I don't like putting images in the database. Has anybody rebuilt or thought about rebuilding to allow filesystem storage of the images? :D

I will second this request. It would be nice to keep the images away from the DB. Anyone using anything like this?

Also is there any way to hack this hack to allow it to write to separate DB.

I want to keep photos out of the forum DB.

Xedos 06-28-2006 09:51 PM

Quote:

Originally Posted by burntire
I will second this request. It would be nice to keep the images away from the DB. Anyone using anything like this?

Also is there any way to hack this hack to allow it to write to separate DB.

I want to keep photos out of the forum DB.

Make that three... I haven't upgraded because I don't keep my images in the database.

Tulsa 06-28-2006 10:21 PM

As long as we're keeping score... Make it four.

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?

jadkar 07-05-2006 02:04 AM

Quote:

Originally Posted by bouncer18
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=



This makes no sense to me. Can you please explain where this code needs to be changed?

AzianStang 07-05-2006 01:58 PM

Quote:

Originally Posted by jadkar
This makes no sense to me. Can you please explain where this code needs to be changed?

+1... how can we remove the do=$_REQUEST[do] in the page 2 URL?

jp30 07-05-2006 11:51 PM

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



On line 335, in the section where it shows

PHP Code:

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

Remove the following

PHP Code:

do=$_REQUEST[do] 

...so that it shows

PHP Code:

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


tbradham 07-06-2006 01:17 PM

Thank you!!! That gives me a page two.

But now it renumbers on every page. Is that as designed?

Notice on mine I have 25 garages per page, so it shows members 1 - 25, on page two I only have 15 garages, but is shows them as members 1 - 15?

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

page 2 http://www.usjeeps.com/upload/vbgara...e=2&perpage=25

oberheimhaven 07-06-2006 09:02 PM

thanks for the great hack mate!!!
MarkAnthony ;-)
Musiciansquarters.com

Tyegurl 07-07-2006 01:12 AM

i would like you to know that i modified my phrases and changed the names and blah blah blah....i did leave the footer alone except to change vbgarage to my own and added phrases modified by my site....so authors are still in place

if this is a problem please let me know and i will revert back to the original phrase in the footer!

thanks for the great gallery ;)

calgdsm 07-07-2006 01:37 AM

4. + Open your styles NAVBAR template.

- Find the following:

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

- Below add this:

<td class="vbmenu_control"><a href="vbgarage.php?$session[sessionurl]do=list">$vbphrase[vbgarage]</a></td>

- Save Template.

In my styles i only have a navbar not NAVBAR template when i open the navbar template and search the "find the following" its not found?? what am i doing wrong?? Everything else worked fine untill this.

Thanks for the HACK Great Job!!

calgdsm 07-07-2006 01:39 AM

Its sort of working but i cant find the NAVBAR template

R34GTT 07-08-2006 01:08 PM

Has been working fine for ages. But its just be reported that it shows a second page, yet it opens a blank one. Is this a know fault or something ive done?

Thanks

tbradham 07-08-2006 06:53 PM

Quote:

Originally Posted by jp30
On line 335, in the section where it shows

PHP Code:

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

Remove the following

PHP Code:

do=$_REQUEST[do] 

...so that it shows

PHP Code:

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


Solves the page two issue

R34GTT 07-09-2006 07:00 AM

Many thanks!

calgdsm 07-10-2006 07:12 PM

Quote:

Originally Posted by calgdsm
4. + Open your styles NAVBAR template.

- Find the following:

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

- Below add this:

<td class="vbmenu_control"><a href="vbgarage.php?$session[sessionurl]do=list">$vbphrase[vbgarage]</a></td>

- Save Template.

In my styles i only have a navbar not NAVBAR template when i open the navbar template and search the "find the following" its not found?? what am i doing wrong?? Everything else worked fine untill this.

Thanks for the HACK Great Job!!


Still cant find that template. Please help.

Tyegurl 07-10-2006 07:46 PM

its in the styles and templates button in the admincp....go to edit templates and then scroll through the templates until you find navigation/breadcrumb click and you should you see navbar

btw NAVBAR=navbar

calgdsm 07-12-2006 01:22 AM

Ya i think i was having like a week long brain cramp!! I just figured that out. Thank you anyway!! Still the line i was supposed to search for is still not there. I just placed the code after calendar code. check it out www.calgarydsm.com

crashys 07-14-2006 08:35 PM

Hi!I'm having some problems with this, if anyone could help it would be much appreciated...
I'v installed everything okay, I can access it, insert images, and delete, but when I delete them I get a 404 Cannot Found page...it still deletes it but gives me always this message.
And the URL ends like, /Array[bburl]/vbgarage.php?do=list
If anyone knows how to fix it, please help out :cool:

forzablues 07-29-2006 10:48 PM

brill hack installed on my forum:
street-stylers-southwest.co.uk

just what we were looking for thanks

Triple8 07-30-2006 02:58 AM

followed all the install directions but nothing shows up. am i missing something??

Triple8 07-30-2006 03:03 AM

This is all i got in the install doc:
1. Install Product File: product-_vbgarage.xml

2. Move vbgarage.php to your forums root directory where your index.php, showthread.php etc.. reside.

3. + Open your styles USERCP_SHELL template.

- Find the following:

<tr>
<td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td>
</tr>

- Below add this:

<tr>
<td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="vbgarage.php?$session[sessionurl]do=editgarage">$vbphrase[vbgarage_edit]</a></td>
</tr>

- Save Template.

4. + Open your styles NAVBAR template.

- Find the following:

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

- Below add this:

<td class="vbmenu_control"><a href="vbgarage.php?$session[sessionurl]do=list">$vbphrase[vbgarage]</a></td>

- Save Template.

5. Modify and settings you want to in the Admin Control Panel.

forzablues 07-31-2006 10:13 PM

found a problem....

when you click next page for user galleries just loads a white page

Shazz 07-31-2006 10:16 PM

Quote:

Originally Posted by forzablues
found a problem....

when you click next page for user galleries just loads a white page

Errr, I don't see it? Mines fine.
________
buy vaporgenie


All times are GMT. The time now is 07:38 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.02200 seconds
  • Memory Usage 2,130KB
  • 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
  • (14)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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