gibgib,
Yeah what you want is the vbgarage that everyone keeps requesting.. Not sure if anyone is developing it or not.. Theres a thread in the request forum about it.
PranK,
So the fields that are still in your database are 80-95 and fields 50-65 no longer exist correct? If so, in member.php, includes/functions_user.php, and profile.php you'll need to make sure the field ID#s match the field IDs that you have in your database.
In those files, find all instances of this (there will be several):
Code:
(50,51,52,53,54,55,56,58,59,60,61,62,63,64,65)
And replace it with this:
Code:
(80,81,82,83,84,85,86,88,89,90,91,92,93,94,95)
Or if I'm misunderstanding you and you're saying that you still have fields 50-65, then you'll need to do just the opposite. Also, make sure you have the correct field #s in timeslips.php.
PKRWUD,
For some reason your timeslipsbit template isn't being displayed. Make sure the template name is spelled correctly (its timeslip
sbit not timeslipbit).. If thats not it send me a copy of your timeslips.php file and I'll take a look.
gearshifter47,
This will make it show everyone who has entered something into the ride field when sorting by username:
In timeslips.php find:
Code:
else if ($_REQUEST['do'] == 'username')
{
$cond.=" WHERE userfield.field55>'".intval($number)."'";
$condition.=" AND userfield.field55>'".intval($number)."'";
$orderby="user.username";
$direction=ASC;
$bracket11="<b>[</b>";
$bracket12="<b>]</b>";
}
Replace it with:
Code:
else if ($_REQUEST['do'] == 'username')
{
$cond.=" WHERE userfield.field50!=''";
$condition.=" AND userfield.field50!=''";
$orderby="user.username";
$direction=ASC;
$bracket11="<b>[</b>";
$bracket12="<b>]</b>";
}
To make it show all N/A cars (when sorting by N/A) regardless if 1/4 mile ET has been entered find:
Code:
else if ($_REQUEST['do'] == 'na')
{
$condition.=" AND userfield.field65='$natasp' AND userfield.field55>'".intval($number)."'";
$cond.=" WHERE userfield.field55!=''";
$orderby="userfield.field55";
$direction=ASC;
$bracket13="<b>[</b>";
$bracket14="<b>]</b>";
Replace it with:
Code:
else if ($_REQUEST['do'] == 'na')
{
$condition.=" AND userfield.field65='$natasp' AND userfield.field50!=''";
$cond.=" WHERE userfield.field50!=''";
$orderby="userfield.field55";
$direction=ASC;
$bracket13="<b>[</b>";
$bracket14="<b>]</b>";