Quote:
Ok, i have another question. Alot of members use n2o so they have both N/A and P/A times. Is there a way I can make it where it show's both if they have it?
|
Its not possible to sort by more that one ET at a time so they would just have to choose one or the other.
Quote:
Also, when i try and sort them by N/A, and Usernames yours is the only one that shows up.
|
Thats because its sorting N/A 1/4 mile times. Everything is based on 1/4 mile times by default because thats the most popular track length when people discuss drag racing. So when you click "Show N/A cars only" the query selects all members who are N/A and orders by 1/4 mile ET. It has to order by something or else you would just have a mixed list of users not ranked in any specific order.
If you want it to sort N/A cars by 1/8 mile ET instead do this..
In timeslips.php find:
Code:
else if ($_REQUEST['do'] == 'na')
{
$condition.=" AND userfield.field65='$natasp' AND userfield.field55>0";
$cond.=" WHERE userfield.field65='$natasp' AND userfield.field55>0";
$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.field53>0";
$cond.=" WHERE userfield.field65='$natasp' AND userfield.field53>0";
$orderby="userfield.field53";
$direction=ASC;
$bracket13="<b>[</b>";
$bracket14="<b>]</b>";
}