Works great!
I want to add two things, I don't know if they are discussed allready...
First thing, is that the 2nd index page doesn't work
and the 2nd is that if you go to the 2nd page (after fixing it) the id count starts with 1 again...
Here some fixes
open vbgarage.php and replace
PHP Code:
$pagenav = construct_page_nav(
$pagenumber, $perpage, $garagecount[garages],
'vbgarage.php?' . $vbulletin->session->vars['sessionurl'] . 'do=$_REQUEST[do]', ''
. (!empty($vbulletin->GPC['perpage']) ? "&perpage=$perpage" : "")
);
with
PHP Code:
$pagenav = construct_page_nav(
$pagenumber, $perpage, $garagecount[garages],
'vbgarage.php?' . $vbulletin->session->vars['sessionurl'] . 'do=list', ''
. (!empty($vbulletin->GPC['perpage']) ? "&perpage=$perpage" : "")
);
for the ID fix:
Search for
PHP Code:
$user = fetch_userinfo($list[userid]);
add below:
PHP Code:
$list['number']=$pos+$counter;
then open
vbgarage_listbits in your style manager
replace:
PHP Code:
<td class="alt2" align="center">$count</td>
with
PHP Code:
<td class="alt2" align="center">$list[number]</td>
done....