Quote:
Originally Posted by EvilLS1
sunrunner_pei,
In admin/functions.php find:
Code:
$jointime = (time() - $post[joindate]) / 86400; // Days Joined
Above it add:
Code:
if ($post[field55]>0){
$postquarter= $post[field55];
}else{
$postquarter="";
}
if ($post[field56]>0){
$postatmph= "@";
$postmph= $post[field56];
}else{
$postatmph="";
$postmph="";
}
Then in your postbit template put this where you want the 1/4 mile ET to show up.:
Code:
$postquarter$postatmph$postmph
This way it will only show up if an ET has been entered by the user.
|
That's awesome- to add: The way that is written, it will only display the ET/MPH. If you want to add some text such as "Best ET" to display along with the stats, add:
Code:
$posttext= "Best ET";
to the line above
Then add:
Code:
$posttext$postquarter$postatmph$postmph
to your postbit in the area where you want this to display.