Kristine posted on her blog a few weeks ago that she added the date/time to the show referrers. Since I can't see another toy and not know how it's done (and have it for myself) – I figured out how to do it…
First (obviously) if you haven't already, you'll need to grab the original code from here.
Then, open up lgf-reflog.php. Where you see these lines:
if (count($rfile) == $maxref)
array_pop($rfile);
add this line just below it
$ref = date("F j, Y, g:i a")." ||| ".$ref;
Then open up show-refs.php
Change(replace) this:
$r = chop($r);
if ($r <> "Direct request") echo "<a href=\"$r\">$r</a><br />\n";
to this:
$r = chop($r);
$rpieces = explode(" ||| ", $r);
if (count($rpieces) >1) {
if ($r <> "Direct request") echo "$rpieces[0] : <a href=\"$rpieces[1]\">$rpieces[1]</a><br />\n";
} else {
if ($r <> "Direct request") echo "<a href=\"$r\">$r</a><br />\n";
}
To change how the date is displayed – you can change that first part:
date("F j, Y, g:i a"). Just go here to see the different ways dates can be displayed – what you put in between the (" and the ") after 'date' will determine how it gets displayed…